Skip to content

A Keylogger made in Python that logs every pressed key with date and time into a text file created in the directory in which the program is run.

Notifications You must be signed in to change notification settings

Gill-Singh-A/Keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Keylogger

A Keylogger made in Python that logs every pressed key with date and time into a text file created in the directory in which the program is run.

Requirements

Languange Used = Python3
Modules/Packages used:

  • keyboard
  • time
  • datetime
  • colorama

Install the dependencies:

pip install -r requirements.txt

Working

It creates a file in the same directory in which the program is run with the name specifying the date and time of creation of the file.
If we run this in Terminal, the program prints the output with date and time. To stop this we have to close the terminal, CTRL+C won't work.
But after compiling this with auto-py-to-exe this program was able to run in the background without any attention. We can close the program using Task Manager or other such Tool.
To run this in background in Linux, we can add '&' at the end of the command. For example
If you run the file like this:

python keylogger.py

To run it in background, add '&' at the end of the command:

python keylogger.py &

And to stop it from running you can use the 'top' command to see its Process ID and 'kill' command to kill it.

About

A Keylogger made in Python that logs every pressed key with date and time into a text file created in the directory in which the program is run.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages