Path: blob/master/plugins/dbms/extremedb/enumeration.py
2992 views
#!/usr/bin/env python12"""3Copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org)4See the file 'LICENSE' for copying permission5"""67from lib.core.data import logger8from plugins.generic.enumeration import Enumeration as GenericEnumeration910class Enumeration(GenericEnumeration):11def getBanner(self):12warnMsg = "on eXtremeDB it is not possible to get the banner"13logger.warning(warnMsg)1415return None1617def getCurrentUser(self):18warnMsg = "on eXtremeDB it is not possible to enumerate the current user"19logger.warning(warnMsg)2021def getCurrentDb(self):22warnMsg = "on eXtremeDB it is not possible to get name of the current database"23logger.warning(warnMsg)2425def isDba(self, user=None):26warnMsg = "on eXtremeDB it is not possible to test if current user is DBA"27logger.warning(warnMsg)2829def getUsers(self):30warnMsg = "on eXtremeDB it is not possible to enumerate the users"31logger.warning(warnMsg)3233return []3435def getPasswordHashes(self):36warnMsg = "on eXtremeDB it is not possible to enumerate the user password hashes"37logger.warning(warnMsg)3839return {}4041def getPrivileges(self, *args, **kwargs):42warnMsg = "on eXtremeDB it is not possible to enumerate the user privileges"43logger.warning(warnMsg)4445return {}4647def getDbs(self):48warnMsg = "on eXtremeDB it is not possible to enumerate databases (use only '--tables')"49logger.warning(warnMsg)5051return []5253def searchDb(self):54warnMsg = "on eXtremeDB it is not possible to search databases"55logger.warning(warnMsg)5657return []5859def searchTable(self):60warnMsg = "on eXtremeDB it is not possible to search tables"61logger.warning(warnMsg)6263return []6465def searchColumn(self):66warnMsg = "on eXtremeDB it is not possible to search columns"67logger.warning(warnMsg)6869return []7071def search(self):72warnMsg = "on eXtremeDB search option is not available"73logger.warning(warnMsg)7475def getHostname(self):76warnMsg = "on eXtremeDB it is not possible to enumerate the hostname"77logger.warning(warnMsg)7879def getStatements(self):80warnMsg = "on eXtremeDB it is not possible to enumerate the SQL statements"81logger.warning(warnMsg)8283return []848586