mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-26 17:39:03 +00:00
added support for displaying HTTP error codes (particularly interesting ones are 403 and 406 which screw up data retrieval and DBMS fingerprinting badly)
This commit is contained in:
@@ -252,6 +252,10 @@ class Connect:
|
||||
|
||||
threadData.lastHTTPError = (threadData.lastRequestUID, code)
|
||||
|
||||
if code not in kb.httpErrorCodes:
|
||||
kb.httpErrorCodes[code] = 0
|
||||
kb.httpErrorCodes[code] += 1
|
||||
|
||||
try:
|
||||
page = e.read()
|
||||
responseHeaders = e.info()
|
||||
|
||||
Reference in New Issue
Block a user