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

 

 


Tema destacado: Security Series.XSS. [Cross Site Scripting]


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


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Ruby] MD5 Cracker 0.2
« en: 29 Mayo 2015, 16:37 pm »

Un simple script en Ruby para crackear un hash MD5.

Version consola :

Código
  1. #!usr/bin/ruby
  2. #MD5 Cracker 0.2
  3. #(C) Doddy Hackman 2015
  4.  
  5. require "open-uri"
  6. require "net/http"  
  7.  
  8. # Functions
  9.  
  10. def toma(web)
  11. begin
  12. return open(web, "User-Agent" => "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0").read
  13. rescue
  14. return "Error"
  15. end
  16. end
  17.  
  18. def response_code(web)
  19. begin
  20. return Net::HTTP.get_response(URI(web)) .code
  21. rescue
  22. return "404"
  23. end
  24. end
  25.  
  26. def tomar(web,arg)
  27. begin
  28. headers = {"User-Agent" => "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0"}
  29. uri = URI(web)
  30. http = Net::HTTP.new(uri.host, uri.port)
  31. return http.post(uri.path,arg, headers).body
  32. rescue
  33. return "Error"
  34. end
  35. end
  36.  
  37. def crack(md5)
  38.  
  39. print "\n[+] Cracking ...\n\n"
  40.  
  41. code = tomar("http://md5online.net/index.php","pass="+md5+"&option=hash2text&send=Submit")
  42.  
  43. if code=~/pass : <b>(.*?)<\/b>/
  44. password = $1
  45. print "[+] md5online.net -> "+password+"\n"
  46. else
  47. print "[-] md5online.net -> Not Found" + "\n"
  48. end
  49.  
  50. code = tomar("http://md5.my-addr.com/md5_decrypt-md5_cracker_online/md5_decoder_tool.php","md5="+md5)
  51.  
  52. if code=~/<span class='middle_title'>Hashed string<\/span>: (.*?)<\/div>/
  53. password = $1
  54. print "[+] md5.my-addr.co -> "+password+"\n"
  55. else
  56. print "[-] md5.my-addr.co -> Not Found" +"\n"
  57. end
  58.  
  59. code = tomar("http://md5decryption.com/index.php","hash="+md5+"&submit=Decrypt It!")
  60.  
  61. if code=~/Decrypted Text: <\/b>(.*?)<\/font>/
  62. password = $1
  63. print "[+] md5decryption.com -> "+password+"\n"
  64. else
  65. print "[-] md5decryption.com -> Not Found"+"\n"
  66. end
  67.  
  68. print "\n[+] Finished"
  69.  
  70. end
  71.  
  72. def uso
  73. print "\n[+] Sintax : ruby md5cracker.rb <md5>\n"
  74. end
  75.  
  76. def  head
  77. print "\n\n-- == MD5 Cracker 0.2 == --\n\n"
  78. end
  79.  
  80. def copyright
  81. print "\n\n-- == (C) Doddy Hackman 2015 == --\n\n"
  82. end
  83.  
  84. #
  85.  
  86. md5 = ARGV[0]
  87.  
  88. head()
  89.  
  90. if !md5
  91. uso()
  92. else
  93. crack(md5)
  94. end
  95.  
  96. copyright()
  97.  
  98. #The End ?
  99.  

Version Tk :

