Displaying hex-decoded resulting output in --hex mode

This commit is contained in:
Miroslav Stampar 2012-10-22 14:36:01 +02:00
parent 39f565533a
commit 029143880a

View File

@ -534,6 +534,10 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
elif partialValue:
hashDBWrite(expression, "%s%s" % (PARTIAL_VALUE_MARKER, partialValue))
if conf.hexConvert:
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")