From ece0ae6f86ac6e3a6d5d3af948cfd1eae8921e65 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 3 May 2019 13:38:09 +0200 Subject: [PATCH] Minor update --- lib/core/settings.py | 2 +- sqlmap.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 8cfbaf40d..36305761f 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.3.5.10" +VERSION = "1.3.5.11" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/sqlmap.py b/sqlmap.py index 2ec0c53f9..0cfd8394f 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -412,8 +412,11 @@ if __name__ == "__main__": main() except KeyboardInterrupt: pass + except SystemExit: + raise except: - pass + if six.PY3: + traceback.print_exc() finally: # Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program if threading.activeCount() > 1: