about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-03 18:10:03 +0100
committerEmile <hanemile@protonmail.com>2019-11-03 18:10:03 +0100
commit4b0b259442b29d7813052ae80ececb240ffe59c7 (patch)
treea73e4918e19522745f312b3cbfe42b4cd9522486 /src
parent8fb851ed2fb5e553a2e9c8d9fceda6265cf6a20c (diff)
dryrun
Diffstat (limited to 'src')
-rw-r--r--src/httpRequest.go5
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 {