From 437278e32d53988bb764fb925998038e115dc1f5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 13 Dec 2013 19:48:05 +0100 Subject: [PATCH] Fix for an Issue #580 --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 20a7a1a94..3dc015276 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1030,7 +1030,7 @@ def setPaths(): paths.SQLMAP_FILES_PATH = os.path.join(paths.SQLMAP_OUTPUT_PATH, "%s", "files") # sqlmap files - paths.SQLMAP_HISTORY = os.path.join(paths.SQLMAP_ROOT_PATH, ".sqlmap_history") + paths.SQLMAP_HISTORY = os.path.join(os.path.expanduser('~'), ".sqlmap_history") paths.SQLMAP_CONFIG = os.path.join(paths.SQLMAP_ROOT_PATH, "sqlmap-%s.conf" % randomStr()) paths.COMMON_COLUMNS = os.path.join(paths.SQLMAP_TXT_PATH, "common-columns.txt") paths.COMMON_TABLES = os.path.join(paths.SQLMAP_TXT_PATH, "common-tables.txt")