sqlmap/plugins/dbms/informix/enumeration.py

39 lines
1022 B
Python
Raw Permalink Normal View History

2019-05-08 13:47:52 +03:00
#!/usr/bin/env python
"""
2022-01-03 13:30:34 +03:00
Copyright (c) 2006-2022 sqlmap developers (https://sqlmap.org/)
2017-10-11 15:50:46 +03:00
See the file 'LICENSE' for copying permission
"""
2016-12-10 01:19:03 +03:00
from lib.core.data import logger
from plugins.generic.enumeration import Enumeration as GenericEnumeration
class Enumeration(GenericEnumeration):
2016-12-10 01:14:18 +03:00
def searchDb(self):
warnMsg = "on Informix searching of databases is not implemented"
logger.warning(warnMsg)
2016-12-10 01:14:18 +03:00
return []
def searchTable(self):
warnMsg = "on Informix searching of tables is not implemented"
logger.warning(warnMsg)
2016-12-10 01:14:18 +03:00
return []
def searchColumn(self):
warnMsg = "on Informix searching of columns is not implemented"
logger.warning(warnMsg)
2016-12-10 01:14:18 +03:00
return []
def search(self):
warnMsg = "on Informix search option is not available"
logger.warning(warnMsg)
2019-05-29 16:52:33 +03:00
def getStatements(self):
warnMsg = "on Informix it is not possible to enumerate the SQL statements"
logger.warning(warnMsg)
2019-05-29 16:52:33 +03:00
return []