Minor fix

This commit is contained in:
Bernardo Damele 2011-02-04 15:57:53 +00:00
parent 1e8eb27156
commit fec88f6a6d
2 changed files with 10 additions and 10 deletions

View File

@ -920,7 +920,7 @@ def parseTargetDirect():
errMsg = "missing remote connection details"
raise sqlmapSyntaxException, errMsg
if dbmsName == DBMS.MSSQL:
if dbmsName in (DBMS.MSSQL, DBMS.SYBASE):
import _mssql
import pymssql

View File

@ -25,15 +25,15 @@ class SORTORDER:
LAST = 100
class DBMS:
ACCESS = "Microsoft Access"
FIREBIRD = "Firebird"
MAXDB = "SAP MaxDB"
MSSQL = "Microsoft SQL Server"
MYSQL = "MySQL"
ORACLE = "Oracle"
PGSQL = "PostgreSQL"
SQLITE = "SQLite"
SYBASE = "Sybase"
ACCESS = "Microsoft Access"
FIREBIRD = "Firebird"
MAXDB = "SAP MaxDB"
MSSQL = "Microsoft SQL Server"
MYSQL = "MySQL"
ORACLE = "Oracle"
PGSQL = "PostgreSQL"
SQLITE = "SQLite"
SYBASE = "Sybase"
class PLACE:
GET = "GET"