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

 

 


Tema destacado:


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


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Perl] Come on Spam Now 0.1
« en: 31 Diciembre 2013, 22:42 pm »

Un simple script que hice para trolear hasta el infinito en juegos online u otras cosas en las cuales mandan un mensaje por cada enter.

El codigo

Código
  1. #!usr/bin/perl
  2. #Come on Spam Now 0.1
  3. #Coded By Doddy H
  4. #ppm install http://www.bribes.org/perl/ppm/Win32-GuiTest.ppd
  5.  
  6. use Win32::GuiTest qw(SendKeys);
  7. use Time::HiRes "usleep";
  8.  
  9. $|++;
  10.  
  11. head();
  12.  
  13. my $tiempo_final;
  14.  
  15. my $tiemponow = time;
  16.  
  17. print "[+] Text to Flood : ";
  18. chomp( my $your_text = <stdin> );
  19. print "\n[+] Duration of attack : ";
  20. chomp( my $hasta = <stdin> );
  21. print "\n[+] Sleep Time : ";
  22. chomp( my $tiempo = <stdin> );
  23.  
  24. $hasta = $hasta + 10;
  25.  
  26. if ( $tiempo ne "" ) {
  27.    $tiempo_final = $tiempo;
  28. }
  29. else {
  30.    $tiempo_final = 0;
  31. }
  32.  
  33. print "\n[+] Select the window to destroy\n";
  34. print "\n[+] Wait 5 seconds\n";
  35. sleep(5);
  36. print "\n[+] Come on Spam Now !!!!!!!\n";
  37.  
  38. while ( time - $tiemponow < $hasta ) {
  39.  
  40.    sleep($tiempo_final);
  41.    SendKeys($your_text);
  42.    SendKeys("{ENTER}");
  43.  
  44. }
  45.  
  46. print "\n[+] Finished\n";
  47.  
  48. copyright();
  49.  
  50. #Functions
  51.  
  52. sub head {
  53.  
  54.    my @logo = (
  55.        "#=============================================#", "\n",
  56.        "#           Come On Spam Now 0.1              #", "\n",
  57.        "#---------------------------------------------#", "\n",
  58.        "# Written By Doddy H                          #", "\n",
  59.        "# Email: lepuke[at]hotmail[com]               #", "\n",
  60.        "# Website: doddyhackman.webcindario.com       #", "\n",
  61.        "#---------------------------------------------#", "\n",
  62.        "# The End ?                                   #", "\n",
  63.        "#=============================================#", "\n"
  64.    );
  65.  
  66.    print "\n";
  67.  
  68.    marquesina(@logo);
  69.  
  70.    print "\n";
  71.  
  72. }
  73.  
  74. sub copyright {
  75.  
  76.    my @fin = ("-- == (C) Doddy Hackman 2013 == --");
  77.  
  78.    print "\n";
  79.    marquesina(@fin);
  80.    print "\n\n";
  81.  
  82.    <stdin>;
  83.  
  84.    exit(1);
  85.  
  86. }
  87.  
  88. sub marquesina {
  89.  
  90.    #Effect based in the exploits by Jafer Al Zidjali
  91.  
  92.    my @logo = @_;
  93.  
  94.    my $car = "|";
  95.  
  96.    for my $uno (@logo) {
  97.        for my $dos ( split //, $uno ) {
  98.  
  99.            $|++;
  100.  
  101.            if ( $car eq "|" ) {
  102.                mostrar( "\b" . $dos . $car, "/" );
  103.            }
  104.            elsif ( $car eq "/" ) {
  105.                mostrar( "\b" . $dos . $car, "-" );
  106.            }
  107.            elsif ( $car eq "-" ) {
  108.                mostrar( "\b" . $dos . $car, "\\" );
  109.            }
  110.            else {
  111.                mostrar( "\b" . $dos . $car, "|" );
  112.            }
  113.            usleep(40_000);
  114.        }
  115.        print "\b ";
  116.    }
  117.  
  118.    sub mostrar {
  119.        print $_[0];
  120.        $car = $_[1];
  121.    }
  122.  
  123. }
  124.  
  125. #The End ?
  126.  


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,839 Último mensaje 18 Mayo 2011, 21:49 pm
por madpitbull_99
[Perl] IRC Spam 0.3
Scripting
BigBear 0 1,385 Último mensaje 19 Enero 2012, 20:34 pm
por BigBear
Pronostican auge del spam por confirmación y del micro-spam
Noticias
wolfbcn 0 1,734 Último mensaje 10 Enero 2013, 18:33 pm
por wolfbcn
[Perl] Creacion de un Joiner en Perl
Scripting
BigBear 0 2,792 Último mensaje 15 Marzo 2013, 16:12 pm
por BigBear
[Perl] King Spam 1.0
Scripting
BigBear 1 2,016 Último mensaje 16 Mayo 2015, 05:09 am
por scott_
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines