mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
update (smaller memory footprint in postprocessing phase because of safecharencode part)
This commit is contained in:
parent
5770c08784
commit
6bbb8139a0
5 changed files with 8 additions and 6 deletions
|
|
@ -28,7 +28,6 @@ from lib.core.common import randomInt
|
|||
from lib.core.common import readInput
|
||||
from lib.core.common import replaceNewlineTabs
|
||||
from lib.core.common import safeStringFormat
|
||||
from lib.core.convert import safecharencode
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
|
|
@ -401,6 +400,8 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||
(if selected).
|
||||
"""
|
||||
|
||||
kb.safeCharEncode = safeCharEncode
|
||||
|
||||
if suppressOutput is not None:
|
||||
pushValue(getCurrentThreadData().disableStdOut)
|
||||
getCurrentThreadData().disableStdOut = suppressOutput
|
||||
|
|
@ -499,8 +500,7 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||
elif value == [None]:
|
||||
value = None
|
||||
|
||||
if safeCharEncode:
|
||||
value = safecharencode(value)
|
||||
kb.safeCharEncode = False
|
||||
|
||||
return value
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue