update (smaller memory footprint in postprocessing phase because of safecharencode part)

This commit is contained in:
Miroslav Stampar
2011-07-25 20:40:31 +00:00
parent 5770c08784
commit 6bbb8139a0
5 changed files with 8 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ from lib.core.common import replaceNewlineTabs
from lib.core.common import safeStringFormat
from lib.core.common import singleTimeWarnMessage
from lib.core.common import unhandledExceptionMessage
from lib.core.convert import safecharencode
from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
@@ -521,4 +522,4 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if kb.threadException:
raise sqlmapThreadException, "something unexpected happened inside the threads"
return queriesCount[0], finalValue
return queriesCount[0], safecharencode(finalValue) if kb.safeCharEncode else finalValue