File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from 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 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 2525from lib .core .common import readInput
2626from lib .core .common import removePostHintPrefix
2727from lib .core .common import resetCookieJar
28+ from lib .core .common import safeStringFormat
2829from lib .core .common import urldecode
2930from lib .core .compat import xrange
3031from 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 :
You can’t perform that action at this time.
0 commit comments