mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
minor update
This commit is contained in:
parent
ee4727850c
commit
ece2eb31ca
|
@ -89,8 +89,7 @@ def checkSqlInjection(place, parameter, value):
|
|||
# Set the flag for sql injection test mode
|
||||
kb.testMode = True
|
||||
|
||||
#for test in getInjectionTests():
|
||||
for test in conf.tests:
|
||||
for test in getInjectionTests():
|
||||
try:
|
||||
if kb.endDetection:
|
||||
break
|
||||
|
|
|
@ -1974,7 +1974,9 @@ def getInjectionTests():
|
|||
|
||||
def priorityFunction(test):
|
||||
retVal = 0
|
||||
if 'details' in test and 'dbms' in test.details:
|
||||
if test.stype == PAYLOAD.TECHNIQUE.UNION:
|
||||
retVal = 3
|
||||
elif 'details' in test and 'dbms' in test.details:
|
||||
if test.details.dbms in getErrorParsedDBMSes():
|
||||
retVal = 1
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user