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

Skip to content

Commit 0a620bf

Browse files
committed
more info to the user
1 parent 8c80413 commit 0a620bf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/controller/checks.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,12 @@ def genCmpPayload():
501501

502502
# Return the injection object
503503
if injection.place is not None and injection.parameter is not None:
504+
if not conf.dropSetCookie and PAYLOAD.TECHNIQUE.BOOLEAN in injection.data and injection.data[PAYLOAD.TECHNIQUE.BOOLEAN].vector.startswith('OR'):
505+
warnMsg = "in cases like this (OR boolean) please consider usage "
506+
warnMsg += "of switch --drop-set-cookie if you experience any "
507+
warnMsg += "problems during data retrieval"
508+
logger.warn(warnMsg)
509+
504510
injection = checkFalsePositives(injection)
505511
return injection
506512
else:

0 commit comments

Comments
 (0)