Skip to content

Commit 94c255f

Browse files
WillowSauceRWillowSauceR
authored andcommitted
fix timeout
1 parent 332ce48 commit 94c255f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
socks5.txt
21
__pycache__
32
.gitignore
43
test.py
5-
result.txt
6-
targetList.txt
7-
targetListNmap.txt
4+
*.txt

scan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def startThreads():
128128
tmpServerCount = serverCount
129129
if timeout:
130130
time.sleep(timeout)
131-
if tmpServerCount == serverCount:
132-
stopThread = True
131+
if tmpServerCount == serverCount:
132+
stopThread = True
133133
while threading.enumerate().__len__() != 2: # main and itself
134134
time.sleep(1)
135135

0 commit comments

Comments
 (0)