mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
minor enhancement, prefer intersect() each time DBMS values are comfronted
This commit is contained in:
@@ -2823,7 +2823,7 @@ def getSortedInjectionTests():
|
|||||||
retVal = SORT_ORDER.LAST
|
retVal = SORT_ORDER.LAST
|
||||||
|
|
||||||
elif 'details' in test and 'dbms' in test.details:
|
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
|
retVal = SORT_ORDER.SECOND
|
||||||
else:
|
else:
|
||||||
retVal = SORT_ORDER.THIRD
|
retVal = SORT_ORDER.THIRD
|
||||||
|
|||||||
Reference in New Issue
Block a user