mirror of
https://github.com/moonD4rk/HackBrowserData
synced 2025-02-07 22:31:34 +00:00
feat: add yandex browser for macOS
This commit is contained in:
parent
c92e067ccc
commit
0f2a541fa2
@ -26,7 +26,7 @@ func Execute() {
|
||||
Name: "hack-browser-data",
|
||||
Usage: "Export passwords/cookies/history/bookmarks from browser",
|
||||
UsageText: "[hack-browser-data -b chrome -f json -dir results -cc]\n Get all data(password/cookie/history/bookmark) from chrome",
|
||||
Version: "0.3.6",
|
||||
Version: "0.3.7",
|
||||
Flags: []cli.Flag{
|
||||
&cli.BoolFlag{Name: "verbose", Aliases: []string{"vv"}, Destination: &verbose, Value: false, Usage: "verbose"},
|
||||
&cli.BoolFlag{Name: "compress", Aliases: []string{"cc"}, Destination: &compress, Value: false, Usage: "compress result to zip"},
|
||||
|
@ -24,6 +24,7 @@ const (
|
||||
operaGXProfilePath = "/Users/*/Library/Application Support/com.operasoftware.OperaGX/"
|
||||
vivaldiProfilePath = "/Users/*/Library/Application Support/Vivaldi/*/"
|
||||
coccocProfilePath = "/Users/*/Library/Application Support/Coccoc/*/"
|
||||
yandexProfilePath = "/Users/*/Library/Application Support/Yandex/YandexBrowser/*/"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -35,6 +36,7 @@ const (
|
||||
operaStorageName = "Opera"
|
||||
vivaldiStorageName = "Vivaldi"
|
||||
coccocStorageName = "CocCoc"
|
||||
yandexStorageName = "Yandex"
|
||||
)
|
||||
|
||||
var (
|
||||
@ -124,6 +126,12 @@ var (
|
||||
Storage: coccocStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"yandex": {
|
||||
ProfilePath: yandexProfilePath,
|
||||
Name: yandexName,
|
||||
Storage: yandexStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user