Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7878c22

Browse files
committed
Minor refactoring
1 parent dec550b commit 7878c22

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.5.9.29"
23+
VERSION = "1.5.9.30"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/testing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ def vulnTest():
8787
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
8888
if s.connect_ex((address, port)):
8989
break
90+
else:
91+
time.sleep(1)
9092
finally:
9193
s.close()
92-
time.sleep(1)
9394

9495
def _thread():
9596
vulnserver.init(quiet=True)

0 commit comments

Comments
 (0)