Skip to content

Commit b1aaac5

Browse files
committed
Minor update
1 parent 8962e15 commit b1aaac5

File tree

8 files changed

+22
-15
lines changed

8 files changed

+22
-15
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.0"
23+
VERSION = "1.7.2.1"
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/__init__.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/usr/bin/env python
2+
3+
"""
4+
Copyright (c) 2006-2023 sqlmap developers (https://sqlmap.org/)
5+
See the file 'LICENSE' for copying permission
6+
"""
7+
18
from lib.core.enums import DBMS
29
from lib.core.settings import CLICKHOUSE_SYSTEM_DBS
310
from lib.core.unescaper import unescaper
@@ -11,7 +18,7 @@
1118

1219
class ClickhouseMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover):
1320
"""
14-
This class defines clickhouse methods
21+
This class defines Clickhouse methods
1522
"""
1623

1724
def __init__(self):
@@ -20,4 +27,4 @@ def __init__(self):
2027
for cls in self.__class__.__bases__:
2128
cls.__init__(self)
2229

23-
unescaper[DBMS.CLICKHOUSE] = Syntax.escape
30+
unescaper[DBMS.CLICKHOUSE] = Syntax.escape

plugins/dbms/clickhouse/connector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
"""
4-
Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/)
4+
Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/)
55
See the file 'LICENSE' for copying permission
66
"""
77

@@ -11,4 +11,4 @@
1111
from plugins.generic.connector import Connector as GenericConnector
1212

1313
class Connector(GenericConnector):
14-
pass
14+
pass
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env python
22

33
"""
4-
Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/)
4+
Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/)
55
See the file 'LICENSE' for copying permission
66
"""
77

88
from lib.core.data import logger
99
from plugins.generic.enumeration import Enumeration as GenericEnumeration
1010

1111
class Enumeration(GenericEnumeration):
12-
pass
12+
pass

plugins/dbms/clickhouse/filesystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env python
22

33
"""
4-
Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/)
4+
Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/)
55
See the file 'LICENSE' for copying permission
66
"""
77

88
from plugins.generic.filesystem import Filesystem as GenericFilesystem
99

1010
class Filesystem(GenericFilesystem):
11-
pass
11+
pass

plugins/dbms/clickhouse/fingerprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
"""
4-
Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/)
4+
Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/)
55
See the file 'LICENSE' for copying permission
66
"""
77

@@ -88,4 +88,4 @@ def checkDbms(self):
8888
warnMsg = "the back-end DBMS is not %s" % DBMS.CLICKHOUSE
8989
logger.warn(warnMsg)
9090

91-
return False
91+
return False

plugins/dbms/clickhouse/syntax.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
"""
4-
Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/)
4+
Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/)
55
See the file 'LICENSE' for copying permission
66
"""
77

@@ -15,4 +15,4 @@ def escape(expression, quote=True):
1515
True
1616
"""
1717

18-
return expression
18+
return expression

plugins/dbms/clickhouse/takeover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env python
22

33
"""
4-
Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/)
4+
Copyright (c) 2006-2023 sqlmap developers (http://sqlmap.org/)
55
See the file 'LICENSE' for copying permission
66
"""
77

88
from plugins.generic.takeover import Takeover as GenericTakeover
99

1010
class Takeover(GenericTakeover):
11-
pass
11+
pass

0 commit comments

Comments
 (0)