Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa8f73 commit eaa9dd0Copy full SHA for eaa9dd0
1 file changed
plugins/generic/enumeration.py
@@ -623,7 +623,9 @@ def getPrivileges(self, query2=False):
623
def getRoles(self, query2=False):
624
warnMsg = "on %s the concept of roles does not " % kb.dbms
625
warnMsg += "exist. sqlmap will enumerate privileges instead"
626
- self.getPrivileges(query2)
+ logger.warn(warnMsg)
627
+
628
+ return self.getPrivileges(query2)
629
630
def getDbs(self):
631
if kb.dbms == "MySQL" and not kb.data.has_information_schema:
0 commit comments