This commit is contained in:
Miroslav Stampar 2020-10-05 11:35:49 +02:00
parent 15225668d0
commit 210a4c3a0a
2 changed files with 2 additions and 2 deletions

View File

@ -1529,7 +1529,7 @@ def _createHomeDirectories():
return
for context in ("output", "history"):
directory = paths["SQLMAP_%s_PATH" % context.upper()]
directory = paths["SQLMAP_%s_PATH" % getUnicode(context).upper()] # NOTE: https://github.com/sqlmapproject/sqlmap/issues/4363
try:
if not os.path.isdir(directory):
os.makedirs(directory)

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.4.9.23"
VERSION = "1.4.10.0"
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)