Minor update

This commit is contained in:
Miroslav Stampar
2023-02-03 23:14:29 +01:00
parent 8962e152ac
commit b1aaac5ba2
8 changed files with 22 additions and 15 deletions

View File

@@ -1,3 +1,10 @@
#!/usr/bin/env python
"""
Copyright (c) 2006-2023 sqlmap developers (https://sqlmap.org/)
See the file 'LICENSE' for copying permission
"""
from lib.core.enums import DBMS
from lib.core.settings import CLICKHOUSE_SYSTEM_DBS
from lib.core.unescaper import unescaper
@@ -11,7 +18,7 @@ from plugins.generic.misc import Miscellaneous
class ClickhouseMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover):
"""
This class defines clickhouse methods
This class defines Clickhouse methods
"""
def __init__(self):
@@ -20,4 +27,4 @@ class ClickhouseMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous,
for cls in self.__class__.__bases__:
cls.__init__(self)
unescaper[DBMS.CLICKHOUSE] = Syntax.escape
unescaper[DBMS.CLICKHOUSE] = Syntax.escape