mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor improvements to queries
This commit is contained in:
parent
fe6e29fbf6
commit
38f13932bc
2 changed files with 12 additions and 14 deletions
|
|
@ -944,18 +944,16 @@ class Enumeration:
|
|||
|
||||
if kb.dbms in ( "MySQL", "PostgreSQL" ):
|
||||
query = rootQuery["blind"]["query"] % (column, conf.db,
|
||||
conf.tbl, colList[0],
|
||||
index)
|
||||
conf.tbl, index)
|
||||
elif kb.dbms == "Oracle":
|
||||
query = rootQuery["blind"]["query"] % (column, column,
|
||||
conf.tbl.upper(),
|
||||
colList[0], index)
|
||||
index)
|
||||
elif kb.dbms == "Microsoft SQL Server":
|
||||
query = rootQuery["blind"]["query"] % (column, conf.db,
|
||||
conf.tbl, column,
|
||||
index, column,
|
||||
conf.db, conf.tbl,
|
||||
colList[0], colList[0])
|
||||
conf.db, conf.tbl)
|
||||
|
||||
value = inject.getValue(query, inband=False)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue