mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-26 01:53:48 +00:00
Taking some goodies from Pull request #284
This commit is contained in:
parent
6b39e661a7
commit
0f191f624c
18 changed files with 49 additions and 55 deletions
|
|
@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
|
||||
try:
|
||||
import sqlite3
|
||||
except ImportError, _:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
import logging
|
||||
|
|
@ -53,7 +53,7 @@ class Connector(GenericConnector):
|
|||
try:
|
||||
try:
|
||||
import sqlite
|
||||
except ImportError, _:
|
||||
except ImportError:
|
||||
errMsg = "sqlmap requires 'python-sqlite2' third-party library "
|
||||
errMsg += "in order to directly connect to the database '%s'" % self.db
|
||||
raise sqlmapMissingDependence, errMsg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue