We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31684db commit 099e931Copy full SHA for 099e931
1 file changed
tamper/base64encode.py
@@ -8,6 +8,7 @@
8
import base64
9
10
from lib.core.enums import PRIORITY
11
+from lib.core.settings import UNICODE_ENCODING
12
13
__priority__ = PRIORITY.LOWEST
14
@@ -22,4 +23,4 @@ def tamper(payload, **kwargs):
22
23
'MScgQU5EIFNMRUVQKDUpIw=='
24
"""
25
- return base64.b64encode(payload) if payload else payload
26
+ return base64.b64encode(payload.encode(UNICODE_ENCODING)) if payload else payload
0 commit comments