mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor style update for an Issue #377
This commit is contained in:
@@ -454,10 +454,6 @@ def checkSqlInjection(place, parameter, value):
|
||||
warnMsg += "explicitly set it using option '--dbms'"
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
else:
|
||||
warnMsg = "heuristic test showed that the back-end DBMS "
|
||||
warnMsg += "could be '%s' " % kb.heuristicDbms
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
|
||||
Backend.forceDbms(kb.heuristicDbms)
|
||||
|
||||
if unionExtended:
|
||||
@@ -614,6 +610,11 @@ def heuristicCheckDbms(injection):
|
||||
Backend.flushForcedDbms()
|
||||
kb.injection = popValue()
|
||||
|
||||
if retVal:
|
||||
infoMsg = "heuristic test showed that the back-end DBMS "
|
||||
infoMsg += "could be '%s' " % retVal
|
||||
logger.info(infoMsg)
|
||||
|
||||
return retVal
|
||||
|
||||
def checkFalsePositives(injection):
|
||||
|
||||
Reference in New Issue
Block a user