diff --git a/lib/core/settings.py b/lib/core/settings.py index a11bcd0db..065eb7b2b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.5.28" +VERSION = "1.0.5.29" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/sqlmap.py b/sqlmap.py index 775f49358..66ba35706 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -278,7 +278,10 @@ def main(): if threading.activeCount() > 1: logger.debug("short delay for thread finalization") - time.sleep(0.5) + try: + time.sleep(0.5) + except KeyboardInterrupt: + pass # Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program if conf.get("threads", 0) > 1 or conf.get("dnsServer"):