diff options
author | Emile <hanemile@protonmail.com> | 2019-11-01 19:21:30 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-11-01 19:21:30 +0100 |
commit | 67b9787c3f4103100a626e6e8a71551482c7ad44 (patch) | |
tree | 640b39acf2659c9c2f77eeaa671877d2ecf91670 | |
parent | ab9a328c91b279522f73e56872ec6d64e47cb206 (diff) |
updated the thread handling
-rw-r--r-- | src/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go index 1ed2333..25d3f3b 100644 --- a/src/main.go +++ b/src/main.go @@ -27,7 +27,8 @@ func main() { // print the responses from the printChannel go printResponses(printChannel) - if threads > 1 { + // handle one or more theads + if threads <= 1 { httpRequest(wordlistChannel, printChannel) } else { |