diff --git a/doc/THANKS b/doc/THANKS index ae1c96878..194bc788b 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -212,6 +212,9 @@ Nico Leidecker Gabriel Lima for reporting a couple of bugs +Mark Lowe + for reporting a bug + Truong Duc Luong for reporting a minor bug diff --git a/lib/core/replication.py b/lib/core/replication.py index c79a21696..57c493a62 100644 --- a/lib/core/replication.py +++ b/lib/core/replication.py @@ -7,7 +7,10 @@ Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/) See the file 'doc/COPYING' for copying permission """ -import sqlite3 +try: + import sqlite3 +except ImportError, _: + pass class Replication: """ diff --git a/plugins/dbms/sqlite/connector.py b/plugins/dbms/sqlite/connector.py index fb554a707..0414a9626 100644 --- a/plugins/dbms/sqlite/connector.py +++ b/plugins/dbms/sqlite/connector.py @@ -7,7 +7,10 @@ Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/) See the file 'doc/COPYING' for copying permission """ -import sqlite3 +try: + import sqlite3 +except ImportError, _: + pass from lib.core.convert import utf8encode from lib.core.data import conf