File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.6.12.6 "
23
+ VERSION = "1.6.12.7 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_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 @@ -498,6 +498,11 @@ def main():
498
498
logger .critical (errMsg )
499
499
raise SystemExit
500
500
501
+ elif "database disk image is malformed" in excMsg :
502
+ errMsg = "local session file seems to be malformed. Please rerun with '--flush-session'"
503
+ logger .critical (errMsg )
504
+ raise SystemExit
505
+
501
506
elif "AttributeError: 'module' object has no attribute 'F_GETFD'" in excMsg :
502
507
errMsg = "invalid runtime (\" %s\" ) " % excMsg .split ("Error: " )[- 1 ].strip ()
503
508
errMsg += "(Reference: 'https://stackoverflow.com/a/38841364' & 'https://bugs.python.org/issue24944#msg249231')"
You can’t perform that action at this time.
0 commit comments