mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
minor improvement
This commit is contained in:
parent
5e853cae64
commit
23117e72ca
2 changed files with 27 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue