mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor update for Sybase regarding last commit
This commit is contained in:
parent
b72cdfe9e6
commit
7ea45e9032
|
@ -898,7 +898,7 @@ class Enumeration:
|
|||
if "." in conf.tbl:
|
||||
if not conf.db:
|
||||
conf.db, conf.tbl = conf.tbl.split(".")
|
||||
elif Backend.getIdentifiedDbms() == DBMS.MSSQL:
|
||||
elif Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE):
|
||||
conf.tbl = "dbo.%s" % conf.tbl
|
||||
|
||||
self.forceDbmsEnum()
|
||||
|
@ -1209,7 +1209,7 @@ class Enumeration:
|
|||
if "." in conf.tbl:
|
||||
if not conf.db:
|
||||
conf.db, conf.tbl = conf.tbl.split(".")
|
||||
elif Backend.getIdentifiedDbms() == DBMS.MSSQL:
|
||||
elif Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE):
|
||||
conf.tbl = "dbo.%s" % conf.tbl
|
||||
|
||||
self.forceDbmsEnum()
|
||||
|
@ -1288,7 +1288,7 @@ class Enumeration:
|
|||
elif Backend.getIdentifiedDbms() == DBMS.SQLITE:
|
||||
query = rootQuery.inband.query % (colString, conf.tbl)
|
||||
elif Backend.getIdentifiedDbms() == DBMS.SYBASE:
|
||||
table = "%s..%s" % (conf.db, conf.tbl)
|
||||
table = "%s.%s" % (conf.db, conf.tbl)
|
||||
entries, _ = self.__pivotDumpTable(table, colList, blind=False)
|
||||
entries = zip(*[entries[colName] for colName in colList])
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user