mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
added check for DB2 lib
This commit is contained in:
parent
a38b3e397c
commit
5e059ab6db
|
@ -39,6 +39,8 @@ def checkDependencies():
|
||||||
import pyodbc
|
import pyodbc
|
||||||
elif dbmsName == DBMS.FIREBIRD:
|
elif dbmsName == DBMS.FIREBIRD:
|
||||||
import kinterbasdb
|
import kinterbasdb
|
||||||
|
elif dbmsName == DBMS.DB2:
|
||||||
|
import ibm_db_dbi
|
||||||
except ImportError:
|
except ImportError:
|
||||||
warnMsg = "sqlmap requires '%s' third-party library " % data[1]
|
warnMsg = "sqlmap requires '%s' third-party library " % data[1]
|
||||||
warnMsg += "in order to directly connect to the database "
|
warnMsg += "in order to directly connect to the database "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user