update readme to v0.21

v0.2.1
ᴍᴏᴏɴD4ʀᴋ 4 years ago
parent 795daefc19
commit 4af1d08163
  1. 9
      README.md
  2. 10
      README_ZH.md
  3. 2
      cmd/cmd.go

@ -61,18 +61,20 @@ NAME:
hack-browser-data - Export passwords/cookies/history/bookmarks from browser hack-browser-data - Export passwords/cookies/history/bookmarks from browser
USAGE: USAGE:
[hack-browser-data -b chrome -f json -dir results -e all] [hack-browser-data -b chrome -f json -dir results -e all -cc]
Get all data(password/cookie/history/bookmark) from chrome Get all data(password/cookie/history/bookmark) from chrome
GLOBAL OPTIONS: GLOBAL OPTIONS:
--verbose, --vv Verbose (default: false) --verbose, --vv Verbose (default: false)
--compress, --cc Compress result to zip (default: false)
--browser value, -b value Available browsers: all|chrome|edge|firefox (default: "all") --browser value, -b value Available browsers: all|chrome|edge|firefox (default: "all")
--results-dir value, --dir value Export dir (default: "results") --results-dir value, --dir value Export dir (default: "results")
--format value, -f value Format, csv|json|console (default: "json") --format value, -f value Format, csv|json|console (default: "json")
--export-data value, -e value all|cookie|history|password|bookmark (default: "all") --export-data value, -e value all|password|bookmark|cookie|history (default: "all")
--help, -h show help (default: false)
PS C:\test> .\hack-browser-data.exe -b all -f json -e all --dir results PS C:\test> .\hack-browser-data.exe -b all -f json -e all --dir results -cc
[x]: Get 44 cookies, filename is results/microsoft_edge_cookie.json [x]: Get 44 cookies, filename is results/microsoft_edge_cookie.json
[x]: Get 54 history, filename is results/microsoft_edge_history.json [x]: Get 54 history, filename is results/microsoft_edge_history.json
[x]: Get 1 passwords, filename is results/microsoft_edge_password.json [x]: Get 1 passwords, filename is results/microsoft_edge_password.json
@ -93,6 +95,7 @@ PS C:\test> .\hack-browser-data.exe -b all -f json -e all --dir results
[x]: Get 4 bookmarks, filename is results/chrome_bookmark.json [x]: Get 4 bookmarks, filename is results/chrome_bookmark.json
[x]: Get 6 cookies, filename is results/chrome_cookie.json [x]: Get 6 cookies, filename is results/chrome_cookie.json
[x]: Get 6 history, filename is results/chrome_history.json [x]: Get 6 history, filename is results/chrome_history.json
[x]: Compress success, zip filename is results/archive.zip
``` ```

@ -62,19 +62,20 @@ NAME:
hack-browser-data - Export passwords/cookies/history/bookmarks from browser hack-browser-data - Export passwords/cookies/history/bookmarks from browser
USAGE: USAGE:
[hack-browser-data -b chrome -f json -dir results -e all] [hack-browser-data -b chrome -f json -dir results -e all -cc]
Get all data(password/cookie/history/bookmark) from chrome Get all data(password/cookie/history/bookmark) from chrome
GLOBAL OPTIONS: GLOBAL OPTIONS:
--verbose, --vv Verbose (default: false) --verbose, --vv Verbose (default: false)
--compress, --cc Compress result to zip (default: false)
--browser value, -b value Available browsers: all|chrome|edge|firefox (default: "all") --browser value, -b value Available browsers: all|chrome|edge|firefox (default: "all")
--results-dir value, --dir value Export dir (default: "results") --results-dir value, --dir value Export dir (default: "results")
--format value, -f value Format, csv|json|console (default: "json") --format value, -f value Format, csv|json|console (default: "json")
--export-data value, -e value all|cookie|history|password|bookmark (default: "all") --export-data value, -e value all|password|bookmark|cookie|history (default: "all")
--help, -h show help (default: false)
PS C:\test> .\hack-browser-data.exe -b all -f json -e all --dir results -cc
PS C:\test> .\hack-browser-data.exe -b all -f json -e all --dir results
[x]: Get 44 cookies, filename is results/microsoft_edge_cookie.json [x]: Get 44 cookies, filename is results/microsoft_edge_cookie.json
[x]: Get 54 history, filename is results/microsoft_edge_history.json [x]: Get 54 history, filename is results/microsoft_edge_history.json
[x]: Get 1 passwords, filename is results/microsoft_edge_password.json [x]: Get 1 passwords, filename is results/microsoft_edge_password.json
@ -95,6 +96,7 @@ PS C:\test> .\hack-browser-data.exe -b all -f json -e all --dir results
[x]: Get 4 bookmarks, filename is results/chrome_bookmark.json [x]: Get 4 bookmarks, filename is results/chrome_bookmark.json
[x]: Get 6 cookies, filename is results/chrome_cookie.json [x]: Get 6 cookies, filename is results/chrome_cookie.json
[x]: Get 6 history, filename is results/chrome_history.json [x]: Get 6 history, filename is results/chrome_history.json
[x]: Compress success, zip filename is results/archive.zip
``` ```

@ -27,7 +27,7 @@ func Execute() {
Version: "0.2.1", Version: "0.2.1",
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"}, &cli.BoolFlag{Name: "compress", Aliases: []string{"cc"}, Destination: &compress, Value: false, Usage: "Compress result to zip"},
&cli.StringFlag{Name: "browser", Aliases: []string{"b"}, Destination: &browser, Value: "all", Usage: "Available browsers: all|" + strings.Join(core.ListBrowser(), "|")}, &cli.StringFlag{Name: "browser", Aliases: []string{"b"}, Destination: &browser, Value: "all", Usage: "Available browsers: all|" + strings.Join(core.ListBrowser(), "|")},
&cli.StringFlag{Name: "results-dir", Aliases: []string{"dir"}, Destination: &exportDir, Value: "results", Usage: "Export dir"}, &cli.StringFlag{Name: "results-dir", Aliases: []string{"dir"}, Destination: &exportDir, Value: "results", Usage: "Export dir"},
&cli.StringFlag{Name: "format", Aliases: []string{"f"}, Destination: &outputFormat, Value: "json", Usage: "Format, csv|json|console"}, &cli.StringFlag{Name: "format", Aliases: []string{"f"}, Destination: &outputFormat, Value: "json", Usage: "Format, csv|json|console"},

Loading…
Cancel
Save