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

Skip to content

Commit 4d9dbdb

Browse files
committed
Fixes #4941
1 parent 309d088 commit 4d9dbdb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.1.3"
23+
VERSION = "1.6.1.4"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/target.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from lib.core.common import readInput
2626
from lib.core.common import removePostHintPrefix
2727
from lib.core.common import resetCookieJar
28+
from lib.core.common import safeStringFormat
2829
from lib.core.common import urldecode
2930
from lib.core.compat import xrange
3031
from lib.core.convert import getUnicode
@@ -622,7 +623,7 @@ def _createDumpDir():
622623
if not conf.dumpTable and not conf.dumpAll and not conf.search:
623624
return
624625

625-
conf.dumpPath = paths.SQLMAP_DUMP_PATH % conf.hostname
626+
conf.dumpPath = safeStringFormat(paths.SQLMAP_DUMP_PATH, conf.hostname)
626627

627628
if not os.path.isdir(conf.dumpPath):
628629
try:

0 commit comments

Comments
 (0)