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
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to