mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
actual implementation of issue #75, still some work to do
This commit is contained in:
parent
3a94953ae2
commit
ee3aeb8dcf
2 changed files with 9 additions and 1 deletions
|
|
@ -1740,7 +1740,12 @@ class Enumeration:
|
|||
elif Backend.isDbms(DBMS.FIREBIRD):
|
||||
query = rootQuery.blind.query % (index, column, tbl)
|
||||
|
||||
value = inject.getValue(query, inband=False, error=False, dump=True)
|
||||
# Skip enumeration of cells that have a value length of 0
|
||||
if not inject.checkBooleanExpression(agent.forgeQueryOutputLengthZero(query)):
|
||||
logger.debug(query)
|
||||
value = ""
|
||||
else:
|
||||
value = inject.getValue(query, inband=False, error=False, dump=True)
|
||||
|
||||
lengths[column] = max(lengths[column], len(value) if value else 0)
|
||||
entries[column].append(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue