mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
major bug fix in --search with multiple -C provided
This commit is contained in:
parent
45177cf93d
commit
b54ae107cc
|
@ -326,6 +326,8 @@ class Search:
|
|||
infoMsgTbl = ""
|
||||
infoMsgDb = ""
|
||||
colList = conf.col.split(",")
|
||||
origTbl = conf.tbl
|
||||
origDb = conf.db
|
||||
colCond = rootQuery.inband.condition
|
||||
dbCond = rootQuery.inband.condition2
|
||||
tblCond = rootQuery.inband.condition3
|
||||
|
@ -333,6 +335,8 @@ class Search:
|
|||
|
||||
for column in colList:
|
||||
column = safeSQLIdentificatorNaming(column)
|
||||
conf.db = origDb
|
||||
conf.tbl = origTbl
|
||||
|
||||
if Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2):
|
||||
column = column.upper()
|
||||
|
|
Loading…
Reference in New Issue
Block a user