Skip to content

Commit 99f07b6

Browse files
committed
Fix related to the #5122
1 parent 07ae377 commit 99f07b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
134134
origValue = extractRegexResult(r"%s\s*:\s*(?P<result>\d+)\Z" % quote, origValue) or extractRegexResult(r"(?P<result>[^%s]*)\Z" % quote, origValue)
135135
else:
136136
_ = extractRegexResult(r"(?s)(?P<result>[^\s<>{}();'\"&]+\Z)", origValue) or ""
137-
origValue = _.split('=', 1)[1] if '=' in _ else ""
137+
origValue = _.split('=', 1)[1] if '=' in _ else _
138138
elif place == PLACE.CUSTOM_HEADER:
139139
paramString = origValue
140140
origValue = origValue[origValue.find(',') + 1:]

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.6.3"
23+
VERSION = "1.6.6.4"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)