mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Adding --hex for ClickHouse
This commit is contained in:
parent
8b70a392a1
commit
1d263f22c3
3 changed files with 3 additions and 1 deletions
|
|
@ -1347,6 +1347,7 @@
|
|||
<dbms value="ClickHouse">
|
||||
<cast query="CAST(%s AS Nullable(String))"/>
|
||||
<length query="length(%s)"/>
|
||||
<hex query="hex(%s)"/>
|
||||
<isnull query="ifNull(%s, '')"/>
|
||||
<delimiter query="||"/>
|
||||
<limit query="LIMIT %d OFFSET %d"/>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.7.203"
|
||||
VERSION = "1.10.7.204"
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ NULL_WRAPPER = {
|
|||
# hexConvertField: dialects that DO have a hex function, mapped to its token.
|
||||
HEX_FUNCTION = {
|
||||
"Altibase": "HEX_ENCODE(",
|
||||
"ClickHouse": "hex(",
|
||||
"Cubrid": "HEX(",
|
||||
"H2": "RAWTOHEX(",
|
||||
"IBM DB2": "HEX(",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue