mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
fix for --union-use with --error-test
This commit is contained in:
parent
71543092b7
commit
32728d14b7
6 changed files with 19 additions and 19 deletions
|
|
@ -49,7 +49,7 @@ class Enumeration(GenericEnumeration):
|
|||
query += " WHERE "
|
||||
query += " OR ".join("%s = '%s'" % (condition, user) for user in users)
|
||||
|
||||
values = inject.getValue(query, blind=False)
|
||||
values = inject.getValue(query, blind=False, error=False)
|
||||
|
||||
if not values and not query2:
|
||||
infoMsg = "trying with table USER_ROLE_PRIVS"
|
||||
|
|
@ -199,7 +199,7 @@ class Enumeration(GenericEnumeration):
|
|||
if kb.unionPosition or conf.direct:
|
||||
query = rootQuery.inband.query
|
||||
query += colQuery
|
||||
values = inject.getValue(query, blind=False)
|
||||
values = inject.getValue(query, blind=False, error=False)
|
||||
|
||||
if values:
|
||||
if isinstance(values, basestring):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue