mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
minor update
This commit is contained in:
parent
333f8057a5
commit
bbfa4b6d5d
|
@ -2681,6 +2681,11 @@ def removeReflectiveValues(content, payload, suppressWarning=False):
|
||||||
warnMsg = "reflective value(s) found and filtering out"
|
warnMsg = "reflective value(s) found and filtering out"
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
||||||
|
if re.search(r"FRAME[^>]+src=[^>]*%s" % REFLECTED_VALUE_MARKER, retVal, re.I):
|
||||||
|
warnMsg = "frames detected containing attacked parameter values. Please be sure to "
|
||||||
|
warnMsg += "test those separately in case that attack on this page fails"
|
||||||
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
||||||
elif not kb.testMode and not kb.reflectiveCounters[REFLECTIVE_COUNTER.HIT]:
|
elif not kb.testMode and not kb.reflectiveCounters[REFLECTIVE_COUNTER.HIT]:
|
||||||
kb.reflectiveCounters[REFLECTIVE_COUNTER.MISS] += 1
|
kb.reflectiveCounters[REFLECTIVE_COUNTER.MISS] += 1
|
||||||
if kb.reflectiveCounters[REFLECTIVE_COUNTER.MISS] > REFLECTIVE_MISS_THRESHOLD:
|
if kb.reflectiveCounters[REFLECTIVE_COUNTER.MISS] > REFLECTIVE_MISS_THRESHOLD:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user