mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
expandAsteriskForColumns changes value of conf.db and conf.tbl potentially causing problems in further work
This commit is contained in:
parent
decd092b2a
commit
e68326c0fe
|
@ -343,6 +343,9 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
|
||||||
getCurrentThreadData().disableStdOut = suppressOutput
|
getCurrentThreadData().disableStdOut = suppressOutput
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
pushValue(conf.db)
|
||||||
|
pushValue(conf.tbl)
|
||||||
|
|
||||||
if expected == EXPECTED.BOOL:
|
if expected == EXPECTED.BOOL:
|
||||||
forgeCaseExpression = booleanExpression = expression
|
forgeCaseExpression = booleanExpression = expression
|
||||||
|
|
||||||
|
@ -434,6 +437,9 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
|
||||||
if suppressOutput is not None:
|
if suppressOutput is not None:
|
||||||
getCurrentThreadData().disableStdOut = popValue()
|
getCurrentThreadData().disableStdOut = popValue()
|
||||||
|
|
||||||
|
conf.tbl = popValue()
|
||||||
|
conf.db = popValue()
|
||||||
|
|
||||||
kb.safeCharEncode = False
|
kb.safeCharEncode = False
|
||||||
|
|
||||||
if not kb.testMode and value is None and Backend.getDbms() and conf.dbmsHandler and not conf.noCast and not conf.hexConvert:
|
if not kb.testMode and value is None and Backend.getDbms() and conf.dbmsHandler and not conf.noCast and not conf.hexConvert:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user