mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user