diff options
author | Aleksej Jocic <aleksej@spidermail.tk> | 2019-06-12 14:22:01 +0200 |
---|---|---|
committer | Aleksej Jocic <aleksej@spidermail.tk> | 2019-06-12 14:22:01 +0200 |
commit | 7d9af5b7f207c29492f79a51b73400958aa87c95 (patch) | |
tree | 4080e84e5842fcdf50e43ebb951422f4be0844b7 /tmap | |
parent | 6bd1ec22519551cf6f901db066e95de9f1a597d9 (diff) |
Set JOBS=1 for onion hosts
Diffstat (limited to 'tmap')
-rwxr-xr-x | tmap | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -257,7 +257,11 @@ def main(): ## Scan each host in HOSTS list r = dict() for h in HOSTS: - r = hostScan(h, PORTS, WAIT_TIME, CLEARNET, JOBS) + if h[-6:] == '.onion': + ## Onion hosts need to be scanned one port at a time,for some reason + r = hostScan(h, PORTS, WAIT_TIME, CLEARNET, 1) + else: + r = hostScan(h, PORTS, WAIT_TIME, CLEARNET, JOBS) for i in r.keys(): if len(r[i]) == 0: continue |