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

 

 


Tema destacado: Rompecabezas de Bitcoin, Medio millón USD en premios


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


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Python] Simple Crack Hash
« en: 16 Octubre 2011, 02:51 am »

Un simple programa para crackear hashes md5

Código
  1. #Simple Crack Hash
  2. #(C) DOddy Hackman 2011
  3. #Test with 202cb962ac59075b964b07152d234b70:123
  4.  
  5. import urllib2,re,sys
  6.  
  7. nave = urllib2.build_opener(urllib2.HTTPCookieProcessor())
  8. nave.add_header = [('User-Agent','Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5')]
  9.  
  10.  
  11. def head():
  12. print "\n\n== -- Crack Hash -- ==\n\n"
  13.  
  14. def copyright():
  15. print "\n\n(C) Doddy HAckman 2011\n"
  16.  
  17. def uso():
  18. print "\n[+] crackhash.py <hash>\n\n"
  19.  
  20. def crack(passw):
  21. print "\n[+] Cracking...\n\n"
  22. code = toma("http://md5.hashcracking.com/search.php?md5="+passw)
  23. if re.findall("Cleartext of (.*) is (.*)",code):
  24.  control = re.findall("Cleartext of (.*) is (.*)",code)
  25.  print "[+] Password : "+control[0][1]
  26. else:
  27.  print "\n[-] Not Found\n\n"
  28.  
  29. def toma(web):
  30. return nave.open(web).read()
  31.  
  32. head()
  33.  
  34. if len(sys.argv) == 2 :
  35. crack(sys.argv[1])
  36. else:
  37. uso()
  38.  
  39. copyright()
  40.  


En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[Código] String To Multi-Hash [Python]
Scripting
@Sthéfano 0 1,914 Último mensaje 26 Julio 2010, 22:23 pm
por @Sthéfano
[Tutorial]Crack Me 0.2 by Red Mx-Simple packer MEW 1.2
Ingeniería Inversa
.:UND3R:. 2 3,967 Último mensaje 1 Septiembre 2011, 11:47 am
por .:UND3R:.
[Python] Kaley, Keylogger simple en Python
Scripting
Fyrox 0 7,179 Último mensaje 21 Septiembre 2011, 23:24 pm
por Fyrox
[Python] Simple Keylogger
Scripting
BigBear 0 4,062 Último mensaje 7 Octubre 2011, 01:38 am
por BigBear
Snnifing - Hash - Crack
Criptografía
lubin89 1 4,037 Último mensaje 21 Enero 2012, 02:51 am
por APOKLIPTICO
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines