mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Bug fix (in --dump mode if error/inband failed with None other techniques were ignored)
This commit is contained in:
parent
06805b27f2
commit
0aeb9dbe8b
|
@ -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
|
through inband SQL injection (if selected) and/or blind SQL injection
|
||||||
(if selected).
|
(if selected).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
kb.safeCharEncode = safeCharEncode
|
kb.safeCharEncode = safeCharEncode
|
||||||
kb.resumeValues = resumeValue
|
kb.resumeValues = resumeValue
|
||||||
|
|
||||||
|
|
|
@ -162,9 +162,8 @@ class Entries:
|
||||||
if not entries and query:
|
if not entries and query:
|
||||||
entries = inject.getValue(query, blind=False, time=False, dump=True)
|
entries = inject.getValue(query, blind=False, time=False, dump=True)
|
||||||
|
|
||||||
if isNoneValue(entries):
|
if not isNoneValue(entries):
|
||||||
entries = []
|
if isinstance(entries, basestring):
|
||||||
elif isinstance(entries, basestring):
|
|
||||||
entries = [entries]
|
entries = [entries]
|
||||||
elif not isListLike(entries):
|
elif not isListLike(entries):
|
||||||
entries = []
|
entries = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user