diff --git a/lib/core/settings.py b/lib/core/settings.py index 27d0abc4a..11f95ff68 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.5.9.25" +VERSION = "1.5.9.26" 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 daff96616..da9cdfd26 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -515,6 +515,7 @@ def main(): if conf.get("hashDB"): conf.hashDB.flush(True) + conf.hashDB.close() # NOTE: because of PyPy if conf.get("harFile"): try: