Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sqlmapproject
GitHub Repository: sqlmapproject/sqlmap
Path: blob/master/plugins/dbms/extremedb/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 getBanner(self):
13
warnMsg = "on eXtremeDB it is not possible to get the banner"
14
logger.warning(warnMsg)
15
16
return None
17
18
def getCurrentUser(self):
19
warnMsg = "on eXtremeDB it is not possible to enumerate the current user"
20
logger.warning(warnMsg)
21
22
def getCurrentDb(self):
23
warnMsg = "on eXtremeDB it is not possible to get name of the current database"
24
logger.warning(warnMsg)
25
26
def isDba(self, user=None):
27
warnMsg = "on eXtremeDB it is not possible to test if current user is DBA"
28
logger.warning(warnMsg)
29
30
def getUsers(self):
31
warnMsg = "on eXtremeDB it is not possible to enumerate the users"
32
logger.warning(warnMsg)
33
34
return []
35
36
def getPasswordHashes(self):
37
warnMsg = "on eXtremeDB it is not possible to enumerate the user password hashes"
38
logger.warning(warnMsg)
39
40
return {}
41
42
def getPrivileges(self, *args, **kwargs):
43
warnMsg = "on eXtremeDB it is not possible to enumerate the user privileges"
44
logger.warning(warnMsg)
45
46
return {}
47
48
def getDbs(self):
49
warnMsg = "on eXtremeDB it is not possible to enumerate databases (use only '--tables')"
50
logger.warning(warnMsg)
51
52
return []
53
54
def searchDb(self):
55
warnMsg = "on eXtremeDB it is not possible to search databases"
56
logger.warning(warnMsg)
57
58
return []
59
60
def searchTable(self):
61
warnMsg = "on eXtremeDB it is not possible to search tables"
62
logger.warning(warnMsg)
63
64
return []
65
66
def searchColumn(self):
67
warnMsg = "on eXtremeDB it is not possible to search columns"
68
logger.warning(warnMsg)
69
70
return []
71
72
def search(self):
73
warnMsg = "on eXtremeDB search option is not available"
74
logger.warning(warnMsg)
75
76
def getHostname(self):
77
warnMsg = "on eXtremeDB it is not possible to enumerate the hostname"
78
logger.warning(warnMsg)
79
80
def getStatements(self):
81
warnMsg = "on eXtremeDB it is not possible to enumerate the SQL statements"
82
logger.warning(warnMsg)
83
84
return []
85
86