mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-23 19:34:13 +03:00
Minor fix
This commit is contained in:
parent
1e8eb27156
commit
fec88f6a6d
|
@ -920,7 +920,7 @@ def parseTargetDirect():
|
||||||
errMsg = "missing remote connection details"
|
errMsg = "missing remote connection details"
|
||||||
raise sqlmapSyntaxException, errMsg
|
raise sqlmapSyntaxException, errMsg
|
||||||
|
|
||||||
if dbmsName == DBMS.MSSQL:
|
if dbmsName in (DBMS.MSSQL, DBMS.SYBASE):
|
||||||
import _mssql
|
import _mssql
|
||||||
import pymssql
|
import pymssql
|
||||||
|
|
||||||
|
|
|
@ -25,15 +25,15 @@ class SORTORDER:
|
||||||
LAST = 100
|
LAST = 100
|
||||||
|
|
||||||
class DBMS:
|
class DBMS:
|
||||||
ACCESS = "Microsoft Access"
|
ACCESS = "Microsoft Access"
|
||||||
FIREBIRD = "Firebird"
|
FIREBIRD = "Firebird"
|
||||||
MAXDB = "SAP MaxDB"
|
MAXDB = "SAP MaxDB"
|
||||||
MSSQL = "Microsoft SQL Server"
|
MSSQL = "Microsoft SQL Server"
|
||||||
MYSQL = "MySQL"
|
MYSQL = "MySQL"
|
||||||
ORACLE = "Oracle"
|
ORACLE = "Oracle"
|
||||||
PGSQL = "PostgreSQL"
|
PGSQL = "PostgreSQL"
|
||||||
SQLITE = "SQLite"
|
SQLITE = "SQLite"
|
||||||
SYBASE = "Sybase"
|
SYBASE = "Sybase"
|
||||||
|
|
||||||
class PLACE:
|
class PLACE:
|
||||||
GET = "GET"
|
GET = "GET"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user