mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
16 lines
No EOL
401 B
Python
16 lines
No EOL
401 B
Python
import base64
|
|
|
|
from lib.core.settings import (
|
|
logger,
|
|
set_color
|
|
)
|
|
|
|
|
|
def tamper(payload, **kwargs):
|
|
warning = kwargs.get("warning", True)
|
|
if warning:
|
|
logger.warning(set_color(
|
|
"base64 tamper scripts may increase the possibility of not finding vulnerabilities "
|
|
"in otherwise vulnerable sites...", level=30
|
|
))
|
|
return base64.b64encode(payload) |