Skip to content

Commit

Permalink
Look at the error messages cam
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Sto committed Jan 17, 2019
1 parent a5b9872 commit 5bf5d0a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ func main() {
flag.StringVar(&globalState.Cfg.Methods, "methods", "GET", "Methods to use for checks. Multiple methods can be specified, comma separate them. Requests will be sent with an empty body (unless body is specified)") //Test Written
flag.StringVar(&globalState.Cfg.ProxyAddr, "proxy", "", "Proxy configuration options in the form ip:port eg: 127.0.0.1:9050. Note! If you want this to work with burp/use it with a HTTP proxy, specify as http://ip:port") //todo: write test
flag.Float64Var(&globalState.Cfg.Ratio404, "ratio", 0.95, "Similarity ratio to the 404 canary page.") //todo: write test
flag.BoolVar(&globalstate.Cfg.NoRobots, "norobots", false, "Don't query and add robots.txt values to checks")
flag.BoolVar(&globalState.Cfg.FollowRedirects, "redirect", false, "Follow redirects") //todo: write test
flag.BoolVar(&globalState.Cfg.BurpMode, "sitemap", false, "Send 'good' requests to the configured proxy. Requires the proxy flag to be set. ***NOTE: with this option, the proxy is ONLY used for good requests - all other requests go out as normal!***") //todo: write test
flag.IntVar(&globalState.Cfg.Threads, "t", 1, "Number of concurrent threads") //todo: write test
flag.IntVar(&globalState.Cfg.Timeout, "timeout", 20, "Timeout (seconds) for HTTP/TCP connections") //todo: write test
flag.StringVar(&globalState.Cfg.URL, "u", "", "Url to spider") //todo: write test
flag.StringVar(&globalState.Cfg.Agent, "ua", "RecurseBuster/"+version, "User agent to use when sending requests.") //todo: write test
flag.IntVar(&globalState.Cfg.VerboseLevel, "v", 0, "Verbosity level for output messages.") //todo: write test
flag.BoolVar(&globalState.Cfg.ShowVersion, "version", false, "Show version number and exit") //todo: write test
flag.StringVar(&globalState.Cfg.Wordlist, "w", "", "Wordlist to use for bruteforce. Blank for spider only") //todo: write test
flag.StringVar(&globalState.Cfg.WhitelistLocation, "whitelist", "", "Whitelist of domains to include in brute-force") //todo: write test
flag.BoolVar(&globalState.Cfg.NoRobots, "norobots", false, "Don't query and add robots.txt values to checks")
flag.BoolVar(&globalState.Cfg.FollowRedirects, "redirect", false, "Follow redirects") //todo: write test
flag.BoolVar(&globalState.Cfg.BurpMode, "sitemap", false, "Send 'good' requests to the configured proxy. Requires the proxy flag to be set. ***NOTE: with this option, the proxy is ONLY used for good requests - all other requests go out as normal!***") //todo: write test
flag.IntVar(&globalState.Cfg.Threads, "t", 1, "Number of concurrent threads") //todo: write test
flag.IntVar(&globalState.Cfg.Timeout, "timeout", 20, "Timeout (seconds) for HTTP/TCP connections") //todo: write test
flag.StringVar(&globalState.Cfg.URL, "u", "", "Url to spider") //todo: write test
flag.StringVar(&globalState.Cfg.Agent, "ua", "RecurseBuster/"+version, "User agent to use when sending requests.") //todo: write test
flag.IntVar(&globalState.Cfg.VerboseLevel, "v", 0, "Verbosity level for output messages.") //todo: write test
flag.BoolVar(&globalState.Cfg.ShowVersion, "version", false, "Show version number and exit") //todo: write test
flag.StringVar(&globalState.Cfg.Wordlist, "w", "", "Wordlist to use for bruteforce. Blank for spider only") //todo: write test
flag.StringVar(&globalState.Cfg.WhitelistLocation, "whitelist", "", "Whitelist of domains to include in brute-force") //todo: write test

flag.Parse()

Expand Down

0 comments on commit 5bf5d0a

Please sign in to comment.