This is the code for the python keylogger that I wrote as a part of the Foundations of Computer Security course at IIITD.