File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from thirdparty import six
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.10.7.137 "
23+ VERSION = "1.10.7.138 "
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 @@ -544,7 +544,13 @@ def getPage(**kwargs):
544544 break
545545 else :
546546 for i in xrange (max (1 , kb .webSocketRecvCount )):
547- _page .append (ws .recv ())
547+ # Note: a later response may carry fewer frames than the calibration one
548+ # (e.g. a FALSE boolean-blind reply); stop on timeout instead of letting it
549+ # bubble up as a failed request, mirroring the initial recv loop above
550+ try :
551+ _page .append (ws .recv ())
552+ except websocket .WebSocketTimeoutException :
553+ break
548554
549555 page = "\n " .join (_page )
550556 finally :
You can’t perform that action at this time.
0 commit comments