mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Added DB2 support - patch provided by Sebastian Bittig
This commit is contained in:
parent
e00cf81f7e
commit
36c96ef796
18 changed files with 537 additions and 38 deletions
|
|
@ -97,6 +97,7 @@ 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
|
||||
from lib.core.settings import DB2_ALIASES
|
||||
from lib.core.settings import BURP_SPLITTER
|
||||
from lib.core.settings import LOCALHOST
|
||||
from lib.core.settings import MAX_NUMBER_OF_THREADS
|
||||
|
|
@ -757,9 +758,9 @@ def __setDBMS():
|
|||
errMsg += "it and sqlmap will fingerprint it for you."
|
||||
raise sqlmapUnsupportedDBMSException, errMsg
|
||||
|
||||
for aliases in (MSSQL_ALIASES, MYSQL_ALIASES, PGSQL_ALIASES, \
|
||||
ORACLE_ALIASES, SQLITE_ALIASES, ACCESS_ALIASES, \
|
||||
FIREBIRD_ALIASES, MAXDB_ALIASES, SYBASE_ALIASES):
|
||||
for aliases in (MSSQL_ALIASES, MYSQL_ALIASES, PGSQL_ALIASES, ORACLE_ALIASES, \
|
||||
SQLITE_ALIASES, ACCESS_ALIASES, FIREBIRD_ALIASES, \
|
||||
MAXDB_ALIASES, SYBASE_ALIASES, DB2_ALIASES):
|
||||
if conf.dbms in aliases:
|
||||
conf.dbms = aliases[0]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue