mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-12 02:22:55 +00:00
Adding support for Sybase into dbwire
This commit is contained in:
+23
-1
@@ -124,6 +124,28 @@ SYBASE_TYPES = {
|
||||
3: "binary",
|
||||
19: "text",
|
||||
20: "image",
|
||||
# the rest of master..systypes on ASE 15/16 - without these, --schema prints the raw user type number
|
||||
# for columns as ordinary as bigint, date and univarchar
|
||||
34: "unichar",
|
||||
35: "univarchar",
|
||||
36: "unitext",
|
||||
37: "date",
|
||||
38: "time",
|
||||
39: "daten",
|
||||
40: "timen",
|
||||
42: "longsysname",
|
||||
43: "bigint",
|
||||
44: "usmallint",
|
||||
45: "uint",
|
||||
46: "ubigint",
|
||||
47: "uintn",
|
||||
48: "bigdatetime",
|
||||
49: "bigtime",
|
||||
50: "bigdatetimen",
|
||||
51: "bigtimen",
|
||||
53: "text_locator",
|
||||
54: "image_locator",
|
||||
55: "unitext_locator",
|
||||
}
|
||||
|
||||
ALTIBASE_TYPES = {
|
||||
@@ -266,7 +288,7 @@ DBWIRE_MODULES = {
|
||||
DBMS.CRATEDB: "postgres", # CrateDB speaks the PostgreSQL wire protocol
|
||||
DBMS.MYSQL: "mysql",
|
||||
DBMS.MSSQL: "tds",
|
||||
DBMS.SYBASE: "tds",
|
||||
DBMS.SYBASE: "sybase", # ASE speaks TDS 5.0, a different login and token dialect than Microsoft's 7.x
|
||||
DBMS.CLICKHOUSE: "clickhouse",
|
||||
DBMS.MONETDB: "monetdb",
|
||||
DBMS.PRESTO: "presto",
|
||||
|
||||
@@ -20,7 +20,7 @@ from lib.core.enums import OS
|
||||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.8.31"
|
||||
VERSION = "1.10.8.32"
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user