I am working on something that I cannot fully talk about. All I can say is that I am a student in the field of information security and computer science.
I just need to change some source code of something deep inside python. For now, I would like to change the source code inside the built-in print function. Unfortunately, I cannot find that it is defined anywhere in python source files.
Any ideas whatsoever?
Thank you very much.
EDIT: In particular, the question was asked whether the print function in Python can be overwritten by something else. This was intended to install backdoor in the Python interpreter.
source share