Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 301aca5

Browse files
committed
Fixes #1319
1 parent ba86153 commit 301aca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ def setPaths():
11021102
paths.SQLMAP_XML_BANNER_PATH = os.path.join(paths.SQLMAP_XML_PATH, "banner")
11031103
paths.SQLMAP_XML_PAYLOADS_PATH = os.path.join(paths.SQLMAP_XML_PATH, "payloads")
11041104

1105-
_ = os.path.join(os.path.expanduser("~"), ".sqlmap")
1105+
_ = os.path.join(os.path.expandvars(os.path.expanduser("~")), ".sqlmap")
11061106
paths.SQLMAP_OUTPUT_PATH = getUnicode(paths.get("SQLMAP_OUTPUT_PATH", os.path.join(_, "output")), encoding=sys.getfilesystemencoding())
11071107
paths.SQLMAP_DUMP_PATH = os.path.join(paths.SQLMAP_OUTPUT_PATH, "%s", "dump")
11081108
paths.SQLMAP_FILES_PATH = os.path.join(paths.SQLMAP_OUTPUT_PATH, "%s", "files")

0 commit comments

Comments
 (0)