mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
minor enhancement, prefer intersect() each time DBMS values are comfronted
This commit is contained in:
parent
388c0dfd77
commit
8be24d3e9b
|
@ -2823,7 +2823,7 @@ def getSortedInjectionTests():
|
|||
retVal = SORT_ORDER.LAST
|
||||
|
||||
elif 'details' in test and 'dbms' in test.details:
|
||||
if test.details.dbms in Backend.getErrorParsedDBMSes():
|
||||
if intersect(test.details.dbms, Backend.getErrorParsedDBMSes()):
|
||||
retVal = SORT_ORDER.SECOND
|
||||
else:
|
||||
retVal = SORT_ORDER.THIRD
|
||||
|
|
Loading…
Reference in New Issue
Block a user