Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sqlmapproject
GitHub Repository: sqlmapproject/sqlmap
Path: blob/master/plugins/dbms/cubrid/enumeration.py
2992 views
1
#!/usr/bin/env python
2
3
"""
4
Copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org)
5
See the file 'LICENSE' for copying permission
6
"""
7
8
from lib.core.data import logger
9
from plugins.generic.enumeration import Enumeration as GenericEnumeration
10
11
class Enumeration(GenericEnumeration):
12
def getPasswordHashes(self):
13
warnMsg = "on Cubrid it is not possible to enumerate password hashes"
14
logger.warning(warnMsg)
15
16
return {}
17
18
def getStatements(self):
19
warnMsg = "on Cubrid it is not possible to enumerate the SQL statements"
20
logger.warning(warnMsg)
21
22
return []
23
24
def getRoles(self, *args, **kwargs):
25
warnMsg = "on Cubrid it is not possible to enumerate the user roles"
26
logger.warning(warnMsg)
27
28
return {}
29
30
def getHostname(self):
31
warnMsg = "on Cubrid it is not possible to enumerate the hostname"
32
logger.warning(warnMsg)
33
34