mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
adding one more case for false positive check (Generic tests without any DBMS knowledge)
This commit is contained in:
parent
60146481af
commit
c9cac957bb
1 changed files with 2 additions and 1 deletions
|
|
@ -533,7 +533,8 @@ def checkFalsePositives(injection):
|
|||
retVal = injection
|
||||
|
||||
if len(injection.data) == 1 and any(map(lambda x: x in injection.data, [PAYLOAD.TECHNIQUE.BOOLEAN, PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED]))\
|
||||
or len(injection.data) == 2 and all(map(lambda x: x in injection.data, [PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED])):
|
||||
or len(injection.data) == 2 and all(map(lambda x: x in injection.data, [PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED]))\
|
||||
or len(injection.data) == 1 and 'Generic' in injection.data.values()[0].title and not Backend.getDbms():
|
||||
pushValue(kb.injection)
|
||||
|
||||
infoMsg = "checking if the injection point on %s " % injection.place
|
||||
|
|
|
|||
Loading…
Reference in a new issue