Path: blob/master/plugins/dbms/derby/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.common import singleTimeWarnMessage8from lib.core.data import logger9from plugins.generic.enumeration import Enumeration as GenericEnumeration1011class Enumeration(GenericEnumeration):12def getPasswordHashes(self):13warnMsg = "on Apache Derby it is not possible to enumerate password hashes"14logger.warning(warnMsg)1516return {}1718def getStatements(self):19warnMsg = "on Apache Derby it is not possible to enumerate the SQL statements"20logger.warning(warnMsg)2122return []2324def getPrivileges(self, *args, **kwargs):25warnMsg = "on Apache Derby it is not possible to enumerate the user privileges"26logger.warning(warnMsg)2728return {}2930def getRoles(self, *args, **kwargs):31warnMsg = "on Apache Derby it is not possible to enumerate the user roles"32logger.warning(warnMsg)3334return {}3536def getHostname(self):37warnMsg = "on Apache Derby it is not possible to enumerate the hostname"38logger.warning(warnMsg)3940def getBanner(self):41warnMsg = "on Apache Derby it is not possible to enumerate the banner"42singleTimeWarnMessage(warnMsg)434445