summaryrefslogtreecommitdiff
path: root/tmap
diff options
context:
space:
mode:
Diffstat (limited to 'tmap')
-rwxr-xr-xtmap7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmap b/tmap
index 29bb971..ca1d40b 100755
--- a/tmap
+++ b/tmap
@@ -94,6 +94,13 @@ def main():
if args.clearnet:
CLEARNET=True
+ if CLEARNET == False:
+ if connScan("127.0.0.1", args.torPort, 3, True):
+ pass
+ else:
+ print("Tor is not running on port {}.".format(args.torPort))
+ exit()
+
## Scan each host in HOSTS list
for h in HOSTS:
if len(h.split("/")) == 2: