| 1 | package mainscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/ |
| 2 | |
| 3 | import ( |
| 4 | "contextscip-go gomod github.com/golang/go/src go1.18 context/" |
| 5 | "flagscip-go gomod github.com/golang/go/src go1.18 flag/" |
| 6 | "fmtscip-go gomod github.com/golang/go/src go1.18 fmt/" |
| 7 | "ioscip-go gomod github.com/golang/go/src go1.18 io/" |
| 8 | "logscip-go gomod github.com/golang/go/src go1.18 log/" |
| 9 | "osscip-go gomod github.com/golang/go/src go1.18 os/" |
| 10 | "stringsscip-go gomod github.com/golang/go/src go1.18 strings/" |
| 11 | "timescip-go gomod github.com/golang/go/src go1.18 time/" |
| 12 | |
| 13 | "github.com/ffuf/ffuf/v2/pkg/ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/" |
| 14 | "github.com/ffuf/ffuf/v2/pkg/filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/filter`/" |
| 15 | "github.com/ffuf/ffuf/v2/pkg/inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/input`/" |
| 16 | "github.com/ffuf/ffuf/v2/pkg/interactivescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/interactive`/" |
| 17 | "github.com/ffuf/ffuf/v2/pkg/outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/output`/" |
| 18 | "github.com/ffuf/ffuf/v2/pkg/runnerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/runner`/" |
| 19 | "github.com/ffuf/ffuf/v2/pkg/scraperscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/scraper`/" |
| 20 | ) |
| 21 | |
| 22 | type multiStringFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/multiStringFlag# []string |
| 23 | type wordlistFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/wordlistFlag# []string |
| 24 | |
| 25 | func (m *multiStringFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/multiStringFlag#) Stringscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/multiStringFlag#String().() string { |
| 26 | return "" |
| 27 | } |
| 28 | |
| 29 | func (m *wordlistFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/wordlistFlag#) Stringscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/wordlistFlag#String().() string { |
| 30 | return "" |
| 31 | } |
| 32 | |
| 33 | func (m *multiStringFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/multiStringFlag#) Setscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/multiStringFlag#Set().(value string) error { |
| 34 | *m = append(*m, value) |
| 35 | return nil |
| 36 | } |
| 37 | |
| 38 | func (m *wordlistFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/wordlistFlag#) Setscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/wordlistFlag#Set().(value string) error { |
| 39 | delimited := stringsscip-go gomod github.com/golang/go/src go1.18 strings/.Splitscip-go gomod github.com/golang/go/src go1.18 strings/Split().(value, ",") |
| 40 | |
| 41 | if len(delimited) > 1 { |
| 42 | *m = append(*m, delimited...) |
| 43 | } else { |
| 44 | *m = append(*m, value) |
| 45 | } |
| 46 | |
| 47 | return nil |
| 48 | } |
| 49 | |
| 50 | // ParseFlags parses the command line flags and (re)populates the ConfigOptions struct |
| 51 | func ParseFlagsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/ParseFlags().(opts *ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ConfigOptionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#) *ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ConfigOptionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions# { |
| 52 | var ignored bool |
| 53 | |
| 54 | var cookies, autocalibrationstrings, autocalibrationstrategies, headers, inputcommands multiStringFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/multiStringFlag# |
| 55 | var wordlists, encoders wordlistFlagscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/wordlistFlag# |
| 56 | |
| 57 | cookies = opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Cookiesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Cookies. |
| 58 | autocalibrationstrings = opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationStringsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationStrings. |
| 59 | headers = opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Headersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Headers. |
| 60 | inputcommands = opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Inputcommandsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Inputcommands. |
| 61 | wordlists = opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Wordlistsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Wordlists. |
| 62 | encoders = opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Encodersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Encoders. |
| 63 | |
| 64 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&ignored, "compressed", true, "Dummy flag for copy as curl functionality (ignored)") |
| 65 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&ignored, "i", true, "Dummy flag for copy as curl functionality (ignored)") |
| 66 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&ignored, "k", false, "Dummy flag for backwards compatibility") |
| 67 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputSkipEmptyFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputSkipEmptyFile., "or", opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputSkipEmptyFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputSkipEmptyFile., "Don't create the output file if we don't have results") |
| 68 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibration., "ac", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibration., "Automatically calibrate filtering options") |
| 69 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationPerHostscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationPerHost., "ach", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibration., "Per host autocalibration") |
| 70 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Colorsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Colors., "c", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Colorsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Colors., "Colorize output.") |
| 71 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Jsonscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Json., "json", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Jsonscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Json., "JSON output, printing newline-delimited JSON records") |
| 72 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Noninteractivescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Noninteractive., "noninteractive", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Noninteractivescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Noninteractive., "Disable the interactive console functionality") |
| 73 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Quietscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Quiet., "s", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Quietscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Quiet., "Do not print additional information (silent mode)") |
| 74 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..ShowVersionscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#ShowVersion., "V", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..ShowVersionscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#ShowVersion., "Show version information.") |
| 75 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..StopOn403scip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#StopOn403., "sf", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..StopOn403scip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#StopOn403., "Stop when > 95% of responses return 403 Forbidden") |
| 76 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..StopOnAllscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#StopOnAll., "sa", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..StopOnAllscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#StopOnAll., "Stop on all error cases. Implies -sf and -se.") |
| 77 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..StopOnErrorsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#StopOnErrors., "se", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..StopOnErrorsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#StopOnErrors., "Stop on spurious errors") |
| 78 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Verbosescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Verbose., "v", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Verbosescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Verbose., "Verbose output, printing full URL and redirect location (if any) with the results.") |
| 79 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..FollowRedirectsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#FollowRedirects., "r", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..FollowRedirectsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#FollowRedirects., "Follow redirects") |
| 80 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..IgnoreBodyscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#IgnoreBody., "ignore-body", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..IgnoreBodyscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#IgnoreBody., "Do not fetch the response content.") |
| 81 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Rawscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Raw., "raw", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Rawscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Raw., "Do not encode URI") |
| 82 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Recursionscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Recursion., "recursion", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Recursionscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Recursion., "Scan recursively. Only FUZZ keyword is supported, and URL (-u) has to end in it.") |
| 83 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Http2scip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Http2., "http2", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Http2scip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Http2., "Use HTTP2 protocol") |
| 84 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..DirSearchCompatscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#DirSearchCompat., "D", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..DirSearchCompatscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#DirSearchCompat., "DirSearch wordlist compatibility mode. Used in conjunction with -e flag.") |
| 85 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.BoolVarscip-go gomod github.com/golang/go/src go1.18 flag/BoolVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..IgnoreWordlistCommentsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#IgnoreWordlistComments., "ic", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..IgnoreWordlistCommentsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#IgnoreWordlistComments., "Ignore wordlist comments") |
| 86 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.IntVarscip-go gomod github.com/golang/go/src go1.18 flag/IntVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..MaxTimescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#MaxTime., "maxtime", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..MaxTimescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#MaxTime., "Maximum running time in seconds for entire process.") |
| 87 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.IntVarscip-go gomod github.com/golang/go/src go1.18 flag/IntVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..MaxTimeJobscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#MaxTimeJob., "maxtime-job", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..MaxTimeJobscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#MaxTimeJob., "Maximum running time in seconds per job.") |
| 88 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.IntVarscip-go gomod github.com/golang/go/src go1.18 flag/IntVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Ratescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Rate., "rate", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Ratescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Rate., "Rate of requests per second") |
| 89 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.IntVarscip-go gomod github.com/golang/go/src go1.18 flag/IntVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Threadsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Threads., "t", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Threadsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Threads., "Number of concurrent threads.") |
| 90 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.IntVarscip-go gomod github.com/golang/go/src go1.18 flag/IntVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..RecursionDepthscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#RecursionDepth., "recursion-depth", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..RecursionDepthscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#RecursionDepth., "Maximum recursion depth.") |
| 91 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.IntVarscip-go gomod github.com/golang/go/src go1.18 flag/IntVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Timeoutscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Timeout., "timeout", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Timeoutscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Timeout., "HTTP request timeout in seconds.") |
| 92 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.IntVarscip-go gomod github.com/golang/go/src go1.18 flag/IntVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..InputNumscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#InputNum., "input-num", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..InputNumscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#InputNum., "Number of inputs to test. Used in conjunction with --input-cmd.") |
| 93 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationKeywordscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationKeyword., "ack", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationKeywordscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationKeyword., "Autocalibration keyword") |
| 94 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..ClientCertscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#ClientCert., "cc", "", "Client cert for authentication. Client key needs to be defined as well for this to work") |
| 95 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..ClientKeyscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#ClientKey., "ck", "", "Client key for authentication. Client certificate needs to be defined as well for this to work") |
| 96 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..ConfigFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#ConfigFile., "config", "", "Load configuration from a file") |
| 97 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..ScraperFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#ScraperFile., "scraperfile", "", "Custom scraper file path") |
| 98 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Scrapersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Scrapers., "scrapers", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Scrapersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Scrapers., "Active scraper groups") |
| 99 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Modescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Mode., "fmode", opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Modescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Mode., "Filter set operator. Either of: and, or") |
| 100 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Lines., "fl", opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Lines., "Filter by amount of lines in response. Comma separated list of line counts and ranges") |
| 101 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Regexp., "fr", opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Regexp., "Filter regexp") |
| 102 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Size., "fs", opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Size., "Filter HTTP response size. Comma separated list of sizes and ranges") |
| 103 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Statusscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Status., "fc", opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Statusscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Status., "Filter HTTP status codes from response. Comma separated list of codes and ranges") |
| 104 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Time., "ft", opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Time., "Filter by number of milliseconds to the first response byte, either greater or less than. EG: >100 or <100") |
| 105 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Words., "fw", opts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Words., "Filter by amount of words in response. Comma separated list of word counts and ranges") |
| 106 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Delayscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Delay., "p", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Delayscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Delay., "Seconds of `delay` between requests, or a range of random delay. For example \"0.1\" or \"0.1-2.0\"") |
| 107 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Searchhashscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Searchhash., "search", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Searchhashscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Searchhash., "Search for a FFUFHASH payload from ffuf history") |
| 108 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "d", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "POST data") |
| 109 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "data", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "POST data (alias of -d)") |
| 110 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "data-ascii", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "POST data (alias of -d)") |
| 111 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "data-binary", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Datascip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Data., "POST data (alias of -d)") |
| 112 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Methodscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Method., "X", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Methodscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Method., "HTTP method to use") |
| 113 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..ProxyURLscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#ProxyURL., "x", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..ProxyURLscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#ProxyURL., "Proxy URL (SOCKS5 or HTTP). For example: http://127.0.0.1:8080 or socks5://127.0.0.1:8080") |
| 114 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..ReplayProxyURLscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#ReplayProxyURL., "replay-proxy", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..ReplayProxyURLscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#ReplayProxyURL., "Replay matched requests using this proxy.") |
| 115 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..RecursionStrategyscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#RecursionStrategy., "recursion-strategy", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..RecursionStrategyscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#RecursionStrategy., "Recursion strategy: \"default\" for a redirect based, and \"greedy\" to recurse on all matches") |
| 116 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..URLscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#URL., "u", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..URLscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#URL., "Target URL") |
| 117 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..SNIscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#SNI., "sni", opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..SNIscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#SNI., "Target TLS SNI, does not support FUZZ keyword") |
| 118 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Extensionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Extensions., "e", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Extensionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Extensions., "Comma separated list of extensions. Extends FUZZ keyword.") |
| 119 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..InputModescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#InputMode., "mode", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..InputModescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#InputMode., "Multi-wordlist operation mode. Available modes: clusterbomb, pitchfork, sniper") |
| 120 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..InputShellscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#InputShell., "input-shell", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..InputShellscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#InputShell., "Shell to be used for running command") |
| 121 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Requestscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Request., "request", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Requestscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Request., "File containing the raw http request") |
| 122 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..RequestProtoscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#RequestProto., "request-proto", opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..RequestProtoscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#RequestProto., "Protocol to use along with raw request") |
| 123 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Modescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Mode., "mmode", opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Modescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Mode., "Matcher set operator. Either of: and, or") |
| 124 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Lines., "ml", opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Lines., "Match amount of lines in response") |
| 125 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Regexp., "mr", opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Regexp., "Match regexp") |
| 126 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Size., "ms", opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Size., "Match HTTP response size") |
| 127 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Statusscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Status., "mc", opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Statusscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Status., "Match HTTP status codes, or \"all\" for everything.") |
| 128 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Time., "mt", opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Time., "Match how many milliseconds to the first response byte, either greater or less than. EG: >100 or <100") |
| 129 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Words., "mw", opts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Words., "Match amount of words in response") |
| 130 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..AuditLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#AuditLog., "audit-log", opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..AuditLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#AuditLog., "Write audit log containing all requests, responses and config") |
| 131 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..DebugLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#DebugLog., "debug-log", opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..DebugLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#DebugLog., "Write all of the internal logging to the specified file.") |
| 132 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputDirectoryscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputDirectory., "od", opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputDirectoryscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputDirectory., "Directory path to store matched results to.") |
| 133 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputFile., "o", opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputFile., "Write output to file") |
| 134 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.StringVarscip-go gomod github.com/golang/go/src go1.18 flag/StringVar().(&opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputFormatscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputFormat., "of", opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..OutputFormatscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#OutputFormat., "Output file format. Available formats: json, ejson, html, md, csv, ecsv (or, 'all' for all formats)") |
| 135 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&autocalibrationstrings, "acc", "Custom auto-calibration string. Can be used multiple times. Implies -ac") |
| 136 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&autocalibrationstrategies, "acs", "Custom auto-calibration strategies. Can be used multiple times. Implies -ac") |
| 137 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&cookies, "b", "Cookie data `\"NAME1=VALUE1; NAME2=VALUE2\"` for copy as curl functionality.") |
| 138 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&cookies, "cookie", "Cookie data (alias of -b)") |
| 139 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&headers, "H", "Header `\"Name: Value\"`, separated by colon. Multiple -H flags are accepted.") |
| 140 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&inputcommands, "input-cmd", "Command producing the input. --input-num is required when using this input method. Overrides -w.") |
| 141 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&wordlists, "w", "Wordlist file path and (optional) keyword separated by colon. eg. '/path/to/wordlist:KEYWORD'") |
| 142 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Varscip-go gomod github.com/golang/go/src go1.18 flag/Var().(&encoders, "enc", "Encoders for keywords, eg. 'FUZZ:urlencode b64encode'") |
| 143 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Usagescip-go gomod github.com/golang/go/src go1.18 flag/Usage. = Usagescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/Usage(). |
| 144 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Parsescip-go gomod github.com/golang/go/src go1.18 flag/Parse().() |
| 145 | |
| 146 | opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationStringsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationStrings. = autocalibrationstrings |
| 147 | if len(autocalibrationstrategies) > 0 { |
| 148 | opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationStrategiesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationStrategies. = []string{} |
| 149 | for _, strategy := range autocalibrationstrategies { |
| 150 | opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationStrategiesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationStrategies. = append(opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..AutoCalibrationStrategiesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#AutoCalibrationStrategies., stringsscip-go gomod github.com/golang/go/src go1.18 strings/.Splitscip-go gomod github.com/golang/go/src go1.18 strings/Split().(strategy, ",")...) |
| 151 | } |
| 152 | } |
| 153 | opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Cookiesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Cookies. = cookies |
| 154 | opts.HTTPscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#HTTP..Headersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HTTPOptions#Headers. = headers |
| 155 | opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Inputcommandsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Inputcommands. = inputcommands |
| 156 | opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Wordlistsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Wordlists. = wordlists |
| 157 | opts.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Input..Encodersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputOptions#Encoders. = encoders |
| 158 | return opts |
| 159 | } |
| 160 | |
| 161 | func mainscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/main().() { |
| 162 | |
| 163 | var err, optserr error |
| 164 | ctx, cancel := contextscip-go gomod github.com/golang/go/src go1.18 context/.WithCancelscip-go gomod github.com/golang/go/src go1.18 context/WithCancel().(contextscip-go gomod github.com/golang/go/src go1.18 context/.Backgroundscip-go gomod github.com/golang/go/src go1.18 context/Background().()) |
| 165 | defer cancel() |
| 166 | // prepare the default config options from default config file |
| 167 | var opts *ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ConfigOptionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions# |
| 168 | opts, optserr = ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ReadDefaultConfigscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ReadDefaultConfig().() |
| 169 | |
| 170 | opts = ParseFlagsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/ParseFlags().(opts) |
| 171 | |
| 172 | // Handle searchhash functionality and exit |
| 173 | if opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Searchhashscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Searchhash. != "" { |
| 174 | coptions, pos, err := ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.SearchHashscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/SearchHash().(opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Searchhashscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Searchhash.) |
| 175 | if err != nil { |
| 176 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("[ERR] %s\n", err) |
| 177 | osscip-go gomod github.com/golang/go/src go1.18 os/.Exitscip-go gomod github.com/golang/go/src go1.18 os/Exit().(1) |
| 178 | } |
| 179 | if len(coptions) > 0 { |
| 180 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("Request candidate(s) for hash %s\n", opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Searchhashscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Searchhash.) |
| 181 | } |
| 182 | for _, copt := range coptions { |
| 183 | conf, err := ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ConfigFromOptionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigFromOptions().(&copt.ConfigOptionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptionsHistory#ConfigOptions., ctx, cancel) |
| 184 | if err != nil { |
| 185 | continue |
| 186 | } |
| 187 | ok, reason := ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.HistoryReplayablescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/HistoryReplayable().(conf) |
| 188 | if ok { |
| 189 | printSearchResultsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/printSearchResults().(conf, pos, copt.Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptionsHistory#Time., opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..Searchhashscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#Searchhash.) |
| 190 | } else { |
| 191 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("[ERR] Hash cannot be mapped back because %s\n", reason) |
| 192 | } |
| 193 | |
| 194 | } |
| 195 | if err != nil { |
| 196 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("[ERR] %s\n", err) |
| 197 | } |
| 198 | osscip-go gomod github.com/golang/go/src go1.18 os/.Exitscip-go gomod github.com/golang/go/src go1.18 os/Exit().(0) |
| 199 | } |
| 200 | |
| 201 | if opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..ShowVersionscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#ShowVersion. { |
| 202 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("ffuf version: %s\n", ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.Versionscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Version().()) |
| 203 | osscip-go gomod github.com/golang/go/src go1.18 os/.Exitscip-go gomod github.com/golang/go/src go1.18 os/Exit().(0) |
| 204 | } |
| 205 | if len(opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..DebugLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#DebugLog.) != 0 { |
| 206 | f, err := osscip-go gomod github.com/golang/go/src go1.18 os/.OpenFilescip-go gomod github.com/golang/go/src go1.18 os/OpenFile().(opts.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Output..DebugLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/OutputOptions#DebugLog., osscip-go gomod github.com/golang/go/src go1.18 os/.O_APPENDscip-go gomod github.com/golang/go/src go1.18 os/O_APPEND.|osscip-go gomod github.com/golang/go/src go1.18 os/.O_CREATEscip-go gomod github.com/golang/go/src go1.18 os/O_CREATE.|osscip-go gomod github.com/golang/go/src go1.18 os/.O_WRONLYscip-go gomod github.com/golang/go/src go1.18 os/O_WRONLY., 0644) |
| 207 | if err != nil { |
| 208 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Disabling logging, encountered error(s): %s\n", err) |
| 209 | logscip-go gomod github.com/golang/go/src go1.18 log/.SetOutputscip-go gomod github.com/golang/go/src go1.18 log/SetOutput().(ioscip-go gomod github.com/golang/go/src go1.18 io/.Discardscip-go gomod github.com/golang/go/src go1.18 io/Discard.) |
| 210 | } else { |
| 211 | logscip-go gomod github.com/golang/go/src go1.18 log/.SetOutputscip-go gomod github.com/golang/go/src go1.18 log/SetOutput().(f) |
| 212 | defer f.Closescip-go gomod github.com/golang/go/src go1.18 os/File#Close().() |
| 213 | } |
| 214 | } else { |
| 215 | logscip-go gomod github.com/golang/go/src go1.18 log/.SetOutputscip-go gomod github.com/golang/go/src go1.18 log/SetOutput().(ioscip-go gomod github.com/golang/go/src go1.18 io/.Discardscip-go gomod github.com/golang/go/src go1.18 io/Discard.) |
| 216 | } |
| 217 | if optserr != nil { |
| 218 | logscip-go gomod github.com/golang/go/src go1.18 log/.Printfscip-go gomod github.com/golang/go/src go1.18 log/Printf().("Error while opening default config file: %s", optserr) |
| 219 | } |
| 220 | |
| 221 | if opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..ConfigFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#ConfigFile. != "" { |
| 222 | opts, err = ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ReadConfigscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ReadConfig().(opts.Generalscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#General..ConfigFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/GeneralOptions#ConfigFile.) |
| 223 | if err != nil { |
| 224 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encoutered error(s): %s\n", err) |
| 225 | Usagescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/Usage().() |
| 226 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encoutered error(s): %s\n", err) |
| 227 | osscip-go gomod github.com/golang/go/src go1.18 os/.Exitscip-go gomod github.com/golang/go/src go1.18 os/Exit().(1) |
| 228 | } |
| 229 | // Reset the flag package state |
| 230 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.CommandLinescip-go gomod github.com/golang/go/src go1.18 flag/CommandLine. = flagscip-go gomod github.com/golang/go/src go1.18 flag/.NewFlagSetscip-go gomod github.com/golang/go/src go1.18 flag/NewFlagSet().(osscip-go gomod github.com/golang/go/src go1.18 os/.Argsscip-go gomod github.com/golang/go/src go1.18 os/Args.[0], flagscip-go gomod github.com/golang/go/src go1.18 flag/.ExitOnErrorscip-go gomod github.com/golang/go/src go1.18 flag/ExitOnError.) |
| 231 | // Re-parse the cli options |
| 232 | opts = ParseFlagsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/ParseFlags().(opts) |
| 233 | } |
| 234 | |
| 235 | // Set up Config struct |
| 236 | conf, err := ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ConfigFromOptionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigFromOptions().(opts, ctx, cancel) |
| 237 | if err != nil { |
| 238 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encountered error(s): %s\n", err) |
| 239 | Usagescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/Usage().() |
| 240 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encountered error(s): %s\n", err) |
| 241 | osscip-go gomod github.com/golang/go/src go1.18 os/.Exitscip-go gomod github.com/golang/go/src go1.18 os/Exit().(1) |
| 242 | } |
| 243 | |
| 244 | job, err := prepareJobscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/prepareJob().(conf) |
| 245 | |
| 246 | if job.AuditLoggerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#AuditLogger. != nil { |
| 247 | defer job.AuditLoggerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#AuditLogger..Closescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/AuditLogger#Close.() |
| 248 | } |
| 249 | if err != nil { |
| 250 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encountered error(s): %s\n", err) |
| 251 | Usagescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/Usage().() |
| 252 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encountered error(s): %s\n", err) |
| 253 | osscip-go gomod github.com/golang/go/src go1.18 os/.Exitscip-go gomod github.com/golang/go/src go1.18 os/Exit().(1) |
| 254 | } |
| 255 | if err := SetupFiltersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/SetupFilters().(opts, conf); err != nil { |
| 256 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encountered error(s): %s\n", err) |
| 257 | Usagescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/Usage().() |
| 258 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Fprintf().(osscip-go gomod github.com/golang/go/src go1.18 os/.Stderrscip-go gomod github.com/golang/go/src go1.18 os/Stderr., "Encountered error(s): %s\n", err) |
| 259 | osscip-go gomod github.com/golang/go/src go1.18 os/.Exitscip-go gomod github.com/golang/go/src go1.18 os/Exit().(1) |
| 260 | } |
| 261 | |
| 262 | if !conf.Noninteractivescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#Noninteractive. { |
| 263 | go func() { |
| 264 | err := interactivescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/interactive`/.Handlescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/interactive`/Handle().(job) |
| 265 | if err != nil { |
| 266 | logscip-go gomod github.com/golang/go/src go1.18 log/.Printfscip-go gomod github.com/golang/go/src go1.18 log/Printf().("Error while trying to initialize interactive session: %s", err) |
| 267 | } |
| 268 | }() |
| 269 | } |
| 270 | |
| 271 | // Job handles waiting for goroutines to complete itself |
| 272 | job.Startscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#Start().() |
| 273 | } |
| 274 | |
| 275 | func prepareJobscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/prepareJob().(conf *ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.Configscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#) (*ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.Jobscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#, error) { |
| 276 | var err error |
| 277 | job := ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.NewJobscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/NewJob().(conf) |
| 278 | var errs ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.Multierrorscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror# |
| 279 | job.Inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#Input., errs = inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/input`/.NewInputProviderscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/input`/NewInputProvider().(conf) |
| 280 | // TODO: implement error handling for runnerprovider and outputprovider |
| 281 | // We only have http runner right now |
| 282 | job.Runnerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#Runner. = runnerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/runner`/.NewRunnerByNamescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/runner`/NewRunnerByName().("http", conf, false) |
| 283 | if len(conf.ReplayProxyURLscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#ReplayProxyURL.) > 0 { |
| 284 | job.ReplayRunnerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#ReplayRunner. = runnerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/runner`/.NewRunnerByNamescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/runner`/NewRunnerByName().("http", conf, true) |
| 285 | } |
| 286 | // We only have stdout outputprovider right now |
| 287 | job.Outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#Output. = outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/output`/.NewOutputProviderByNamescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/output`/NewOutputProviderByName().("stdout", conf) |
| 288 | |
| 289 | // Initialize the audit logger if specified |
| 290 | if len(conf.AuditLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#AuditLog.) > 0 { |
| 291 | job.AuditLoggerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#AuditLogger., err = outputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/output`/.NewAuditLoggerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/output`/NewAuditLogger().(conf.AuditLogscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#AuditLog.) |
| 292 | if err != nil { |
| 293 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 294 | } else { |
| 295 | err = job.AuditLoggerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#AuditLogger..Writescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/AuditLogger#Write.(conf) |
| 296 | if err != nil { |
| 297 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 298 | } |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | // Initialize scraper |
| 303 | newscraper, scraper_err := scraperscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/scraper`/.FromDirscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/scraper`/FromDir().(ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.SCRAPERDIRscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/SCRAPERDIR., conf.Scrapersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#Scrapers.) |
| 304 | if scraper_err.ErrorOrNilscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#ErrorOrNil().() != nil { |
| 305 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(scraper_err.ErrorOrNilscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#ErrorOrNil().()) |
| 306 | } |
| 307 | job.Scraperscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#Scraper. = newscraper |
| 308 | if conf.ScraperFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#ScraperFile. != "" { |
| 309 | err = job.Scraperscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Job#Scraper..AppendFromFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Scraper#AppendFromFile.(conf.ScraperFilescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#ScraperFile.) |
| 310 | if err != nil { |
| 311 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 312 | } |
| 313 | } |
| 314 | return job, errs.ErrorOrNilscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#ErrorOrNil().() |
| 315 | } |
| 316 | |
| 317 | func SetupFiltersscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/SetupFilters().(parseOpts *ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.ConfigOptionsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#, conf *ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.Configscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#) error { |
| 318 | errs := ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.NewMultierrorscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/NewMultierror().() |
| 319 | conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager. = filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/filter`/.NewMatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/filter`/NewMatcherManager().() |
| 320 | // If any other matcher is set, ignore -mc default value |
| 321 | matcherSet := false |
| 322 | statusSet := false |
| 323 | warningIgnoreBody := false |
| 324 | flagscip-go gomod github.com/golang/go/src go1.18 flag/.Visitscip-go gomod github.com/golang/go/src go1.18 flag/Visit().(func(f *flagscip-go gomod github.com/golang/go/src go1.18 flag/.Flagscip-go gomod github.com/golang/go/src go1.18 flag/Flag#) { |
| 325 | if f.Namescip-go gomod github.com/golang/go/src go1.18 flag/Flag#Name. == "mc" { |
| 326 | statusSet = true |
| 327 | } |
| 328 | if f.Namescip-go gomod github.com/golang/go/src go1.18 flag/Flag#Name. == "ms" { |
| 329 | matcherSet = true |
| 330 | warningIgnoreBody = true |
| 331 | } |
| 332 | if f.Namescip-go gomod github.com/golang/go/src go1.18 flag/Flag#Name. == "ml" { |
| 333 | matcherSet = true |
| 334 | warningIgnoreBody = true |
| 335 | } |
| 336 | if f.Namescip-go gomod github.com/golang/go/src go1.18 flag/Flag#Name. == "mr" { |
| 337 | matcherSet = true |
| 338 | } |
| 339 | if f.Namescip-go gomod github.com/golang/go/src go1.18 flag/Flag#Name. == "mt" { |
| 340 | matcherSet = true |
| 341 | } |
| 342 | if f.Namescip-go gomod github.com/golang/go/src go1.18 flag/Flag#Name. == "mw" { |
| 343 | matcherSet = true |
| 344 | warningIgnoreBody = true |
| 345 | } |
| 346 | }) |
| 347 | // Only set default matchers if no |
| 348 | if statusSet || !matcherSet { |
| 349 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddMatcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddMatcher.("status", parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Statusscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Status.); err != nil { |
| 350 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | if parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Statusscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Status. != "" { |
| 355 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddFilterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddFilter.("status", parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Statusscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Status., false); err != nil { |
| 356 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 357 | } |
| 358 | } |
| 359 | if parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Size. != "" { |
| 360 | warningIgnoreBody = true |
| 361 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddFilterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddFilter.("size", parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Size., false); err != nil { |
| 362 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 363 | } |
| 364 | } |
| 365 | if parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Regexp. != "" { |
| 366 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddFilterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddFilter.("regexp", parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Regexp., false); err != nil { |
| 367 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 368 | } |
| 369 | } |
| 370 | if parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Words. != "" { |
| 371 | warningIgnoreBody = true |
| 372 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddFilterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddFilter.("word", parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Words., false); err != nil { |
| 373 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 374 | } |
| 375 | } |
| 376 | if parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Lines. != "" { |
| 377 | warningIgnoreBody = true |
| 378 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddFilterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddFilter.("line", parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Lines., false); err != nil { |
| 379 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 380 | } |
| 381 | } |
| 382 | if parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Time. != "" { |
| 383 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddFilterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddFilter.("time", parseOpts.Filterscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Filter..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/FilterOptions#Time., false); err != nil { |
| 384 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 385 | } |
| 386 | } |
| 387 | if parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Size. != "" { |
| 388 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddMatcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddMatcher.("size", parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Sizescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Size.); err != nil { |
| 389 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 390 | } |
| 391 | } |
| 392 | if parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Regexp. != "" { |
| 393 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddMatcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddMatcher.("regexp", parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Regexpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Regexp.); err != nil { |
| 394 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 395 | } |
| 396 | } |
| 397 | if parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Words. != "" { |
| 398 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddMatcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddMatcher.("word", parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Wordsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Words.); err != nil { |
| 399 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 400 | } |
| 401 | } |
| 402 | if parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Lines. != "" { |
| 403 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddMatcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddMatcher.("line", parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Linesscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Lines.); err != nil { |
| 404 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 405 | } |
| 406 | } |
| 407 | if parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Time. != "" { |
| 408 | if err := conf.MatcherManagerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#MatcherManager..AddMatcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherManager#AddMatcher.("time", parseOpts.Matcherscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/ConfigOptions#Matcher..Timescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/MatcherOptions#Time.); err != nil { |
| 409 | errs.Addscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#Add().(err) |
| 410 | } |
| 411 | } |
| 412 | if conf.IgnoreBodyscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#IgnoreBody. && warningIgnoreBody { |
| 413 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("*** Warning: possible undesired combination of -ignore-body and the response options: fl,fs,fw,ml,ms and mw.\n") |
| 414 | } |
| 415 | return errs.ErrorOrNilscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#ErrorOrNil().() |
| 416 | } |
| 417 | |
| 418 | func printSearchResultsscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2`/printSearchResults().(conf *ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.Configscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Config#, pos int, exectime timescip-go gomod github.com/golang/go/src go1.18 time/.Timescip-go gomod github.com/golang/go/src go1.18 time/Time#, hash string) { |
| 419 | inp, err := inputscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/input`/.NewInputProviderscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/input`/NewInputProvider().(conf) |
| 420 | if err.ErrorOrNilscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#ErrorOrNil().() != nil { |
| 421 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("-------------------------------------------\n") |
| 422 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.18 fmt/Println().("Encountered error that prevents reproduction of the request:") |
| 423 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.18 fmt/Println().(err.ErrorOrNilscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/Multierror#ErrorOrNil().()) |
| 424 | return |
| 425 | } |
| 426 | inp.SetPositionscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputProvider#SetPosition.(pos) |
| 427 | inputdata := inp.Valuescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/InputProvider#Value.() |
| 428 | inputdata["FFUFHASH"] = []byte(hash) |
| 429 | basereq := ffufscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/.BaseRequestscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/BaseRequest().(conf) |
| 430 | dummyrunner := runnerscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/runner`/.NewRunnerByNamescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/runner`/NewRunnerByName().("simple", conf, false) |
| 431 | ffufreq, _ := dummyrunner.Preparescip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/RunnerProvider#Prepare.(inputdata, &basereq) |
| 432 | rawreq, _ := dummyrunner.Dumpscip-go gomod github.com/ffuf/ffuf/v2 . `github.com/ffuf/ffuf/v2/pkg/ffuf`/RunnerProvider#Dump.(&ffufreq) |
| 433 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("-------------------------------------------\n") |
| 434 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("ffuf job started at: %s\n\n", exectime.Formatscip-go gomod github.com/golang/go/src go1.18 time/Time#Format().(timescip-go gomod github.com/golang/go/src go1.18 time/.RFC3339scip-go gomod github.com/golang/go/src go1.18 time/RFC3339.)) |
| 435 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printfscip-go gomod github.com/golang/go/src go1.18 fmt/Printf().("%s\n", string(rawreq)) |
| 436 | } |