skip ssl check by default (#17)
This commit is contained in:
parent
ddf2a4d5d5
commit
404e413d47
2
main.go
2
main.go
@ -52,7 +52,7 @@ func main() {
|
|||||||
flag.Var(&opts.headers, "H", "Header `\"Name: Value\"`, separated by colon. Multiple -H flags are accepted.")
|
flag.Var(&opts.headers, "H", "Header `\"Name: Value\"`, separated by colon. Multiple -H flags are accepted.")
|
||||||
flag.StringVar(&conf.Url, "u", "", "Target URL")
|
flag.StringVar(&conf.Url, "u", "", "Target URL")
|
||||||
flag.StringVar(&conf.Wordlist, "w", "", "Wordlist path")
|
flag.StringVar(&conf.Wordlist, "w", "", "Wordlist path")
|
||||||
flag.BoolVar(&conf.TLSSkipVerify, "k", false, "Skip TLS identity verification (insecure)")
|
flag.BoolVar(&conf.TLSSkipVerify, "k", true, "Skip TLS identity verification (insecure)")
|
||||||
flag.StringVar(&opts.delay, "p", "", "Seconds of `delay` between requests, or a range of random delay. For example \"0.1\" or \"0.1-2.0\"")
|
flag.StringVar(&opts.delay, "p", "", "Seconds of `delay` between requests, or a range of random delay. For example \"0.1\" or \"0.1-2.0\"")
|
||||||
flag.StringVar(&opts.filterStatus, "fc", "", "Filter HTTP status codes from response")
|
flag.StringVar(&opts.filterStatus, "fc", "", "Filter HTTP status codes from response")
|
||||||
flag.StringVar(&opts.filterSize, "fs", "", "Filter HTTP response size")
|
flag.StringVar(&opts.filterSize, "fs", "", "Filter HTTP response size")
|
||||||
|
|||||||
@ -47,7 +47,7 @@ func NewConfig(ctx context.Context) Config {
|
|||||||
conf.FuzzHeaders = make(map[string]string)
|
conf.FuzzHeaders = make(map[string]string)
|
||||||
conf.Method = "GET"
|
conf.Method = "GET"
|
||||||
conf.Url = ""
|
conf.Url = ""
|
||||||
conf.TLSSkipVerify = false
|
conf.TLSSkipVerify = true
|
||||||
conf.Data = ""
|
conf.Data = ""
|
||||||
conf.Quiet = false
|
conf.Quiet = false
|
||||||
conf.StopOn403 = false
|
conf.StopOn403 = false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user