diff options
author | Aleksej Jocic <aleksej@spidermail.tk> | 2019-01-12 00:22:40 +0100 |
---|---|---|
committer | Aleksej Jocic <aleksej@spidermail.tk> | 2019-01-12 00:22:40 +0100 |
commit | 086b7547949315ad8f36a12df4fd8fac54c14b1e (patch) | |
tree | 9f9673bd65b846bda588f82d6de3522c26d802d5 /tmap | |
parent | 02f3e6b78931edb5dda92d4827ab5df9e27249ee (diff) |
small fixes
Signed-off-by: Aleksej Jocic <aleksej@spidermail.tk>
Diffstat (limited to 'tmap')
-rwxr-xr-x | tmap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,7 +86,7 @@ def hostScan(host, ports, wait, notor, jobs): if ips.num_addresses > 1: for ip in ips.hosts(): if ip.is_private: - ret[str(ip)] = portScan(str(ip), ports, wait, True. jobs) + ret[str(ip)] = portScan(str(ip), ports, wait, True, jobs) else: ret[str(ip)] = portScan(str(ip), ports, wait, notor, jobs) else: @@ -228,10 +228,10 @@ def main(): totalTime = round(endTime - startTime, 2) f.write("Scan done in {} seconds\n".format(totalTime)) - f.close() if OUTFILE != "empty_outfile": print("Results written to {}".format(OUTFILE)) + f.close() ## We are done here exit() |