mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-18 12:03:14 +03:00
Proper ordering of enumeration methods, consistent with the others enumeration classes
This commit is contained in:
parent
955dbc85e7
commit
aeb149db22
|
@ -14,28 +14,44 @@ class Enumeration(GenericEnumeration):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
GenericEnumeration.__init__(self)
|
GenericEnumeration.__init__(self)
|
||||||
|
|
||||||
def getDbs(self):
|
|
||||||
warnMsg = "on Microsoft Access it is not possible to enumerate databases"
|
|
||||||
logger.warn(warnMsg)
|
|
||||||
|
|
||||||
return []
|
|
||||||
|
|
||||||
def getBanner(self):
|
def getBanner(self):
|
||||||
warnMsg = "on Microsoft Access it is not possible to get a banner"
|
warnMsg = "on Microsoft Access it is not possible to get a banner"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
def getCurrentUser(self):
|
||||||
|
warnMsg = "on Microsoft Access it is not possible to enumerate the current user"
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
def getCurrentDb(self):
|
def getCurrentDb(self):
|
||||||
warnMsg = "on Microsoft Access it is not possible to get name of the current database"
|
warnMsg = "on Microsoft Access it is not possible to get name of the current database"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
|
def getUsers(self):
|
||||||
|
warnMsg = "on Microsoft Access it is not possible to enumerate the users"
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
|
return []
|
||||||
|
|
||||||
def getPasswordHashes(self):
|
def getPasswordHashes(self):
|
||||||
warnMsg = "on Microsoft Access it is not possible to enumerate the user password hashes"
|
warnMsg = "on Microsoft Access it is not possible to enumerate the user password hashes"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
def getPrivileges(self, *args):
|
||||||
|
warnMsg = "on Microsoft Access it is not possible to enumerate the user privileges"
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
|
return {}
|
||||||
|
|
||||||
|
def getDbs(self):
|
||||||
|
warnMsg = "on Microsoft Access it is not possible to enumerate databases"
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
|
return []
|
||||||
|
|
||||||
def searchDb(self):
|
def searchDb(self):
|
||||||
warnMsg = "on Microsoft Access it is not possible to search databases"
|
warnMsg = "on Microsoft Access it is not possible to search databases"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
@ -53,19 +69,3 @@ class Enumeration(GenericEnumeration):
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def getCurrentUser(self):
|
|
||||||
warnMsg = "on Microsoft Access it is not possible to enumerate the current user"
|
|
||||||
logger.warn(warnMsg)
|
|
||||||
|
|
||||||
def getUsers(self):
|
|
||||||
warnMsg = "on Microsoft Access it is not possible to enumerate the users"
|
|
||||||
logger.warn(warnMsg)
|
|
||||||
|
|
||||||
return []
|
|
||||||
|
|
||||||
def getPrivileges(self, *args):
|
|
||||||
warnMsg = "on Microsoft Access it is not possible to enumerate the user privileges"
|
|
||||||
logger.warn(warnMsg)
|
|
||||||
|
|
||||||
return {}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user