Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sqlmapproject
GitHub Repository: sqlmapproject/sqlmap
Path: blob/master/plugins/dbms/postgresql/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
10
from plugins.generic.enumeration import Enumeration as GenericEnumeration
11
12
class Enumeration(GenericEnumeration):
13
def getHostname(self):
14
warnMsg = "on PostgreSQL it is not possible to enumerate the hostname"
15
logger.warning(warnMsg)
16
17