Skip to content

Commit 92b0652

Browse files
committed
Fixes #4896
1 parent 90b145e commit 92b0652

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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.5.12.0"
23+
VERSION = "1.5.12.1"
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def _createFilesDir():
609609
tempDir = tempfile.mkdtemp(prefix="sqlmapfiles")
610610
warnMsg = "unable to create files directory "
611611
warnMsg += "'%s' (%s). " % (conf.filePath, getUnicode(ex))
612-
warnMsg += "Using temporary directory '%s' instead" % tempDir
612+
warnMsg += "Using temporary directory '%s' instead" % getUnicode(tempDir)
613613
logger.warn(warnMsg)
614614

615615
conf.filePath = tempDir
@@ -631,7 +631,7 @@ def _createDumpDir():
631631
tempDir = tempfile.mkdtemp(prefix="sqlmapdump")
632632
warnMsg = "unable to create dump directory "
633633
warnMsg += "'%s' (%s). " % (conf.dumpPath, getUnicode(ex))
634-
warnMsg += "Using temporary directory '%s' instead" % tempDir
634+
warnMsg += "Using temporary directory '%s' instead" % getUnicode(tempDir)
635635
logger.warn(warnMsg)
636636

637637
conf.dumpPath = tempDir

0 commit comments

Comments
 (0)