Re:Python Malware Starting to Employ Anti-Debug Techniques
by beardog on Friday December 23, 2022 @04:59PM
(#34111062)
>Also eval/exec are terrible and I wish there were a mode to disable their usage,
You can use audit hooks in the sys module (as long as you load it first) to disable eval/exec/process spawning or even arbitrary imports or network requests.
You can use audit hooks in the sys module (as long as you load it first) to disable eval/exec/process spawning or even arbitrary imports or network requests.