mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Minor update
This commit is contained in:
parent
17db587e2c
commit
aa95a05477
|
@ -2832,10 +2832,11 @@ def showHttpErrorCodes():
|
||||||
if code in httplib.responses else '?', count) \
|
if code in httplib.responses else '?', count) \
|
||||||
for code, count in kb.httpErrorCodes.items())
|
for code, count in kb.httpErrorCodes.items())
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
if any(str(_).startswith('4') or str(_).startswith('5') for _ in kb.httpErrorCodes.keys()):
|
if not kb.injections:
|
||||||
msg = "too many 4xx and/or 5xx HTTP error codes "
|
if any(str(_).startswith('4') or str(_).startswith('5') for _ in kb.httpErrorCodes.keys()):
|
||||||
msg += "usually means that some kind of protection is involved (e.g. WAF)"
|
msg = "too many 4xx and/or 5xx HTTP error codes "
|
||||||
logger.warn(msg)
|
msg += "could mean that some kind of protection is involved (e.g. WAF)"
|
||||||
|
logger.warn(msg)
|
||||||
|
|
||||||
def openFile(filename, mode='r', encoding=UNICODE_ENCODING, errors="replace"):
|
def openFile(filename, mode='r', encoding=UNICODE_ENCODING, errors="replace"):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user