summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksej Jocic <aleksej@spidermail.tk>2019-01-12 00:22:40 +0100
committerAleksej Jocic <aleksej@spidermail.tk>2019-01-12 00:22:40 +0100
commit086b7547949315ad8f36a12df4fd8fac54c14b1e (patch)
tree9f9673bd65b846bda588f82d6de3522c26d802d5
parent02f3e6b78931edb5dda92d4827ab5df9e27249ee (diff)
small fixes
Signed-off-by: Aleksej Jocic <aleksej@spidermail.tk>
-rwxr-xr-xtmap4
1 files changed, 2 insertions, 2 deletions
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()