mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Minor fix
This commit is contained in:
parent
31684dbc89
commit
099e931a15
|
@ -8,6 +8,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
import base64
|
||||
|
||||
from lib.core.enums import PRIORITY
|
||||
from lib.core.settings import UNICODE_ENCODING
|
||||
|
||||
__priority__ = PRIORITY.LOWEST
|
||||
|
||||
|
@ -22,4 +23,4 @@ def tamper(payload, **kwargs):
|
|||
'MScgQU5EIFNMRUVQKDUpIw=='
|
||||
"""
|
||||
|
||||
return base64.b64encode(payload) if payload else payload
|
||||
return base64.b64encode(payload.encode(UNICODE_ENCODING)) if payload else payload
|
||||
|
|
Loading…
Reference in New Issue
Block a user