From 3021dcab3fa3789c17325ce0817d29327e6c65b6 Mon Sep 17 00:00:00 2001 From: stevan Date: Mon, 1 Oct 2018 00:19:51 +0200 Subject: commit for pull --- tmap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmap') diff --git a/tmap b/tmap index ff093d7..46e2aa3 100755 --- a/tmap +++ b/tmap @@ -16,6 +16,7 @@ def connScan(host, port, wait, notor): try: sckt.connect((host, port)) print("[+] port {} on {} is open".format(port, host)) + #sckt.shutdown(2) sckt.close() return True except: @@ -28,7 +29,7 @@ def portScan(host, ports, wait, notor): for p in ports: if connScan(host, p, wait, notor): openPorts += 1 - print("{} open ports on {}.".format(openPorts, host)) + print("{} open ports on {} .".format(openPorts, host)) def main(): startTime = time.time() -- cgit v1.2.3