diff options
author | alexej996 <aleksej@spidermail.tk> | 2018-10-01 01:28:08 +0200 |
---|---|---|
committer | alexej996 <aleksej@spidermail.tk> | 2018-10-01 01:28:08 +0200 |
commit | 2e724a7caaa90cb85c9c9eb891d84373d78ea0fa (patch) | |
tree | 5f0f35acbea87c40b170f3376ea51f03d732751a /tmap | |
parent | c49e3b37aaa875c40dfbc132fd634835cb628e74 (diff) |
socket timout - duplicate line
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)) |