From 086b7547949315ad8f36a12df4fd8fac54c14b1e Mon Sep 17 00:00:00 2001 From: Aleksej Jocic Date: Sat, 12 Jan 2019 00:22:40 +0100 Subject: small fixes Signed-off-by: Aleksej Jocic --- tmap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmap') diff --git a/tmap b/tmap index 05b84dc..5a3562f 100755 --- a/tmap +++ b/tmap @@ -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() -- cgit v1.2.3