diff options
author | alexej996 <aleksej@spidermail.tk> | 2018-10-28 00:49:37 +0200 |
---|---|---|
committer | alexej996 <aleksej@spidermail.tk> | 2018-10-28 00:49:37 +0200 |
commit | 3f78328c9b5fdc7b4151bb887ac73e1173ad7dbb (patch) | |
tree | 41cae67d14234943aa6c1ead0d666d70f69ab7f8 | |
parent | b895581919113880f3e08d59558e84432ff98250 (diff) |
check if Tor is running
-rwxr-xr-x | tmap | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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: |