Update README.md and help texts (#32)
This commit is contained in:
parent
752002d56b
commit
5264d85fc6
@ -76,6 +76,8 @@ To define the test case for ffuf, use the keyword `FUZZ` anywhere in the URL (`-
|
|||||||
-V Show version information.
|
-V Show version information.
|
||||||
-X string
|
-X string
|
||||||
HTTP method to use (default "GET")
|
HTTP method to use (default "GET")
|
||||||
|
-ac
|
||||||
|
Automatically calibrate filtering options
|
||||||
-c Colorize output.
|
-c Colorize output.
|
||||||
-d string
|
-d string
|
||||||
POST data.
|
POST data.
|
||||||
@ -111,9 +113,11 @@ To define the test case for ffuf, use the keyword `FUZZ` anywhere in the URL (`-
|
|||||||
-se
|
-se
|
||||||
Stop on spurious errors
|
Stop on spurious errors
|
||||||
-sf
|
-sf
|
||||||
Stop when > 90% of responses return 403 Forbidden
|
Stop when > 95% of responses return 403 Forbidden
|
||||||
-t int
|
-t int
|
||||||
Number of concurrent threads. (default 40)
|
Number of concurrent threads. (default 40)
|
||||||
|
-timeout int
|
||||||
|
HTTP request timeout in seconds. (default 10)
|
||||||
-u string
|
-u string
|
||||||
Target URL
|
Target URL
|
||||||
-w string
|
-w string
|
||||||
|
|||||||
4
main.go
4
main.go
@ -50,7 +50,7 @@ func main() {
|
|||||||
defer cancel()
|
defer cancel()
|
||||||
conf := ffuf.NewConfig(ctx)
|
conf := ffuf.NewConfig(ctx)
|
||||||
opts := cliOptions{}
|
opts := cliOptions{}
|
||||||
flag.StringVar(&opts.extensions, "e", "", "List of extensions to apply. Each extension provided will extend the wordlist entry once.")
|
flag.StringVar(&opts.extensions, "e", "", "Comma separated list of extensions to apply. Each extension provided will extend the wordlist entry once.")
|
||||||
flag.BoolVar(&conf.DirSearchCompat, "D", false, "DirSearch style wordlist compatibility mode. Used in conjunction with -e flag. Replaces %EXT% in wordlist entry with each of the extensions provided by -e.")
|
flag.BoolVar(&conf.DirSearchCompat, "D", false, "DirSearch style wordlist compatibility mode. Used in conjunction with -e flag. Replaces %EXT% in wordlist entry with each of the extensions provided by -e.")
|
||||||
flag.Var(&opts.headers, "H", "Header `\"Name: Value\"`, separated by colon. Multiple -H flags are accepted.")
|
flag.Var(&opts.headers, "H", "Header `\"Name: Value\"`, separated by colon. Multiple -H flags are accepted.")
|
||||||
flag.StringVar(&conf.Url, "u", "", "Target URL")
|
flag.StringVar(&conf.Url, "u", "", "Target URL")
|
||||||
@ -72,7 +72,7 @@ func main() {
|
|||||||
flag.StringVar(&conf.OutputFile, "o", "", "Write output to file")
|
flag.StringVar(&conf.OutputFile, "o", "", "Write output to file")
|
||||||
flag.StringVar(&opts.outputFormat, "of", "json", "Output file format. Available formats: json, csv, ecsv")
|
flag.StringVar(&opts.outputFormat, "of", "json", "Output file format. Available formats: json, csv, ecsv")
|
||||||
flag.BoolVar(&conf.Quiet, "s", false, "Do not print additional information (silent mode)")
|
flag.BoolVar(&conf.Quiet, "s", false, "Do not print additional information (silent mode)")
|
||||||
flag.BoolVar(&conf.StopOn403, "sf", false, "Stop when > 90% of responses return 403 Forbidden")
|
flag.BoolVar(&conf.StopOn403, "sf", false, "Stop when > 95% of responses return 403 Forbidden")
|
||||||
flag.BoolVar(&conf.StopOnErrors, "se", false, "Stop on spurious errors")
|
flag.BoolVar(&conf.StopOnErrors, "se", false, "Stop on spurious errors")
|
||||||
flag.BoolVar(&conf.StopOnAll, "sa", false, "Stop on all error cases. Implies -sf and -se")
|
flag.BoolVar(&conf.StopOnAll, "sa", false, "Stop on all error cases. Implies -sf and -se")
|
||||||
flag.BoolVar(&conf.FollowRedirects, "r", false, "Follow redirects")
|
flag.BoolVar(&conf.FollowRedirects, "r", false, "Follow redirects")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user