Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a435ba6

Browse files
committed
Minor fix
1 parent 0aeb9db commit a435ba6

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

lib/request/inject.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
367367
through inband SQL injection (if selected) and/or blind SQL injection
368368
(if selected).
369369
"""
370+
370371
kb.safeCharEncode = safeCharEncode
371372
kb.resumeValues = resumeValue
372373

lib/utils/pivotdumptable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def pivotDumpTable(table, colList, count=None, blind=True):
110110
else:
111111
query = dumpNode.query2 % (column, table, colList[0], pivotValue)
112112

113-
value = unArrayizeValue(inject.getValue(query, blind=blind, inband=not blind, error=not blind))
113+
value = unArrayizeValue(inject.getValue(query, blind=blind, time=blind, inband=not blind, error=not blind))
114114

115115
if column == colList[0]:
116116
if isNoneValue(value):

plugins/generic/entries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def dumpTable(self, foundData=None):
147147
if not (isTechniqueAvailable(PAYLOAD.TECHNIQUE.UNION) and kb.injection.data[PAYLOAD.TECHNIQUE.UNION].where == PAYLOAD.WHERE.ORIGINAL):
148148
table = "%s.%s" % (conf.db, tbl)
149149

150-
retVal = pivotDumpTable(table, colList, blind=False, time=False)
150+
retVal = pivotDumpTable(table, colList, blind=False)
151151

152152
if retVal:
153153
entries, _ = retVal

plugins/generic/users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def getPasswordHashes(self):
182182
randStr = randomStr()
183183
getCurrentThreadData().disableStdOut = True
184184

185-
retVal = pivotDumpTable("(%s) AS %s" % (query, randStr), ['%s.name' % randStr, '%s.password' % randStr], blind=False, time=False)
185+
retVal = pivotDumpTable("(%s) AS %s" % (query, randStr), ['%s.name' % randStr, '%s.password' % randStr], blind=False)
186186

187187
if retVal:
188188
for user, password in filterPairValues(zip(retVal[0]["%s.name" % randStr], retVal[0]["%s.password" % randStr])):

0 commit comments

Comments
 (0)