mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Cosmetics
This commit is contained in:
@@ -1974,13 +1974,16 @@ def getInjectionTests():
|
|||||||
|
|
||||||
def priorityFunction(test):
|
def priorityFunction(test):
|
||||||
retVal = 0
|
retVal = 0
|
||||||
|
|
||||||
if test.stype == PAYLOAD.TECHNIQUE.UNION:
|
if test.stype == PAYLOAD.TECHNIQUE.UNION:
|
||||||
retVal = 3
|
retVal = 3
|
||||||
|
|
||||||
elif 'details' in test and 'dbms' in test.details:
|
elif 'details' in test and 'dbms' in test.details:
|
||||||
if test.details.dbms in getErrorParsedDBMSes():
|
if test.details.dbms in getErrorParsedDBMSes():
|
||||||
retVal = 1
|
retVal = 1
|
||||||
else:
|
else:
|
||||||
retVal = 2
|
retVal = 2
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
if getErrorParsedDBMSes():
|
if getErrorParsedDBMSes():
|
||||||
|
|||||||
Reference in New Issue
Block a user