From 6b88fa3a30b5bafbd2440a22929c765028cae333 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 16 Jul 2019 09:40:59 +0200 Subject: [PATCH] Minor patch --- lib/core/option.py | 3 +++ lib/core/settings.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index eabac0e66..9c3076218 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1441,6 +1441,9 @@ def _createHomeDirectories(): Creates directories inside sqlmap's home directory """ + if conf.purge: + return + for context in "output", "history": directory = paths["SQLMAP_%s_PATH" % context.upper()] try: diff --git a/lib/core/settings.py b/lib/core/settings.py index 57ca91548..2de3b52f0 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.7.23" +VERSION = "1.3.7.24" 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)