mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: add macOS Chrome parse
This commit is contained in:
+8
-1
@@ -12,7 +12,6 @@ const (
|
||||
LoginData = "Login Data"
|
||||
History = "History"
|
||||
Cookies = "Cookies"
|
||||
WebData = "Web Data"
|
||||
Bookmarks = "Bookmarks"
|
||||
)
|
||||
|
||||
@@ -46,6 +45,14 @@ func RemoveFile() {
|
||||
|
||||
}
|
||||
|
||||
func IntToBool(a int) bool {
|
||||
switch a {
|
||||
case 0, -1:
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
func TimeEpochFormat(epoch int64) time.Time {
|
||||
t := time.Date(1601, 1, 1, 0, 0, 0, 0, time.UTC)
|
||||
d := time.Duration(epoch)
|
||||
|
||||
Reference in New Issue
Block a user