Path: blob/master/plugins/dbms/snowflake/enumeration.py
3556 views
#!/usr/bin/env python12"""3Copyright (c) 2006-2026 sqlmap developers (https://sqlmap.org)4See the file 'LICENSE' for copying permission5"""67from lib.core.data import logger8from lib.core.exception import SqlmapUnsupportedFeatureException9from plugins.generic.enumeration import Enumeration as GenericEnumeration1011class Enumeration(GenericEnumeration):12def getPasswordHashes(self):13warnMsg = "on Snowflake it is not possible to enumerate the user password hashes"14logger.warning(warnMsg)15return {}1617def getRoles(self, *args, **kwargs):18warnMsg = "on Snowflake it is not possible to enumerate the user roles"19logger.warning(warnMsg)2021return {}2223def searchDb(self):24warnMsg = "on Snowflake it is not possible to search databases"25logger.warning(warnMsg)26return []2728def searchColumn(self):29errMsg = "on Snowflake it is not possible to search columns"30raise SqlmapUnsupportedFeatureException(errMsg)313233