mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Stabilizing DREI
This commit is contained in:
parent
d8c62e0beb
commit
f6f6844a0d
52 changed files with 347 additions and 334 deletions
|
|
@ -5,10 +5,8 @@ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
|
|||
See the file 'LICENSE' for copying permission
|
||||
"""
|
||||
|
||||
import base64
|
||||
|
||||
from lib.core.convert import encodeBase64
|
||||
from lib.core.enums import PRIORITY
|
||||
from lib.core.settings import UNICODE_ENCODING
|
||||
|
||||
__priority__ = PRIORITY.LOW
|
||||
|
||||
|
|
@ -23,4 +21,4 @@ def tamper(payload, **kwargs):
|
|||
'MScgQU5EIFNMRUVQKDUpIw=='
|
||||
"""
|
||||
|
||||
return base64.b64encode(payload.encode(UNICODE_ENCODING)) if payload else payload
|
||||
return encodeBase64(payload, binary=False) if payload else payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue