From b1aaac5ba28bb20e8ec8346704baed15ce192c17 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 3 Feb 2023 23:14:29 +0100 Subject: [PATCH] Minor update --- lib/core/settings.py | 2 +- plugins/dbms/clickhouse/__init__.py | 11 +++++++++-- plugins/dbms/clickhouse/connector.py | 4 ++-- plugins/dbms/clickhouse/enumeration.py | 4 ++-- plugins/dbms/clickhouse/filesystem.py | 4 ++-- plugins/dbms/clickhouse/fingerprint.py | 4 ++-- plugins/dbms/clickhouse/syntax.py | 4 ++-- plugins/dbms/clickhouse/takeover.py | 4 ++-- 8 files changed, 22 insertions(+), 15 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 05f1bad9d..b7496e467 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.7.2.0" +VERSION = "1.7.2.1" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/plugins/dbms/clickhouse/__init__.py b/plugins/dbms/clickhouse/__init__.py index 2036e49eb..88db47a80 100755 --- a/plugins/dbms/clickhouse/__init__.py +++ b/plugins/dbms/clickhouse/__init__.py @@ -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 \ No newline at end of file + unescaper[DBMS.CLICKHOUSE] = Syntax.escape diff --git a/plugins/dbms/clickhouse/connector.py b/plugins/dbms/clickhouse/connector.py index e9a9bda21..76d1d77e1 100755 --- a/plugins/dbms/clickhouse/connector.py +++ b/plugins/dbms/clickhouse/connector.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """ -Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/) +Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ @@ -11,4 +11,4 @@ from lib.core.exception import SqlmapConnectionException from plugins.generic.connector import Connector as GenericConnector class Connector(GenericConnector): - pass \ No newline at end of file + pass diff --git a/plugins/dbms/clickhouse/enumeration.py b/plugins/dbms/clickhouse/enumeration.py index d2bf57411..4a1cdb92f 100755 --- a/plugins/dbms/clickhouse/enumeration.py +++ b/plugins/dbms/clickhouse/enumeration.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """ -Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/) +Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ @@ -9,4 +9,4 @@ from lib.core.data import logger from plugins.generic.enumeration import Enumeration as GenericEnumeration class Enumeration(GenericEnumeration): - pass \ No newline at end of file + pass diff --git a/plugins/dbms/clickhouse/filesystem.py b/plugins/dbms/clickhouse/filesystem.py index af9b2e07f..5991a52d8 100755 --- a/plugins/dbms/clickhouse/filesystem.py +++ b/plugins/dbms/clickhouse/filesystem.py @@ -1,11 +1,11 @@ #!/usr/bin/env python """ -Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/) +Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ from plugins.generic.filesystem import Filesystem as GenericFilesystem class Filesystem(GenericFilesystem): - pass \ No newline at end of file + pass diff --git a/plugins/dbms/clickhouse/fingerprint.py b/plugins/dbms/clickhouse/fingerprint.py index 89c926ab9..5b2b5fe3c 100755 --- a/plugins/dbms/clickhouse/fingerprint.py +++ b/plugins/dbms/clickhouse/fingerprint.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """ -Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/) +Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ @@ -88,4 +88,4 @@ class Fingerprint(GenericFingerprint): warnMsg = "the back-end DBMS is not %s" % DBMS.CLICKHOUSE logger.warn(warnMsg) - return False \ No newline at end of file + return False diff --git a/plugins/dbms/clickhouse/syntax.py b/plugins/dbms/clickhouse/syntax.py index 86f120e7f..5adee2f51 100755 --- a/plugins/dbms/clickhouse/syntax.py +++ b/plugins/dbms/clickhouse/syntax.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """ -Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/) +Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ @@ -15,4 +15,4 @@ class Syntax(GenericSyntax): True """ - return expression \ No newline at end of file + return expression diff --git a/plugins/dbms/clickhouse/takeover.py b/plugins/dbms/clickhouse/takeover.py index f9539ee66..f061c2469 100755 --- a/plugins/dbms/clickhouse/takeover.py +++ b/plugins/dbms/clickhouse/takeover.py @@ -1,11 +1,11 @@ #!/usr/bin/env python """ -Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/) +Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ from plugins.generic.takeover import Takeover as GenericTakeover class Takeover(GenericTakeover): - pass \ No newline at end of file + pass