sqlmap/plugins/dbms/db2/enumeration.py

20 lines
506 B
Python
Raw Normal View History

#!/usr/bin/env python
"""
2018-01-02 02:48:10 +03:00
Copyright (c) 2006-2018 sqlmap developers (http://sqlmap.org/)
2017-10-11 15:50:46 +03:00
See the file 'LICENSE' for copying permission
"""
from lib.core.data import logger
from plugins.generic.enumeration import Enumeration as GenericEnumeration
class Enumeration(GenericEnumeration):
def __init__(self):
2013-01-04 02:57:07 +04:00
GenericEnumeration.__init__(self)
2014-08-20 23:07:19 +04:00
def getPasswordHashes(self):
warnMsg = "on DB2 it is not possible to list password hashes"
logger.warn(warnMsg)
2013-01-10 16:18:44 +04:00
return {}