mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-10-13 03:37:12 +02:00
refactor: naming cleanup and crypto package improvements (#551)
* refactor: naming cleanup across all packages
This commit is contained in:
1 parent
4af2ded428
commit
410bffe643
49 files changed
+716
-510
No files matched your search
@@ -6,7 +6,6 @@ import (
|
||||
|
||||
"github.com/moond4rk/hackbrowserdata/types"
|
||||
"github.com/moond4rk/hackbrowserdata/utils/sqliteutil"
|
||||
"github.com/moond4rk/hackbrowserdata/utils/typeutil"
|
||||
)
|
||||
|
||||
const firefoxHistoryQuery = `SELECT url, COALESCE(last_visit_date, 0),
|
||||
@@ -25,7 +24,7 @@ func extractHistories(path string) ([]types.HistoryEntry, error) {
|
||||
URL: url,
|
||||
Title: title,
|
||||
VisitCount: visitCount,
|
||||
LastVisit: typeutil.TimeStamp(lastVisit / 1000000),
|
||||
LastVisit: timestamp(lastVisit / 1000000),
|
||||
}, nil
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user