[Python-ideas] Executable space protection: NX bit,

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 3 18:54:22 EDT 2018


Jonathan Fine wrote:

      # Evil code!
>     ask_delete.__code__, ask_save.__code__ = ask_save.__code__,
> ask_delete.__code__

If an attacker can trick you into executing that line of code,
he can probably just delete your data directly.

-- 
Greg


More information about the Python-ideas mailing list