mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-12 17:22:36 +03:00
Minor patch
This commit is contained in:
parent
3c4aadf995
commit
6b88fa3a30
|
@ -1441,6 +1441,9 @@ def _createHomeDirectories():
|
||||||
Creates directories inside sqlmap's home directory
|
Creates directories inside sqlmap's home directory
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if conf.purge:
|
||||||
|
return
|
||||||
|
|
||||||
for context in "output", "history":
|
for context in "output", "history":
|
||||||
directory = paths["SQLMAP_%s_PATH" % context.upper()]
|
directory = paths["SQLMAP_%s_PATH" % context.upper()]
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty.six import unichr as _unichr
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.3.7.23"
|
VERSION = "1.3.7.24"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user