From af99105c27d6b0d28ef8798032c015cd2bef659c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 1 Feb 2011 22:45:38 +0000 Subject: [PATCH] lol. sybase and maxdb were just ignored while fingerprinted because they weren't in dbmsDict screwing half of dbms related functions (most notably aliasToDbmsEnum) --- doc/THANKS | 3 +++ lib/core/data.py | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/THANKS b/doc/THANKS index 5a83db8e7..2d2d7496d 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -322,6 +322,9 @@ Richard Safran Tomoyuki Sakurai for submitting to the FreeBSD project the sqlmap 0.5 port +Pedro Jacques Santos Santiago + for reporting a bug + Marek Sarvas for reporting several bugs diff --git a/lib/core/data.py b/lib/core/data.py index a612162d1..d4199a0b1 100644 --- a/lib/core/data.py +++ b/lib/core/data.py @@ -17,6 +17,8 @@ from lib.core.settings import ORACLE_ALIASES from lib.core.settings import SQLITE_ALIASES from lib.core.settings import ACCESS_ALIASES from lib.core.settings import FIREBIRD_ALIASES +from lib.core.settings import MAXDB_ALIASES +from lib.core.settings import SYBASE_ALIASES # sqlmap paths paths = advancedDict() @@ -43,4 +45,7 @@ dbmsDict = { DBMS.MSSQL: [MSSQL_ALIASES, "python-pymssql", "http://pymssql.sourc DBMS.ORACLE: [ORACLE_ALIASES, "python cx_Oracle", "http://cx-oracle.sourceforge.net/"], DBMS.SQLITE: [SQLITE_ALIASES, "python-pysqlite2", "http://pysqlite.googlecode.com/"], DBMS.ACCESS: [ACCESS_ALIASES, "python-pyodbc", "http://pyodbc.googlecode.com/"], - DBMS.FIREBIRD: [FIREBIRD_ALIASES, "python-kinterbasdb", "http://kinterbasdb.sourceforge.net/"] } + DBMS.FIREBIRD: [FIREBIRD_ALIASES, "python-kinterbasdb", "http://kinterbasdb.sourceforge.net/"], + DBMS.MAXDB: [MAXDB_ALIASES, None, None], + DBMS.SYBASE: [SYBASE_ALIASES, "python-pymssql", "http://pymssql.sourceforge.net/"] + }