Bug fix (in --dump mode if error/inband failed with None other techniques were ignored)

This commit is contained in:
Miroslav Stampar 2012-10-27 23:42:52 +02:00
parent 06805b27f2
commit 0aeb9dbe8b
2 changed files with 21 additions and 23 deletions

View File

@ -367,7 +367,6 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
through inband SQL injection (if selected) and/or blind SQL injection
(if selected).
"""
kb.safeCharEncode = safeCharEncode
kb.resumeValues = resumeValue

View File

@ -162,9 +162,8 @@ class Entries:
if not entries and query:
entries = inject.getValue(query, blind=False, time=False, dump=True)
if isNoneValue(entries):
entries = []
elif isinstance(entries, basestring):
if not isNoneValue(entries):
if isinstance(entries, basestring):
entries = [entries]
elif not isListLike(entries):
entries = []