about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-03 12:53:13 +0100
committerEmile <hanemile@protonmail.com>2019-11-03 12:53:13 +0100
commit0b55c43f7d27a46017a7fa0e4ee35487854da619 (patch)
treeb01abda8db46b3d1cff334742a90f2d9e0238162
parent37a00a26cfa7c41722e88bc58c218f95090b26d5 (diff)
function comment
-rw-r--r--src/httpRequest.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/httpRequest.go b/src/httpRequest.go
index ddec96d..3cc3b17 100644
--- a/src/httpRequest.go
+++ b/src/httpRequest.go
@@ -8,6 +8,10 @@ import (
 	"strings"
 )
 
+// httpRequest fetches a "fuzzword" from the wordlistChannel and replaces the
+// string "FUZZ" in the given URL by the fetched fuzzword. A HTTP request to the
+// created url is then issued resulting in a response that is pushed into the
+// printChannel for printing.
 func httpRequest(channels channels, threadNr int) {
 	for {
 		// replace the first instance of "FUZZ" in the given url by the next