mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
fix for --privileges (on MSSql --privileges returned exception)
This commit is contained in:
parent
bc79eec702
commit
fe3967bdec
|
@ -22,7 +22,7 @@ class Enumeration(GenericEnumeration):
|
|||
def __init__(self):
|
||||
GenericEnumeration.__init__(self, "Microsoft SQL Server")
|
||||
|
||||
def getPrivileges(self, _):
|
||||
def getPrivileges(self, *args):
|
||||
warnMsg = "on Microsoft SQL Server it is not possible to fetch "
|
||||
warnMsg += "database users privileges"
|
||||
logger.warn(warnMsg)
|
||||
|
|
|
@ -41,7 +41,7 @@ class Enumeration(GenericEnumeration):
|
|||
|
||||
return {}
|
||||
|
||||
def getPrivileges(self, _):
|
||||
def getPrivileges(self, *args):
|
||||
warnMsg = "on SQLite it is not possible to enumerate the user privileges"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user