Regex filter not yet implemented
This commit is contained in:
parent
ad2296f55b
commit
0875ade878
@ -11,15 +11,11 @@ Usage of ./ffuf:
|
|||||||
HTTP method to use. (default "GET")
|
HTTP method to use. (default "GET")
|
||||||
-fc string
|
-fc string
|
||||||
Filter HTTP status codes from response
|
Filter HTTP status codes from response
|
||||||
-fr string
|
|
||||||
Filter regex
|
|
||||||
-fs string
|
-fs string
|
||||||
Filter HTTP response size
|
Filter HTTP response size
|
||||||
-k Skip TLS identity verification (insecure)
|
-k Skip TLS identity verification (insecure)
|
||||||
-mc string
|
-mc string
|
||||||
Match HTTP status codes from respose (default "200,204,301,302,307")
|
Match HTTP status codes from respose (default "200,204,301,302,307")
|
||||||
-mr string
|
|
||||||
Match regex
|
|
||||||
-ms string
|
-ms string
|
||||||
Match HTTP response size
|
Match HTTP response size
|
||||||
-s Do not print additional information (silent mode)
|
-s Do not print additional information (silent mode)
|
||||||
|
|||||||
4
main.go
4
main.go
@ -50,11 +50,11 @@ func main() {
|
|||||||
flag.BoolVar(&conf.TLSSkipVerify, "k", false, "Skip TLS identity verification (insecure)")
|
flag.BoolVar(&conf.TLSSkipVerify, "k", false, "Skip TLS identity verification (insecure)")
|
||||||
flag.StringVar(&opts.filterStatus, "fc", "", "Filter HTTP status codes from response")
|
flag.StringVar(&opts.filterStatus, "fc", "", "Filter HTTP status codes from response")
|
||||||
flag.StringVar(&opts.filterSize, "fs", "", "Filter HTTP response size")
|
flag.StringVar(&opts.filterSize, "fs", "", "Filter HTTP response size")
|
||||||
flag.StringVar(&opts.filterRegex, "fr", "", "Filter regex")
|
//flag.StringVar(&opts.filterRegex, "fr", "", "Filter regex")
|
||||||
//flag.StringVar(&opts.filterReflect, "fref", "", "Filter reflected payload")
|
//flag.StringVar(&opts.filterReflect, "fref", "", "Filter reflected payload")
|
||||||
flag.StringVar(&opts.matcherStatus, "mc", "200,204,301,302,307", "Match HTTP status codes from respose")
|
flag.StringVar(&opts.matcherStatus, "mc", "200,204,301,302,307", "Match HTTP status codes from respose")
|
||||||
flag.StringVar(&opts.matcherSize, "ms", "", "Match HTTP response size")
|
flag.StringVar(&opts.matcherSize, "ms", "", "Match HTTP response size")
|
||||||
flag.StringVar(&opts.matcherRegex, "mr", "", "Match regex")
|
//flag.StringVar(&opts.matcherRegex, "mr", "", "Match regex")
|
||||||
flag.StringVar(&conf.Method, "X", "GET", "HTTP method to use.")
|
flag.StringVar(&conf.Method, "X", "GET", "HTTP method to use.")
|
||||||
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.IntVar(&conf.Threads, "t", 20, "Number of concurrent threads.")
|
flag.IntVar(&conf.Threads, "t", 20, "Number of concurrent threads.")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user