mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
replaced unnecessary dataToStdout() call with appropriate logger.info() call
This commit is contained in:
parent
2926c815bf
commit
064d443d60
|
@ -69,9 +69,12 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
|
||||
if retVal:
|
||||
partialValue = retVal
|
||||
dataToStdout("[%s] [INFO] resuming partial value: '%s'\r\n" % (time.strftime("%X"), safecharencode(partialValue)))
|
||||
infoMsg = "resuming partial value: %s" % safecharencode(partialValue)
|
||||
logger.info(infoMsg)
|
||||
else:
|
||||
dataToStdout("[%s] [INFO] resumed: %s\r\n" % (time.strftime("%X"), safecharencode(retVal)))
|
||||
infoMsg = "resumed: %s" % safecharencode(retVal)
|
||||
logger.info(infoMsg)
|
||||
|
||||
return 0, retVal
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user