From 7b4b868b765f30c75d0b9aede23c9768d5b83a4f Mon Sep 17 00:00:00 2001 From: dominicporter Date: Sun, 15 Nov 2020 10:47:31 +0100 Subject: [PATCH] Fix incorrect variable name toggle_tor Which should be tor_toggle. This breaks the whole brute forcing logic with an Exception. --- shodanwave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shodanwave.py b/shodanwave.py index b340350..c400a98 100755 --- a/shodanwave.py +++ b/shodanwave.py @@ -168,7 +168,7 @@ def NetworkSearchosts(): headers = {'User-Agent': "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36" } - if toggle_tor == True : + if tor_toggle == True : request = requests.get(url, auth=(administrator, password), headers=headers, proxies=proxies, timeout=1) else : request = requests.get(url, auth=(administrator, password), headers=headers, timeout=0.3)