mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 03:03:50 +00:00
Patch related to the #3927
This commit is contained in:
parent
6ec6e86937
commit
cc8209d648
4 changed files with 12 additions and 12 deletions
|
|
@ -623,7 +623,7 @@ def paramToDict(place, parameters=None):
|
|||
if parameter in (conf.base64Parameter or []):
|
||||
try:
|
||||
oldValue = value
|
||||
value = decodeBase64(value, binary=False)
|
||||
value = decodeBase64(value, binary=False, encoding=conf.encoding or UNICODE_ENCODING)
|
||||
parameters = re.sub(r"\b%s(\b|\Z)" % re.escape(oldValue), value, parameters)
|
||||
except:
|
||||
errMsg = "parameter '%s' does not contain " % parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue