send
Grupo de Telegram
play_arrow
Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.

[Java] CrackHash 0.1

  • 0 Respuestas
  • 907 Vistas

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado BigBear

  • *
  • Underc0der
  • Mensajes: 543
  • Actividad:
    0%
  • Reputación 3
    • Ver Perfil
« en: Enero 12, 2013, 11:41:12 pm »
Un simple programa para crackear un hash md5 mediante una pagina online.

Código: Java
  1. //
  2. //CrackHash 0.1
  3. //Coded By Doddy H
  4. //
  5. //Test with 098f6bcd4621d373cade4e832627b4f6
  6. //
  7. //
  8.  
  9. import java.util.Scanner;
  10. import java.io.*;
  11. import java.net.*;
  12.  
  13. import java.util.regex.Matcher;
  14. import java.util.regex.Pattern;
  15.  
  16. public class Main {
  17.  
  18.     public static void main(You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login[] args) throws You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login {
  19.  
  20.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login hash;
  21.         Scanner host = new Scanner(You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.in);
  22.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.out.println("\n\n-- == CrackHash 0.1 == --\n\n");
  23.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.out.println("[+] Hash : ");
  24.         hash = host.nextLine();
  25.  
  26.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login code;
  27.  
  28.         code = toma("http://md5.hashcracking.com/search.php?md5=" + hash);
  29.  
  30.         Pattern uno = null;
  31.         Matcher dos = null;
  32.  
  33.         uno = Pattern.compile("Cleartext of (.*) is (.*)");
  34.         dos = uno.matcher(code);
  35.  
  36.         if (!dos.find()) {
  37.             You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.out.println("\n[-] Not Found");
  38.         } else {
  39.             You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.out.println("\n[+] Hash Cracked : " + dos.group(2));
  40.         }
  41.  
  42.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.out.println("\n\n-- == Coded By Doddy H == --");
  43.  
  44.     }
  45.  
  46.     private static You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login toma(You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login urla) throws You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login {
  47.  
  48.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login re;
  49.  
  50.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login conte = new You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login(40);
  51.  
  52.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login url = new You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login(urla);
  53.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login hc = url.openConnection();
  54.         hc.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12");
  55.  
  56.         You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login nave = new You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login(
  57.                 new You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login(hc.getInputStream()));
  58.  
  59.         while ((re = nave.readLine()) != null) {
  60.             conte.append(re);
  61.         }
  62.  
  63.         nave.close();
  64.  
  65.         return conte.toString();
  66.  
  67.     }
  68. }
  69.  
  70. //The End ?
  71.  

 

¿Te gustó el post? COMPARTILO!



[Video Curso] Iniciacion a Java por DesarrolloWeb y EscuelaIT Mayo 2014

Iniciado por graphixx

Respuestas: 3
Vistas: 1382
Último mensaje Febrero 23, 2015, 10:13:28 am
por Hu3c0
Como compilar programas Java en la consola de comandos de Windows

Iniciado por tar3kw0rm3d

Respuestas: 2
Vistas: 2089
Último mensaje Junio 04, 2013, 02:55:07 pm
por tar3kw0rm3d
[LIBRO] Programación avanzada en Java - Sonia Jaramillo Valbuena

Iniciado por graphixx

Respuestas: 1
Vistas: 2309
Último mensaje Noviembre 07, 2017, 12:34:40 pm
por K0m0dr3x
Java Extremo [Video Cursos Completos] [Español] [ISO] 2009

Iniciado por graphixx

Respuestas: 9
Vistas: 4143
Último mensaje Diciembre 04, 2017, 02:36:34 am
por graphixx
[Java] Chat utilizando WebSockets con JavaEE y JavaFx

Iniciado por coke951

Respuestas: 3
Vistas: 2652
Último mensaje Diciembre 23, 2016, 10:23:24 pm
por coke951