Código
  1. #!usr/bin/ruby
  2. #MD5 Cracker 0.2
  3. #(C) Doddy Hackman 2015
  4.  
  5. require "tk"
  6. require "open-uri"
  7. require "net/http"
  8.  
  9. #Functions
  10.  
  11. # Functions
  12.  
  13. def toma(web)
  14. begin
  15. return open(web, "User-Agent" => "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0").read
  16. rescue
  17. return "Error"
  18. end
  19. end
  20.  
  21. def response_code(web)
  22. begin
  23. return Net::HTTP.get_response(URI(web)) .code
  24. rescue
  25. return "404"
  26. end
  27. end
  28.  
  29. def tomar(web,arg)
  30. begin
  31. headers = {"User-Agent" => "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0"}
  32. uri = URI(web)
  33. http = Net::HTTP.new(uri.host, uri.port)
  34. return http.post(uri.path,arg, headers).body
  35. rescue
  36. return "Error"
  37. end
  38. end
  39.  
  40. #
  41.  
  42. window = TkRoot.new { title "MD5 Cracker 0.2 (C) Doddy Hackman 2015" ; background "black" }
  43. window['geometry'] = '300x300-20+10'
  44.  
  45. TkLabel.new(window) do
  46. background "black"
  47. foreground "green"
  48. text "     MD5 : "
  49. place('relx'=>"0.1",'rely'=>"0.1")
  50. end
  51.  
  52. md5 = TkEntry.new(window){
  53. background "black"
  54. foreground "green"
  55. width 25
  56. place('relx'=>0.3,'rely'=>0.1)
  57. }
  58.  
  59. TkLabel.new(window) do
  60. background "black"
  61. foreground "green"
  62. text "Console"
  63. place('relx'=>0.4,'rely'=>0.2)
  64. end
  65.  
  66. console =TkText.new(window) do
  67. background "black"
  68. foreground "green"
  69. width 30
  70. height 10
  71. place('relx'=>0.1,'rely'=>0.3)
  72. end
  73.  
  74. TkButton.new(window) do
  75. text "Crack It"
  76.        background "black"
  77. foreground "green"
  78. width 17
  79. activebackground "green"
  80. highlightbackground  "green"
  81. command proc{
  82. md5 = md5.value.to_s
  83.  
  84. console.insert("end","[+] Cracking ...\n\n")
  85.  
  86. code = tomar("http://md5online.net/index.php","pass="+md5+"&option=hash2text&send=Submit")
  87. if code=~/pass : <b>(.*?)<\/b>/
  88. password = $1
  89. console.insert("end","[+] md5online.net -> "+password+"\n"  )
  90. else
  91. console.insert("end","[-] md5online.net -> Not Found" + "\n" )
  92. end
  93.  
  94. code = tomar("http://md5.my-addr.com/md5_decrypt-md5_cracker_online/md5_decoder_tool.php","md5="+md5)
  95.  
  96. if code=~/<span class='middle_title'>Hashed string<\/span>: (.*?)<\/div>/
  97. password = $1
  98. console.insert("end","[+] md5.my-addr.co -> "+password+"\n")
  99. else
  100. console.insert("end","[-] md5.my-addr.co -> Not Found" +"\n")
  101. end
  102.  
  103. code = tomar("http://md5decryption.com/index.php","hash="+md5+"&submit=Decrypt It!")
  104.  
  105. if code=~/Decrypted Text: <\/b>(.*?)<\/font>/
  106. password = $1
  107. console.insert("end","[+] md5decryption.com -> "+password+"\n")
  108. else
  109. console.insert("end","[-] md5decryption.com -> Not Found"+"\n")
  110.        end
  111.  
  112. console.insert("end","\n[+] Finished\n" )
  113.  
  114. }
  115. place('relx'=>0.3,'rely'=>0.9)
  116. end
  117.  
  118. Tk.mainloop
  119.  
  120. #The End ?
  121.  

Una imagen :



Eso es todo.


En línea

.:UND3R:.
Moderador Global
***
Desconectado Desconectado

Mensajes: 3.118


Ingeniería inversa / MASM


Ver Perfil WWW
Re: [Ruby] MD5 Cracker 0.2
« Respuesta #1 en: 30 Mayo 2015, 01:12 am »

Excelente aporte amigo, tu forma de programar es muy limpia y entendible, saludos


En línea


Solicitudes de crack, keygen, serial solo a través de mensajes privados (PM)
Kaxperday


Desconectado Desconectado

Mensajes: 702


The man in the Middle


Ver Perfil WWW
Re: [Ruby] MD5 Cracker 0.2
« Respuesta #2 en: 30 Mayo 2015, 18:36 pm »

Casualidades de la vida:

http://www.mediafire.com/download/6x9q9b74bn6ajt1/NetCrack.zip

Para crackear MD5 usando bots. El codigo fuente del programa.

Saludos socios!!
En línea

Cuando el poder económico parasita al político ningún partido ni dictador podrá liberarnos de él. Se reserva el 99% ese poder.
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
FTP CRACKER
Programación Visual Basic
79137913 2 3,418 Último mensaje 4 Agosto 2010, 21:15 pm
por 79137913
[Introducing Ruby] Lo que debes saber sobre Ruby
Scripting
RyogiShiki 0 9,616 Último mensaje 4 Marzo 2011, 20:45 pm
por RyogiShiki
[C#] MD5 Cracker 0.3
.NET (C#, VB.NET, ASP)
BigBear 0 1,959 Último mensaje 11 Julio 2014, 18:38 pm
por BigBear
Cracker
Hacking
Marlon357 2 2,320 Último mensaje 25 Noviembre 2021, 20:55 pm
por Marlon357
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines