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

Skip to content

Commit d5a2ffc

Browse files
committed
Patch for Issue #4211
1 parent ddf8b1b commit d5a2ffc

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lib/core/agent.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
178178
_newValue = newValue
179179
_origValue = origValue
180180

181+
if newValue:
182+
newValue = newValue.replace(BOUNDARY_BACKSLASH_MARKER, '\\')
183+
newValue = self.adjustLateValues(newValue)
184+
181185
# TODO: support for POST_HINT
182186
newValue = encodeBase64(newValue, binary=False, encoding=conf.encoding or UNICODE_ENCODING)
183187
origValue = encodeBase64(origValue, binary=False, encoding=conf.encoding or UNICODE_ENCODING)

lib/core/settings.py

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

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.5.27"
21+
VERSION = "1.4.5.28"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
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)