diff options
author | Emile <hanemile@protonmail.com> | 2019-11-03 18:10:03 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-11-03 18:10:03 +0100 |
commit | 4b0b259442b29d7813052ae80ececb240ffe59c7 (patch) | |
tree | a73e4918e19522745f312b3cbfe42b4cd9522486 | |
parent | 8fb851ed2fb5e553a2e9c8d9fceda6265cf6a20c (diff) |
dryrun
-rw-r--r-- | src/httpRequest.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/httpRequest.go b/src/httpRequest.go index 163a524..4fe8b44 100644 --- a/src/httpRequest.go +++ b/src/httpRequest.go @@ -19,6 +19,11 @@ func httpRequest(channels channels, threadNr int) { fuzzWord := <-channels.wordlistChannel requestURL := strings.Replace(url, "FUZZ", fuzzWord, 1) + if dryrun == true { + log.Printf("req: %s", requestURL) + continue + } + // make the http get request resp, err := http.Get(requestURL) if err != nil { |