File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 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.5.12.5 "
23+ VERSION = "1.5.12.6 "
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 @@ -430,8 +430,8 @@ def _setHashDB():
430430 if not conf .hashDBFile :
431431 conf .hashDBFile = conf .sessionFile or os .path .join (conf .outputPath , SESSION_SQLITE_FILE )
432432
433- if os . path . exists ( conf .hashDBFile ) :
434- if conf .flushSession :
433+ if conf .flushSession :
434+ if os . path . exists ( conf .hashDBFile ) :
435435 if conf .hashDB :
436436 conf .hashDB .closeAll ()
437437
You can’t perform that action at this time.
0 commit comments