Chapter 8. Keylogging and Screen Grabbing

With Python, we can programmatically do tasks such as catch all keystrokes, capture the screen, log the programs being run, close them, monitor clipboard content, and much more. Hackers may use these techniques to maliciously gain access to a victim's private information, while employers might use them to monitor employee activities.

Topics covered in this chapter are as follows:

  • Keylogging with Python
  • Screen grabbing

Keyloggers

A keylogger is a software or hardware device that logs or records keystrokes in real time. They are used to troubleshoot technical problems with computers and networks. They could also be used to monitor the network and computer usage of people without their direct knowledge. So, this ...

Get Effective Python Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.