mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
--is-dba (related) update for Sybase
This commit is contained in:
parent
4d52f7fc6e
commit
59e666d16e
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ class Enumeration:
|
|||
if Backend.getIdentifiedDbms() == DBMS.MYSQL:
|
||||
self.getCurrentUser()
|
||||
query = queries[Backend.getIdentifiedDbms()].is_dba.query % kb.data.currentUser.split("@")[0]
|
||||
elif Backend.getIdentifiedDbms() == DBMS.MSSQL and user is not None:
|
||||
elif Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE) and user is not None:
|
||||
query = queries[Backend.getIdentifiedDbms()].is_dba.query2 % user
|
||||
else:
|
||||
query = queries[Backend.getIdentifiedDbms()].is_dba.query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue