mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 19:22:48 +00:00
ORDER BY technique used for finding proper UNION col count (dramatical improvement of speed and capabilities) and one minor bug fix
This commit is contained in:
parent
07afcd5440
commit
9423d15fb3
5 changed files with 54 additions and 4 deletions
|
|
@ -2031,10 +2031,8 @@ class Enumeration:
|
|||
query += exclDbsQuery
|
||||
values = inject.getValue(query, blind=False)
|
||||
|
||||
if not isNoneValue(values):
|
||||
if isinstance(values, basestring):
|
||||
values = [ values ]
|
||||
|
||||
if not any([isNoneValue(values), isinstance(values, basestring)]):
|
||||
values = filter(lambda x: isinstance(x, (tuple, list, set)) and len(x) == 2, values)
|
||||
for foundDb, foundTbl in values:
|
||||
foundDb = safeSQLIdentificatorNaming(foundDb)
|
||||
foundTbl = safeSQLIdentificatorNaming(foundTbl, True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue