summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtmap4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmap b/tmap
index d670994..36eeb72 100755
--- a/tmap
+++ b/tmap
@@ -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))