El codigo :
Código
#!usr/bin/perl #DH ScreenShoter 0.1 #Coded By Doddy H #ppm install http://www.bribes.org/perl/ppm/Win32-GuiTest.ppd #ppm install http://www.bribes.org/perl/ppm/Crypt-SSLeay.ppd use Win32::GuiTest use Win32::Clipboard; use Time::HiRes "usleep"; use LWP::UserAgent; my $nave = LWP::UserAgent->new; $nave->agent( "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12" ); $nave->timeout(5); $|++; my $time; my $nombrefecha; my ( $dia, $mes, $anio, $hora, $minutos, $segundos ) = agarrate_la_hora(); $nombrefecha = $dia . "_" . $mes . "_" . $anio . "_" . $hora . "_" . $minutos . "_" . $segundos; my $se = "captures"; unless ( -d $se ) { } head(); if ( $timeop eq "" ) { $time = 1; } else { $time = $timeop; } } if ( $filename eq "" ) { capturar_pantalla( $nombrefecha . ".jpg" ); } else { capturar_pantalla($filename); } if ( $imageshack =~ /y/ ) { if ( $filename eq "" ) { subirarchivo( $nombrefecha . ".jpg" ); } else { subirarchivo($filename); } } if ( $load_image =~ /y/ ) { if ( $filename eq "" ) { } else { } } copyright(); ## Functions sub subirarchivo { my $your_key = "fuck you"; #Your API Key my $code = $nave->post( "https://post.imageshack.us/upload_api.php", Content_Type => "form-data", Content => [ key => $your_key, fileupload => [ $_[0] ], ] )->content; if ( $code =~ /"image_link":"(.*?)"/ ) { } else { } } sub head { my @logo = ( "#=============================================#", "\n", "# DH ScreenShoter 0.1 #", "\n", "#---------------------------------------------#", "\n", "# Written By Doddy H #", "\n", "# Email: lepuke[at]hotmail[com] #", "\n", "# Website: doddyhackman.webcindario.com #", "\n", "#---------------------------------------------#", "\n", "# The End ? #", "\n", "#=============================================#", "\n" ); marquesina(@logo); } sub copyright { my @fin = ("-- == (C) Doddy Hackman 2012 == --"); marquesina(@fin); <stdin>; } sub capturar_pantalla { SendKeys("%{PRTSCR}"); my $a = Win32::Clipboard::GetBitmap(); close FOTO; } sub marquesina { #Effect based in the exploits by Jafer Al Zidjali my @logo = @_; my $car = "|"; for my $uno (@logo) { $|++; if ( $car eq "|" ) { mostrar( "\b" . $dos . $car, "/" ); } elsif ( $car eq "/" ) { mostrar( "\b" . $dos . $car, "-" ); } elsif ( $car eq "-" ) { mostrar( "\b" . $dos . $car, "\\" ); } else { mostrar( "\b" . $dos . $car, "|" ); } usleep(40_000); } } sub mostrar { $car = $_[1]; } } sub agarrate_la_hora { $f += 1900; $e++; return ( $d, $e, $f, $c, $b, $a ); } ## The End ?