mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
16 lines
374 B
Python
16 lines
374 B
Python
from lib.core.settings import (
|
|
logger,
|
|
set_color
|
|
)
|
|
|
|
|
|
def tamper(payload, warning=True, **kwargs):
|
|
if warning:
|
|
logger.warning(set_color(
|
|
"hex tamper scripts may increase the risk of false positives...", level=30
|
|
))
|
|
retval = hex(hash(payload))
|
|
if "-" in str(retval):
|
|
return retval[1:-1]
|
|
else:
|
|
return retval
|