mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-12 17:22:36 +03:00
fix for a bug reported by seyi.akin@gmail.com
This commit is contained in:
parent
8978fded03
commit
60ecf95383
|
@ -3,6 +3,9 @@
|
||||||
Santiago Accurso <saccurso@skygear.com.ar>
|
Santiago Accurso <saccurso@skygear.com.ar>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
|
|
||||||
|
Olu Akindeinde <seyi.akin@gmail.com>
|
||||||
|
for reporting a minor bug
|
||||||
|
|
||||||
David Alvarez <david.alvarez.s@gmail.com>
|
David Alvarez <david.alvarez.s@gmail.com>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
|
|
||||||
|
|
|
@ -217,7 +217,7 @@ class Enumeration(GenericEnumeration):
|
||||||
columns = {}
|
columns = {}
|
||||||
|
|
||||||
for name, type_ in zip(retVal[0]["%s.name" % randStr], retVal[0]["%s.usertype" % randStr]):
|
for name, type_ in zip(retVal[0]["%s.name" % randStr], retVal[0]["%s.usertype" % randStr]):
|
||||||
columns[name] = sybaseTypes[type_] if type_ else None
|
columns[name] = sybaseTypes.get(type_, type_)
|
||||||
|
|
||||||
table[tbl] = columns
|
table[tbl] = columns
|
||||||
kb.data.cachedColumns[conf.db] = table
|
kb.data.cachedColumns[conf.db] = table
|
||||||
|
|
|
@ -1198,7 +1198,7 @@ class Enumeration:
|
||||||
colType = inject.getValue(query, inband=False, error=False)
|
colType = inject.getValue(query, inband=False, error=False)
|
||||||
|
|
||||||
if Backend.isDbms(DBMS.FIREBIRD):
|
if Backend.isDbms(DBMS.FIREBIRD):
|
||||||
colType = firebirdTypes[colType] if colType in firebirdTypes else colType
|
colType = firebirdTypes.get(colType, colType)
|
||||||
|
|
||||||
column = safeSQLIdentificatorNaming(column)
|
column = safeSQLIdentificatorNaming(column)
|
||||||
columns[column] = colType
|
columns[column] = colType
|
||||||
|
|
Loading…
Reference in New Issue
Block a user