mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
now --users works for MaxDB too
This commit is contained in:
parent
cd0d4135ac
commit
b761523f3f
|
@ -171,7 +171,7 @@ class Enumeration:
|
|||
indexRange = getRange(count, plusOne=plusOne)
|
||||
|
||||
for index in indexRange:
|
||||
if kb.dbms == DBMS.SYBASE:
|
||||
if kb.dbms in (DBMS.SYBASE, DBMS.MAXDB):
|
||||
query = rootQuery.blind.query % (kb.data.cachedUsers[-1] if kb.data.cachedUsers else " ")
|
||||
elif condition:
|
||||
query = rootQuery.blind.query2 % index
|
||||
|
|
|
@ -436,6 +436,7 @@
|
|||
<substring query="SUBSTR((%s), %d, %d)"/>
|
||||
<users>
|
||||
<inband query="SELECT username FROM domain.users ORDER BY 1"/>
|
||||
<blind query="SELECT MIN(username) FROM domain.users WHERE username > '%s'" count="SELECT CHR(COUNT(*)) FROM domain.users"/>
|
||||
</users>
|
||||
<tables>
|
||||
<inband query="SELECT tablename FROM domain.tables WHERE schemaname='%s' AND type='TABLE'"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user