Featured
- Get link
- X
- Other Apps
What are Keyloggers?? The detective of every device...
Last time, I had proposed that I will make a post on making a payload by using the Metasploit Framework. But I too want to work over it and I have decided to change the topic. So, the topic I preferred for today is Keyloggers.
Keylogger stands for Keystrokes Logging. It's also called keyboard capturing. Basically, it is a program that registers all the keystrokes typed on the keyboard. All the data typed is unknowingly retrieved by the person who made the keylogger.
Keylogger is simply a program. Hence, the work to be done by the keylogger can be programmed efficiently. We can allow the keylogger to record the keystrokes, take the screenshot of the victim's screen, send the emails, and many things you want.
If this sounds interesting, I wish everyone must continue reading this article because we are going to make one now.
The keylogger we are going to program will be the basic one and will only register the keystrokes. We will be using Python for making this program because of a vast number of modules that make the program easy and understandable. So let's get started.
This keylogger will capture keystrokes in Windows devices only. Firstly, we have to install the required Python packages that are going to be used in our program. We will install the 'pynput' module using the command 'pip install pynput' in the Command Prompt.
We are going to monitor the keyboard activities by using the key and listener from pynput.keyboard module. We are also using the logging module to log our keystrokes in the .txt file. We have added the directory where this file resides in the system i.e. Desktop.
Then we called the function on_press() which creates a definition for keypresses and takes the key as a parameter. We finally set up an instance of Listener and define the on_press method in it and then join the instance to the main thread.
We are all set for now.. Hope you all like this article. Comments below if you want the advanced version of this keylogger as well. I will try to make that program and share that with you.
I kindly request, that don't misuse this knowledge and use this for good things. I'm not responsible for any problems that arise due to this article.
- Get link
- X
- Other Apps
Popular Posts
Accessing Saved Wifi Password on the device...
- Get link
- X
- Other Apps
Comments
Post a Comment