mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor improvement
This commit is contained in:
@@ -2173,6 +2173,14 @@ def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
|
||||
singleTimeLogMessage(infoMsg)
|
||||
kb.adjustTimeDelay = False
|
||||
|
||||
def getLastRequestHTTPError():
|
||||
"""
|
||||
Returns last HTTP error code
|
||||
"""
|
||||
|
||||
threadData = getCurrentThreadData()
|
||||
return threadData.lastHTTPError[1] if threadData.lastHTTPError else None
|
||||
|
||||
def extractErrorMessage(page):
|
||||
"""
|
||||
Returns reported error message from page if it founds one
|
||||
|
||||
Reference in New Issue
Block a user