mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +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:
|
if retVal:
|
||||||
partialValue = 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:
|
else:
|
||||||
dataToStdout("[%s] [INFO] resumed: %s\r\n" % (time.strftime("%X"), safecharencode(retVal)))
|
infoMsg = "resumed: %s" % safecharencode(retVal)
|
||||||
|
logger.info(infoMsg)
|
||||||
|
|
||||||
return 0, retVal
|
return 0, retVal
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user