File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
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.7.1.10 "
23
+ VERSION = "1.7.1.11 "
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 @@ -926,10 +926,11 @@ class _(dict):
926
926
errMsg += "function '%s' ('%s')" % (function .__name__ , getSafeExString (ex ))
927
927
raise SqlmapGenericException (errMsg )
928
928
929
- if code in conf .abortCode :
930
- errMsg = "aborting due to detected HTTP code '%d'" % code
931
- singleTimeLogMessage (errMsg , logging .CRITICAL )
932
- raise SystemExit
929
+ for _ in (getattr (conn , "redcode" , None ), code ):
930
+ if _ is not None and _ in conf .abortCode :
931
+ errMsg = "aborting due to detected HTTP code '%d'" % _
932
+ singleTimeLogMessage (errMsg , logging .CRITICAL )
933
+ raise SystemExit
933
934
934
935
threadData .lastPage = page
935
936
threadData .lastCode = code
You can’t perform that action at this time.
0 commit comments