diff options
Diffstat (limited to 'tmap')
-rwxr-xr-x | tmap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,10 +9,10 @@ def connScan(host, port, wait, notor): ## If notor is set to True, it doesn't use the socks proxy if notor: sckt = socket(AF_INET, SOCK_STREAM) - sckt.settimeout(wait) else: sckt = socks.socksocket() - sckt.settimeout(wait) + + sckt.settimeout(wait) ## Try to connect, print to stdout on success try: sckt.connect((host, port)) |