mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-23 19:34:13 +03:00
Better sort
This commit is contained in:
parent
705d45f4db
commit
d875d848ce
|
@ -99,6 +99,15 @@ def checkSqlInjection(place, parameter, value):
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# Skip test if it is the same SQL injection type already
|
||||||
|
# identified by another test
|
||||||
|
if injection.data and stype in injection.data:
|
||||||
|
debugMsg = "skipping test '%s' because " % title
|
||||||
|
debugMsg += "the payload for %s has " % PAYLOAD.SQLINJECTION[stype]
|
||||||
|
debugMsg += "already been identified"
|
||||||
|
logger.debug(debugMsg)
|
||||||
|
continue
|
||||||
|
|
||||||
# Skip test if the risk is higher than the provided (or default)
|
# Skip test if the risk is higher than the provided (or default)
|
||||||
# value
|
# value
|
||||||
# Parse test's <risk>
|
# Parse test's <risk>
|
||||||
|
@ -158,15 +167,6 @@ def checkSqlInjection(place, parameter, value):
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Skip test if it is the same SQL injection type already
|
|
||||||
# identified by another test
|
|
||||||
if injection.data and stype in injection.data:
|
|
||||||
debugMsg = "skipping test '%s' because " % title
|
|
||||||
debugMsg += "the payload for %s has " % PAYLOAD.SQLINJECTION[stype]
|
|
||||||
debugMsg += "already been identified"
|
|
||||||
logger.debug(debugMsg)
|
|
||||||
continue
|
|
||||||
|
|
||||||
# Skip test if it does not match the same SQL injection clause
|
# Skip test if it does not match the same SQL injection clause
|
||||||
# already identified by another test
|
# already identified by another test
|
||||||
clauseMatch = False
|
clauseMatch = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user