File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.8.17 "
21+ VERSION = "1.3.8.18 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 @@ -763,16 +763,13 @@ class _(dict):
763763
764764 kb .connErrorChoice = readInput (message , default = 'N' , boolean = True )
765765
766- if kb .connErrorChoice is not None :
767- if kb .connErrorChoice :
768- raise SqlmapConnectionException (warnMsg )
769- else :
770- raise SqlmapUserQuitException
766+ if kb .connErrorChoice is False :
767+ raise SqlmapUserQuitException
771768
772769 if "forcibly closed" in tbMsg :
773770 logger .critical (warnMsg )
774771 return None , None , None
775- elif ignoreTimeout and any (_ in tbMsg for _ in ("timed out" , "IncompleteRead" )):
772+ elif ignoreTimeout and any (_ in tbMsg for _ in ("timed out" , "IncompleteRead" , "Interrupted system call" )):
776773 return None if not conf .ignoreTimeouts else "" , None , None
777774 elif threadData .retriesCount < conf .retries and not kb .threadException :
778775 warnMsg += ". sqlmap is going to retry the request"
You can’t perform that action at this time.
0 commit comments