File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2832,11 +2832,10 @@ def showHttpErrorCodes():
28322832 if code in httplib .responses else '?' , count ) \
28332833 for code , count in kb .httpErrorCodes .items ())
28342834 logger .warn (warnMsg )
2835- if not kb .injections :
2836- if any ((str (_ ).startswith ('4' ) or str (_ ).startswith ('5' )) and _ != httplib .INTERNAL_SERVER_ERROR and _ != kb .originalCode for _ in kb .httpErrorCodes .keys ()):
2837- msg = "too many 4xx and/or 5xx HTTP error codes "
2838- msg += "could mean that some kind of protection is involved (e.g. WAF)"
2839- logger .warn (msg )
2835+ if any ((str (_ ).startswith ('4' ) or str (_ ).startswith ('5' )) and _ != httplib .INTERNAL_SERVER_ERROR and _ != kb .originalCode for _ in kb .httpErrorCodes .keys ()):
2836+ msg = "too many 4xx and/or 5xx HTTP error codes "
2837+ msg += "could mean that some kind of protection is involved (e.g. WAF)"
2838+ logger .warn (msg )
28402839
28412840def openFile (filename , mode = 'r' , encoding = UNICODE_ENCODING , errors = "replace" ):
28422841 """
You can’t perform that action at this time.
0 commit comments