mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 16:24:25 +03:00
Minor bug fix for --roles
This commit is contained in:
parent
0aa8f7309b
commit
eaa9dd07bc
|
@ -623,7 +623,9 @@ class Enumeration:
|
|||
def getRoles(self, query2=False):
|
||||
warnMsg = "on %s the concept of roles does not " % kb.dbms
|
||||
warnMsg += "exist. sqlmap will enumerate privileges instead"
|
||||
self.getPrivileges(query2)
|
||||
logger.warn(warnMsg)
|
||||
|
||||
return self.getPrivileges(query2)
|
||||
|
||||
def getDbs(self):
|
||||
if kb.dbms == "MySQL" and not kb.data.has_information_schema:
|
||||
|
|
Loading…
Reference in New Issue
Block a user