mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
fix: renaming unused parameter
This commit is contained in:
@@ -26,7 +26,7 @@ type bookmark struct {
|
||||
DateAdded time.Time
|
||||
}
|
||||
|
||||
func (c *ChromiumBookmark) Parse(masterKey []byte) error {
|
||||
func (c *ChromiumBookmark) Parse(_ []byte) error {
|
||||
bookmarks, err := fileutil.ReadFile(item.TempChromiumBookmark)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -93,7 +93,7 @@ const (
|
||||
closeJournalMode = `PRAGMA journal_mode=off`
|
||||
)
|
||||
|
||||
func (f *FirefoxBookmark) Parse(masterKey []byte) error {
|
||||
func (f *FirefoxBookmark) Parse(_ []byte) error {
|
||||
db, err := sql.Open("sqlite3", item.TempFirefoxBookmark)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -103,7 +103,7 @@ const (
|
||||
queryFirefoxCookie = `SELECT name, value, host, path, creationTime, expiry, isSecure, isHttpOnly FROM moz_cookies`
|
||||
)
|
||||
|
||||
func (f *FirefoxCookie) Parse(masterKey []byte) error {
|
||||
func (f *FirefoxCookie) Parse(_ []byte) error {
|
||||
db, err := sql.Open("sqlite3", item.TempFirefoxCookie)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -31,7 +31,7 @@ const (
|
||||
queryChromiumDownload = `SELECT target_path, tab_url, total_bytes, start_time, end_time, mime_type FROM downloads`
|
||||
)
|
||||
|
||||
func (c *ChromiumDownload) Parse(masterKey []byte) error {
|
||||
func (c *ChromiumDownload) Parse(_ []byte) error {
|
||||
db, err := sql.Open("sqlite3", item.TempChromiumDownload)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -82,7 +82,7 @@ const (
|
||||
closeJournalMode = `PRAGMA journal_mode=off`
|
||||
)
|
||||
|
||||
func (f *FirefoxDownload) Parse(masterKey []byte) error {
|
||||
func (f *FirefoxDownload) Parse(_ []byte) error {
|
||||
db, err := sql.Open("sqlite3", item.TempFirefoxDownload)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -23,7 +23,7 @@ const (
|
||||
manifest = "manifest.json"
|
||||
)
|
||||
|
||||
func (c *ChromiumExtension) Parse(masterKey []byte) error {
|
||||
func (c *ChromiumExtension) Parse(_ []byte) error {
|
||||
files, err := fileutil.FilesInFolder(item.TempChromiumExtension, manifest)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -56,7 +56,7 @@ func (c *ChromiumExtension) Len() int {
|
||||
|
||||
type FirefoxExtension []*extension
|
||||
|
||||
func (f *FirefoxExtension) Parse(masterKey []byte) error {
|
||||
func (f *FirefoxExtension) Parse(_ []byte) error {
|
||||
s, err := fileutil.ReadFile(item.TempFirefoxExtension)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -27,7 +27,7 @@ const (
|
||||
queryChromiumHistory = `SELECT url, title, visit_count, last_visit_time FROM urls`
|
||||
)
|
||||
|
||||
func (c *ChromiumHistory) Parse(masterKey []byte) error {
|
||||
func (c *ChromiumHistory) Parse(_ []byte) error {
|
||||
db, err := sql.Open("sqlite3", item.TempChromiumHistory)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -78,7 +78,7 @@ const (
|
||||
closeJournalMode = `PRAGMA journal_mode=off`
|
||||
)
|
||||
|
||||
func (f *FirefoxHistory) Parse(masterKey []byte) error {
|
||||
func (f *FirefoxHistory) Parse(_ []byte) error {
|
||||
db, err := sql.Open("sqlite3", item.TempFirefoxHistory)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -28,7 +28,7 @@ type storage struct {
|
||||
|
||||
const maxLocalStorageValueLength = 1024 * 2
|
||||
|
||||
func (c *ChromiumLocalStorage) Parse(masterKey []byte) error {
|
||||
func (c *ChromiumLocalStorage) Parse(_ []byte) error {
|
||||
db, err := leveldb.OpenFile(item.TempChromiumLocalStorage, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -105,7 +105,7 @@ const (
|
||||
closeJournalMode = `PRAGMA journal_mode=off`
|
||||
)
|
||||
|
||||
func (f *FirefoxLocalStorage) Parse(masterKey []byte) error {
|
||||
func (f *FirefoxLocalStorage) Parse(_ []byte) error {
|
||||
db, err := sql.Open("sqlite3", item.TempFirefoxLocalStorage)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user