mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor fix for --dump --technique=B when empty strings are returned
This commit is contained in:
parent
21481df239
commit
3f596cda85
2 changed files with 2 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||
value = __goInferenceProxy(query, fromUser, batch, unpack, charsetType, firstChar, lastChar, dump)
|
||||
|
||||
if value and isinstance(value, basestring):
|
||||
value = value.strip()
|
||||
value = value.strip() if value.strip() else value[:1]
|
||||
else:
|
||||
errMsg = "none of the injection types identified can be "
|
||||
errMsg += "leveraged to retrieve queries output"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue