Adding support for CockroachDB (Postgres fork)

This commit is contained in:
Miroslav Stampar
2020-01-21 23:19:11 +01:00
parent 4be7c7dcee
commit 20700fd6b9
5 changed files with 28 additions and 9 deletions

View File

@@ -70,6 +70,7 @@ class DBMS_DIRECTORY_NAME(object):
class FORK(object):
MARIADB = "MariaDB"
MEMSQL = "MemSQL"
COCKROACHDB = "CockroachDB"
class CUSTOM_LOGGING(object):
PAYLOAD = 9

View File

@@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.4.1.34"
VERSION = "1.4.1.35"
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)