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
|
# Set the flag for sql injection test mode
|
||||||
kb.testMode = True
|
kb.testMode = True
|
||||||
|
|
||||||
#for test in getInjectionTests():
|
for test in getInjectionTests():
|
||||||
for test in conf.tests:
|
|
||||||
try:
|
try:
|
||||||
if kb.endDetection:
|
if kb.endDetection:
|
||||||
break
|
break
|
||||||
|
|
|
@ -1974,7 +1974,9 @@ def getInjectionTests():
|
||||||
|
|
||||||
def priorityFunction(test):
|
def priorityFunction(test):
|
||||||
retVal = 0
|
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():
|
if test.details.dbms in getErrorParsedDBMSes():
|
||||||
retVal = 1
|
retVal = 1
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user