File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-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.5.12.4 "
23
+ VERSION = "1.5.12.5 "
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 @@ -464,6 +464,12 @@ def main():
464
464
logger .critical (errMsg )
465
465
raise SystemExit
466
466
467
+ elif "AttributeError: 'module' object has no attribute 'F_GETFD'" in excMsg :
468
+ errMsg = "invalid runtime (\" %s\" ) " % excMsg .split ("Error: " )[- 1 ].strip ()
469
+ errMsg += "(Reference: 'https://stackoverflow.com/a/38841364' & 'https://bugs.python.org/issue24944#msg249231')"
470
+ logger .critical (errMsg )
471
+ raise SystemExit
472
+
467
473
elif "bad marshal data (unknown type code)" in excMsg :
468
474
match = re .search (r"\s*(.+)\s+ValueError" , excMsg )
469
475
errMsg = "one of your .pyc files are corrupted%s" % (" ('%s')" % match .group (1 ) if match else "" )
You can’t perform that action at this time.
0 commit comments