From 4b0b259442b29d7813052ae80ececb240ffe59c7 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 3 Nov 2019 18:10:03 +0100 Subject: dryrun --- src/httpRequest.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/httpRequest.go') 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 { -- cgit 1.4.1