mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Adding initial support for Informix (Issue #552)
This commit is contained in:
parent
640e605412
commit
1b48ff223d
17 changed files with 383 additions and 7 deletions
|
|
@ -110,7 +110,10 @@ class Entries:
|
|||
kb.data.cachedColumns = foundData
|
||||
|
||||
try:
|
||||
kb.dumpTable = "%s.%s" % (conf.db, tbl)
|
||||
if Backend.isDbms(DBMS.INFORMIX):
|
||||
kb.dumpTable = "%s:%s" % (conf.db, tbl)
|
||||
else:
|
||||
kb.dumpTable = "%s.%s" % (conf.db, tbl)
|
||||
|
||||
if not safeSQLIdentificatorNaming(conf.db) in kb.data.cachedColumns \
|
||||
or safeSQLIdentificatorNaming(tbl, True) not in \
|
||||
|
|
@ -236,6 +239,8 @@ class Entries:
|
|||
query = rootQuery.blind.count % ("%s.%s" % (conf.db, tbl))
|
||||
elif Backend.isDbms(DBMS.MAXDB):
|
||||
query = rootQuery.blind.count % tbl
|
||||
elif Backend.isDbms(DBMS.INFORMIX):
|
||||
query = rootQuery.blind.count % (conf.db, tbl)
|
||||
else:
|
||||
query = rootQuery.blind.count % (conf.db, tbl)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue