Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bbfa4b6

Browse files
committed
minor update
1 parent 333f805 commit bbfa4b6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/core/common.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,6 +2681,11 @@ def _(value):
26812681
warnMsg = "reflective value(s) found and filtering out"
26822682
singleTimeWarnMessage(warnMsg)
26832683

2684+
if re.search(r"FRAME[^>]+src=[^>]*%s" % REFLECTED_VALUE_MARKER, retVal, re.I):
2685+
warnMsg = "frames detected containing attacked parameter values. Please be sure to "
2686+
warnMsg += "test those separately in case that attack on this page fails"
2687+
singleTimeWarnMessage(warnMsg)
2688+
26842689
elif not kb.testMode and not kb.reflectiveCounters[REFLECTIVE_COUNTER.HIT]:
26852690
kb.reflectiveCounters[REFLECTIVE_COUNTER.MISS] += 1
26862691
if kb.reflectiveCounters[REFLECTIVE_COUNTER.MISS] > REFLECTIVE_MISS_THRESHOLD:

0 commit comments

Comments
 (0)