mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +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
|
||||
|
||||
try:
|
||||
pushValue(conf.db)
|
||||
pushValue(conf.tbl)
|
||||
|
||||
if expected == EXPECTED.BOOL:
|
||||
forgeCaseExpression = booleanExpression = expression
|
||||
|
||||
|
@ -434,6 +437,9 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
|
|||
if suppressOutput is not None:
|
||||
getCurrentThreadData().disableStdOut = popValue()
|
||||
|
||||
conf.tbl = popValue()
|
||||
conf.db = popValue()
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user