MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / wasLastResponseHTTPError

Function wasLastResponseHTTPError

lib/core/common.py:2788–2794  ·  view source on GitHub ↗

Returns True if the last web request resulted in an erroneous HTTP code (like 500)

()

Source from the content-addressed store, hash-verified

2786 return threadData.lastErrorPage and threadData.lastErrorPage[0] == threadData.lastRequestUID
2787
2788def wasLastResponseHTTPError():
2789 """
2790 Returns True if the last web request resulted in an erroneous HTTP code (like 500)
2791 """
2792
2793 threadData = getCurrentThreadData()
2794 return threadData.lastHTTPError and threadData.lastHTTPError[0] == threadData.lastRequestUID
2795
2796def wasLastResponseDelayed():
2797 """

Callers 4

checkSqlInjectionFunction · 0.90
checkConnectionFunction · 0.90
_comparisonFunction · 0.90
_oneShotErrorUseFunction · 0.90

Calls 1

getCurrentThreadDataFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…