Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5635776

Browse files
committed
proper SQLite 2 library
1 parent 91c0093 commit 5635776

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/dicts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
DBMS.MYSQL: (MYSQL_ALIASES, "python pymysql", "https://github.com/petehunt/PyMySQL/"),
131131
DBMS.PGSQL: (PGSQL_ALIASES, "python-psycopg2", "http://initd.org/psycopg/"),
132132
DBMS.ORACLE: (ORACLE_ALIASES, "python cx_Oracle", "http://cx-oracle.sourceforge.net/"),
133-
DBMS.SQLITE: (SQLITE_ALIASES, "python-pysqlite2", "http://pysqlite.googlecode.com/"),
133+
DBMS.SQLITE: (SQLITE_ALIASES, "python-sqlite", "http://packages.ubuntu.com/quantal/python-sqlite"),
134134
DBMS.ACCESS: (ACCESS_ALIASES, "python-pyodbc", "http://pyodbc.googlecode.com/"),
135135
DBMS.FIREBIRD: (FIREBIRD_ALIASES, "python-kinterbasdb", "http://kinterbasdb.sourceforge.net/"),
136136
DBMS.MAXDB: (MAXDB_ALIASES, None, None),

plugins/dbms/sqlite/connector.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222

2323
class Connector(GenericConnector):
2424
"""
25-
Homepage: http://pysqlite.googlecode.com/
25+
Homepage: http://pysqlite.googlecode.com/ and http://packages.ubuntu.com/quantal/python-sqlite
2626
User guide: http://docs.python.org/release/2.5/lib/module-sqlite3.html
2727
API: http://docs.python.org/library/sqlite3.html
28-
Debian package: python-pysqlite2 (SQLite 2), python-pysqlite3 (SQLite 3)
28+
Debian package: python-sqlite (SQLite 2), python-pysqlite3 (SQLite 3)
2929
License: MIT
3030
3131
Possible connectors: http://wiki.python.org/moin/SQLite
@@ -54,7 +54,7 @@ def connect(self):
5454
try:
5555
import sqlite
5656
except ImportError:
57-
errMsg = "sqlmap requires 'python-sqlite2' third-party library "
57+
errMsg = "sqlmap requires 'python-sqlite' third-party library "
5858
errMsg += "in order to directly connect to the database '%s'" % self.db
5959
raise SqlmapMissingDependence(errMsg)
6060

0 commit comments

Comments
 (0)