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.7.8.4 "
23+ VERSION = "1.7.8.5 "
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 @@ -637,7 +637,7 @@ def _createDumpDir():
637637 if not os .path .isdir (conf .dumpPath ):
638638 try :
639639 os .makedirs (conf .dumpPath )
640- except OSError as ex :
640+ except Exception as ex :
641641 tempDir = tempfile .mkdtemp (prefix = "sqlmapdump" )
642642 warnMsg = "unable to create dump directory "
643643 warnMsg += "'%s' (%s). " % (conf .dumpPath , getUnicode (ex ))
You can’t perform that action at this time.
0 commit comments