mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-01 18:33:12 +03:00
Displaying hex-decoded resulting output in --hex mode
This commit is contained in:
parent
39f565533a
commit
029143880a
|
@ -534,12 +534,16 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||||
elif partialValue:
|
elif partialValue:
|
||||||
hashDBWrite(expression, "%s%s" % (PARTIAL_VALUE_MARKER, partialValue))
|
hashDBWrite(expression, "%s%s" % (PARTIAL_VALUE_MARKER, partialValue))
|
||||||
|
|
||||||
if conf.verbose in (1, 2) or showEta:
|
if conf.hexConvert:
|
||||||
dataToStdout("\n")
|
infoMsg = "\r[%s] [INFO] retrieved: %s %s\n" % (time.strftime("%X"), filterControlChars(finalValue), " " * len(finalValue))
|
||||||
|
dataToStdout(infoMsg)
|
||||||
|
else:
|
||||||
|
if conf.verbose in (1, 2) or showEta:
|
||||||
|
dataToStdout("\n")
|
||||||
|
|
||||||
if ( conf.verbose in ( 1, 2 ) and showEta ) or conf.verbose >= 3:
|
if ( conf.verbose in ( 1, 2 ) and showEta ) or conf.verbose >= 3:
|
||||||
infoMsg = "retrieved: %s" % filterControlChars(finalValue)
|
infoMsg = "retrieved: %s" % filterControlChars(finalValue)
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
if kb.threadException:
|
if kb.threadException:
|
||||||
raise sqlmapThreadException, "something unexpected happened inside the threads"
|
raise sqlmapThreadException, "something unexpected happened inside the threads"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user