mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-29 19:29:28 +02:00
feat: add yandex browser for macOS
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ func Execute() {
|
|||||||
Name: "hack-browser-data",
|
Name: "hack-browser-data",
|
||||||
Usage: "Export passwords/cookies/history/bookmarks from browser",
|
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",
|
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{
|
Flags: []cli.Flag{
|
||||||
&cli.BoolFlag{Name: "verbose", Aliases: []string{"vv"}, Destination: &verbose, Value: false, Usage: "verbose"},
|
&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"},
|
&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/"
|
operaGXProfilePath = "/Users/*/Library/Application Support/com.operasoftware.OperaGX/"
|
||||||
vivaldiProfilePath = "/Users/*/Library/Application Support/Vivaldi/*/"
|
vivaldiProfilePath = "/Users/*/Library/Application Support/Vivaldi/*/"
|
||||||
coccocProfilePath = "/Users/*/Library/Application Support/Coccoc/*/"
|
coccocProfilePath = "/Users/*/Library/Application Support/Coccoc/*/"
|
||||||
|
yandexProfilePath = "/Users/*/Library/Application Support/Yandex/YandexBrowser/*/"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -35,6 +36,7 @@ const (
|
|||||||
operaStorageName = "Opera"
|
operaStorageName = "Opera"
|
||||||
vivaldiStorageName = "Vivaldi"
|
vivaldiStorageName = "Vivaldi"
|
||||||
coccocStorageName = "CocCoc"
|
coccocStorageName = "CocCoc"
|
||||||
|
yandexStorageName = "Yandex"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -124,6 +126,12 @@ var (
|
|||||||
Storage: coccocStorageName,
|
Storage: coccocStorageName,
|
||||||
New: NewChromium,
|
New: NewChromium,
|
||||||
},
|
},
|
||||||
|
"yandex": {
|
||||||
|
ProfilePath: yandexProfilePath,
|
||||||
|
Name: yandexName,
|
||||||
|
Storage: yandexStorageName,
|
||||||
|
New: NewChromium,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user