elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
29 Mayo 2012, 05:18  


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales

+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting (Moderadores: Novlucker, Leo Gutiérrez., EleKtro H@cker)
| | |-+  [Ruby] PassChecker
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Ruby] PassChecker  (Leído 158 veces)
Doddy

Desconectado Desconectado

Mensajes: 220



Ver Perfil
[Ruby] PassChecker
« en: 16 Octubre 2011, 02:50 »

Un simple programa para crackear hashes md5

Código
 
#!usr/bin/ruby
#PassChecker (C) Doddy Hackman 2011
 
require 'net/http'
 
def toma(web)
  return Net::HTTP.get_response(URI.parse(web)).body
  end
 
def uso()
print "\n[+] pass.rb <hash>\n"
end
 
 
def head()
 print "\n\n -- == PassChecker == --\n\n\n"
end
 
def copyright()
  print "\n\n\n(C) Doddy Hackman 2011\n\n"
  exit(1)
end
 
def crack(hash)
 
if hash.length == 32
 print "\n[+] Cracking hash #{hash}\n\n"
 begin
 code = toma("http://victorov.su/md5/?md5e=&md5d="+hash)
 if code=~/MD5 ðàñøèôðîâàí: <b>(.*)<\/b>/
  print "\n[+] Hash : "+$1+"\n"
 else
  print "\n[-] Pass not crack\n"
  end
 rescue
 print "\n[-] Page offline\n"
 end
else
 print "\n[-] Dont Hash\n\n"
end
 
 
end
 
 
head()
if !ARGV[0]
uso()
else
crack(ARGV[0])  
end
copyright()
 


En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Ruby y Ruby on Rails
Programación General
Nanocity 2 675 Último mensaje 31 Octubre 2007, 21:32
por alone-in-the-chat
problema con ruby
GNU/Linux
Mr.Blue 1 859 Último mensaje 29 Mayo 2010, 21:40
por Leo Gutiérrez.
Ruby
Programación General
¡Micronet! 2 724 Último mensaje 18 Octubre 2010, 22:49
por ¡Micronet!
[Introducing Ruby] Lo que debes saber sobre Ruby
Scripting
RyogiShiki 0 1,946 Último mensaje 4 Marzo 2011, 20:45
por RyogiShiki
[Ruby] IRC Bot
Scripting
Doddy 0 541 Último mensaje 7 Octubre 2011, 01:30
por Doddy
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines