Update related to the #2677

This commit is contained in:
Miroslav Stampar 2017-10-20 10:00:26 +02:00
parent 4e611133c6
commit 311444a4ac
2 changed files with 2 additions and 2 deletions

View File

@ -1365,7 +1365,7 @@ def parseTargetDirect():
import pyodbc
elif dbmsName == DBMS.FIREBIRD:
import kinterbasdb
except ImportError:
except:
if _sqlalchemy and data[3] in _sqlalchemy.dialects.__all__:
pass
else:

View File

@ -46,7 +46,7 @@ def checkDependencies():
__import__("jpype")
elif dbmsName == DBMS.INFORMIX:
__import__("ibm_db_dbi")
except ImportError:
except:
warnMsg = "sqlmap requires '%s' third-party library " % data[1]
warnMsg += "in order to directly connect to the DBMS "
warnMsg += "'%s'. Download from %s" % (dbmsName, data[2])