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

Skip to content

Commit 834f8e1

Browse files
committed
Minor patch for an Issue #802
1 parent b77d8d6 commit 834f8e1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,9 +658,7 @@ def checkFalsePositives(injection):
658658

659659
retVal = injection
660660

661-
if len(injection.data) == 1 and any(map(lambda x: x in injection.data, [PAYLOAD.TECHNIQUE.BOOLEAN, PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED]))\
662-
or len(injection.data) == 2 and all(map(lambda x: x in injection.data, [PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED])):
663-
# or len(injection.data) == 1 and 'Generic' in injection.data.values()[0].title and not Backend.getIdentifiedDbms():
661+
if all(_ in (PAYLOAD.TECHNIQUE.BOOLEAN, PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED) for _ in injection.data):
664662
pushValue(kb.injection)
665663

666664
infoMsg = "checking if the injection point on %s " % injection.place

0 commit comments

Comments
 (0)