Skip to content

Commit a1bf89d

Browse files
committed
Fixes #5344
1 parent 99ea44c commit a1bf89d

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.7.2.16"
23+
VERSION = "1.7.2.17"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

plugins/dbms/clickhouse/enumeration.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@
55
See the file 'LICENSE' for copying permission
66
"""
77

8+
from lib.core.data import logger
89
from plugins.generic.enumeration import Enumeration as GenericEnumeration
910

1011
class Enumeration(GenericEnumeration):
11-
pass
12+
def getPasswordHashes(self):
13+
warnMsg = "on ClickHouse it is not possible to enumerate the user password hashes"
14+
logger.warning(warnMsg)
15+
16+
return {}
17+
18+
def getRoles(self, *args, **kwargs):
19+
warnMsg = "on ClickHouse it is not possible to enumerate the user roles"
20+
logger.warning(warnMsg)
21+
22+
return {}

0 commit comments

Comments
 (0)