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

Skip to content

Commit 9662f4a

Browse files
committed
Minor update
1 parent fea5cc8 commit 9662f4a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.28"
22+
VERSION = "1.0.5.29"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

sqlmap.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,10 @@ def main():
278278

279279
if threading.activeCount() > 1:
280280
logger.debug("short delay for thread finalization")
281-
time.sleep(0.5)
281+
try:
282+
time.sleep(0.5)
283+
except KeyboardInterrupt:
284+
pass
282285

283286
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program
284287
if conf.get("threads", 0) > 1 or conf.get("dnsServer"):

0 commit comments

Comments
 (0)