From 0875ade878a2e42c6e64fe0b380898ed199d2df2 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Thu, 8 Nov 2018 11:29:26 +0200 Subject: [PATCH] Regex filter not yet implemented --- README.md | 4 ---- main.go | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0b0565d..7dc45a2 100644 --- a/README.md +++ b/README.md @@ -11,15 +11,11 @@ Usage of ./ffuf: HTTP method to use. (default "GET") -fc string Filter HTTP status codes from response - -fr string - Filter regex -fs string Filter HTTP response size -k Skip TLS identity verification (insecure) -mc string Match HTTP status codes from respose (default "200,204,301,302,307") - -mr string - Match regex -ms string Match HTTP response size -s Do not print additional information (silent mode) diff --git a/main.go b/main.go index ac440ba..006e855 100644 --- a/main.go +++ b/main.go @@ -50,11 +50,11 @@ func main() { 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.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.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.matcherRegex, "mr", "", "Match regex") + //flag.StringVar(&opts.matcherRegex, "mr", "", "Match regex") flag.StringVar(&conf.Method, "X", "GET", "HTTP method to use.") flag.BoolVar(&conf.Quiet, "s", false, "Do not print additional information (silent mode)") flag.IntVar(&conf.Threads, "t", 20, "Number of concurrent threads.")