mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
minor refactoring
This commit is contained in:
parent
33cbbed4a8
commit
fed178646a
|
@ -1712,6 +1712,7 @@ class Enumeration:
|
||||||
table = "%s.%s" % (conf.db, tbl)
|
table = "%s.%s" % (conf.db, tbl)
|
||||||
|
|
||||||
retVal = self.__pivotDumpTable(table, colList, count, blind=True)
|
retVal = self.__pivotDumpTable(table, colList, count, blind=True)
|
||||||
|
|
||||||
if retVal:
|
if retVal:
|
||||||
entries, lengths = retVal
|
entries, lengths = retVal
|
||||||
|
|
||||||
|
@ -1722,6 +1723,8 @@ class Enumeration:
|
||||||
try:
|
try:
|
||||||
for index in indexRange:
|
for index in indexRange:
|
||||||
for column in colList:
|
for column in colList:
|
||||||
|
value = ""
|
||||||
|
|
||||||
if column not in lengths:
|
if column not in lengths:
|
||||||
lengths[column] = 0
|
lengths[column] = 0
|
||||||
|
|
||||||
|
@ -1743,7 +1746,6 @@ class Enumeration:
|
||||||
# Skip enumeration of cells that have a value length of 0
|
# Skip enumeration of cells that have a value length of 0
|
||||||
if not inject.checkBooleanExpression(agent.forgeQueryOutputLengthZero(query)):
|
if not inject.checkBooleanExpression(agent.forgeQueryOutputLengthZero(query)):
|
||||||
logger.debug("column '%s', entry %d is blank" % (column, index+1))
|
logger.debug("column '%s', entry %d is blank" % (column, index+1))
|
||||||
value = ""
|
|
||||||
else:
|
else:
|
||||||
value = inject.getValue(query, inband=False, error=False, dump=True)
|
value = inject.getValue(query, inband=False, error=False, dump=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user