mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-22 10:54:22 +03:00
Another layout adjustment
This commit is contained in:
parent
71d82e6f57
commit
8278d821ac
|
@ -181,6 +181,14 @@ def checkSqlInjection(place, parameter, value):
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# Skip test if the user provided custom column
|
||||||
|
# range and this is not a custom UNION test
|
||||||
|
if conf.uCols is not None and hasattr(test.request, "columns") and test.request.columns != "[COLSTART]-[COLSTOP]":
|
||||||
|
debugMsg = "skipping test '%s' because custom " % title
|
||||||
|
debugMsg += "UNION columns range was provided"
|
||||||
|
logger.debug(debugMsg)
|
||||||
|
continue
|
||||||
|
|
||||||
infoMsg = "testing '%s'" % title
|
infoMsg = "testing '%s'" % title
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
|
@ -352,14 +360,6 @@ def checkSqlInjection(place, parameter, value):
|
||||||
# test value for proper payload unescaping
|
# test value for proper payload unescaping
|
||||||
Backend.forceDbms(dbms)
|
Backend.forceDbms(dbms)
|
||||||
|
|
||||||
# Skip test if the user provided custom column
|
|
||||||
# range and this is not a custom UNION test
|
|
||||||
if conf.uCols is not None and test.request.columns != "[COLSTART]-[COLSTOP]":
|
|
||||||
debugMsg = "skipping test '%s' because custom " % title
|
|
||||||
debugMsg += "UNION columns range was provided"
|
|
||||||
logger.debug(debugMsg)
|
|
||||||
continue
|
|
||||||
|
|
||||||
configUnion(test.request.char, test.request.columns)
|
configUnion(test.request.char, test.request.columns)
|
||||||
|
|
||||||
if not Backend.getIdentifiedDbms():
|
if not Backend.getIdentifiedDbms():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user