Skip to content

This is a simple keylogger program written in Python using the pynput and re libraries. It captures all the user's keystrokes and saves them to a file, which can then be analyzed to search for email addresses and passwords. The program uses regular expressions to search for patterns that match the standard email and password formats.

Notifications You must be signed in to change notification settings

farhadanwari/simple-keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Simple Python Keylogger and Credentials Analyzer

This is a simple keylogger program written in Python using the pynput and re libraries. It captures all the user's keystrokes and saves them to a file, which can then be analyzed to search for email addresses and passwords. The program uses regular expressions to search for patterns that match the standard email and password formats.

The output displays all the emails and passwords found. The program can be used for educational purposes, such as understanding how keyloggers work, or for more practical reasons, such as testing the security of your accounts.

How to Use

  1. Install the necessary libraries by running the following command in the terminal:
  • pip install pynput
  • pip install re
  1. Download or clone the repository to your local machine.
  2. Open the terminal and navigate to the directory where the files are saved.
  3. Run the keylogger.py script by typing the following command: python3 keylogger.py This will start the keylogger program.
  4. Type in your desired email addresses and passwords.
  5. To stop the program, press the ESC key. Once the program is stopped, it will save the keystrokes in a file named keystrokes.txt in the same directory. The program will display any emails and passwords found in the file.

For more information about the author, follow me on LinkedIn: https://www.linkedin.com/in/farhadanwari and Twitter: https://twitter.com/farhadAnwari8.

About

This is a simple keylogger program written in Python using the pynput and re libraries. It captures all the user's keystrokes and saves them to a file, which can then be analyzed to search for email addresses and passwords. The program uses regular expressions to search for patterns that match the standard email and password formats.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages