mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-02 02:43:35 +03:00
Cosmetics
This commit is contained in:
parent
ece2eb31ca
commit
af4ee81e62
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user