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] Lix In Decoder 0.1
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Perl] Lix In Decoder 0.1  (Leído 2,847 veces)
BigBear


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Perl] Lix In Decoder 0.1
« en: 26 Marzo 2012, 19:45 pm »

Bueno , hice este programa para poder descargar juegos cuando entraba en una pagina y veia que todos los links estaban en lix.in , para usar este programa deben poner la url de la pagina que tiene los links lix.in , el programa automaticamente captura todos los links de la pagina y comienza a mostrar las verdaderas urls en pantalla.
Al parecer no eh tenido ningun problema con ningun Captcha , puesto que lo eh probado varias veces en diferentes paginas.

El codigo es el siguiente

Código
  1. #!usr/bin/perl
  2. #Lix.In Decoder 0.1
  3. #Coded By Doddy H
  4.  
  5. use LWP::UserAgent;
  6. use URI::Split qw(uri_split);
  7.  
  8. my $nave = LWP::UserAgent->new;
  9. $nave->agent(
  10. "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12"
  11. );
  12. $nave->timeout(5);
  13.  
  14. #Tests
  15. #my $url = "http://taringaa.bligoo.com/content/view/858363/Comand-Conquer-Red-Alert-III-Full-1-link.html";
  16. #my $url = "http://www.taringa.net/posts/animaciones/4164567.R/Saint-Seiya-Mei_-Hades-ElysionHen_Campos-Eliseos_-Vol-10_11.html";
  17. #my $url = "http://www.gratisjuegos.org/descargar/muchos-juegos-en-pocos-links/";
  18. #my $url = "http://eminemdownloads.blogspot.com.ar/2007/03/discografia.html";
  19.  
  20. ##
  21.  
  22. header();
  23.  
  24. print "\n[+] Page : ";
  25. chomp( my $url = <stdin> );
  26.  
  27. print "\n\n[+] Loading page ...\n";
  28.  
  29. my $code = toma($url);
  30.  
  31. print "[+] Getting links ...\n";
  32.  
  33. while ( $code =~ m{http://lix\.in/(-\w+)}ig ) {
  34.    push( @urls, "http://lix.in/" . $1 );
  35. }
  36.  
  37. while ( $code =~ m{http://lix\.in/(\w+)}ig ) {
  38.    push( @urls, "http://lix.in/-" . $1 );
  39. }
  40.  
  41. print "[+] Decoding links lix.in ....\n\n";
  42.  
  43. my @urls = repes(@urls);
  44.  
  45. for (@urls) {
  46.    decode_link( $_, $url );
  47. }
  48.  
  49. copyright();
  50.  
  51. ##
  52.  
  53. sub decode_link {
  54.  
  55.    my ( $link, $url ) = @_;
  56.  
  57.    my ( $scheme, $auth, $path, $query, $frag ) = uri_split($url);
  58.  
  59.    if ( $link =~ /-(.*)/ ) {
  60.        my $co = "-" . $1;
  61.        chomp $co;
  62.        my $code =
  63.          tomar( $link,
  64.            { "tiny" => $co, "submit" => "continue", "submit" => "submit" } );
  65.        if ( $code =~ /<iframe  name="ifram" src="(.*)" marginwidth="0"/ ) {
  66.            my $link = $1;
  67.            chomp $link;
  68.            unless ( $link =~ /lix\.in/ ) {
  69.                savefile( $auth . ".txt", $link );
  70.                print "[+] Link : $link\n";
  71.            }
  72.        }
  73.    }
  74. }
  75.  
  76. sub repes {
  77.    foreach $test (@_) {
  78.        push @limpio, $test unless $repe{$test}++;
  79.    }
  80.    return @limpio;
  81. }
  82.  
  83. sub header {
  84.  
  85.    print qq(
  86.  
  87.  
  88. @     @         @           @@@@                          @        
  89. @               @           @   @                         @        
  90. @               @           @    @                        @        
  91. @     @ @  @    @  @ @@     @    @   @@@   @@@   @@@   @@@@  @@@  @@
  92. @     @ @  @    @  @@  @    @    @  @   @ @   @ @   @ @   @ @   @ @
  93. @     @  @@     @  @   @    @    @  @@@@@ @     @   @ @   @ @@@@@ @
  94. @     @  @@     @  @   @    @    @  @     @     @   @ @   @ @     @
  95. @     @ @  @    @  @   @    @   @   @   @ @   @ @   @ @   @ @   @ @
  96. @@@@@ @ @  @    @  @   @    @@@@     @@@   @@@   @@@   @@@@  @@@  @
  97.  
  98.  
  99. );
  100.  
  101. }
  102.  
  103. sub savefile {
  104.    open( SAVE, ">>" . $_[0] );
  105.    print SAVE $_[1] . "\n";
  106.    close SAVE;
  107. }
  108.  
  109. sub copyright {
  110.    print "\n\n(C) Doddy Hackman 2012\n\n";
  111.    <stdin>;
  112.    exit(1);
  113. }
  114.  
  115. sub toma {
  116.    return $nave->get( $_[0] )->content;
  117. }
  118.  
  119. sub tomar {
  120.    my ( $web, $var ) = @_;
  121.    return $nave->post( $web, [ %{$var} ] )->content;
  122. }
  123.  
  124. # The End ?
  125.  

Les dejo un ejemplo de uso

Código:


 @     @         @           @@@@                          @
 @               @           @   @                         @
 @               @           @    @                        @
 @     @ @  @    @  @ @@     @    @   @@@   @@@   @@@   @@@@  @@@  @@
 @     @ @  @    @  @@  @    @    @  @   @ @   @ @   @ @   @ @   @ @
 @     @  @@     @  @   @    @    @  @@@@@ @     @   @ @   @ @@@@@ @
 @     @  @@     @  @   @    @    @  @     @     @   @ @   @ @     @
 @     @ @  @    @  @   @    @   @   @   @ @   @ @   @ @   @ @   @ @
 @@@@@ @ @  @    @  @   @    @@@@     @@@   @@@   @@@   @@@@  @@@  @



[+] Page : http://www.gratisjuegos.org/descargar/muchos-juegos-en-pocos-links/


[+] Loading page ...
[+] Getting links ...
[+] Decoding links lix.in ....

[+] Link : http://www.fileserve.com/file/4UauNpZ
[+] Link : http://www.megaupload.com/?d=JDJOXNCG
[+] Link : http://www.megaupload.com/?d=DOIPB44O
[+] Link : http://turbobit.net/u1savmp0dp82/BaixandoFacil.com_Raising.Hope.S02E1
5.rmvb.html
[+] Link : http://www.megaupload.com/?d=TWZXM4OA
[+] Link : http://rapidshare.com/files/326639218/mmph.rar
[+] Link : http://uploading.com/files/8m55a3e9/Hitomi%2527s%2BCherry%2BRed%2BLip
s%2B%255BSasagawa%2BHayashi%255D.rar/
[+] Link : http://protector.to/download/296576/66637b4defe247e6b465c15b6daadb88.
html
[+] Link : http://rapidshare.com/files/222173802/Hiroshima_Will_Burn_-_To_The_We
ight_Of_All_Things_-__2009__By_Disgorge.rar
[+] Link : http://www.megaupload.com/?d=ILUL67F0
[+] Link : http://rapidshare.com/files/168921368/Ab_-_2006_-_T_D_P_-_melodeath.o
rg.rar
[+] Link : http://rapidshare.com/files/206107948/aHD_GArt_1_LuFr_wm.part1.rar
[+] Link : http://rapidshare.com/files/144375887/B.WoLF.MtbX.part07.rar
[+] Link : http://rapidshare.com/files/202336513/Die__rzte__Wir_wollen_nur_deine
_Seele_I_.rar.html
[+] Link : http://rapidshare.com/files/310131228/ls_cta_01.part1.rar
[+] Link : http://rapidshare.com/files/117343572/georemichahshootdo.rar
[+] Link : http://www.megaupload.com/?d=3JGC8I3J
[+] Link : http://repidshare.uni.cc/up/files.php?rs=http://rs.rapidshare.com/fil
es/121698550/www.xvidfilm.com_shtrr.HD.tr_barlas.part22.rar&amp;s=
[+] Link : http://rapidshare.com/files/379279204/bndpq__smscl_rmntcincrble.karma
.rar
[+] Link : http://www.megaupload.com/?d=ES5U6KVW
[+] Link : http://turbobit.net/hxombgi9wguf.html
[+] Link : http://hotfile.com/dl/38699729/4dbfbdf/Brothers.Sisters.2x01.by.www.s
eriesfree.biz.rmvb.html
[+] Link : http://www.filesonic.jp/file/1542896624
[+] Link : http://rapidshare.com/files/251767677/Knowing_Blurayindir.com.part122
.rar
[+] Link : http://img199.imageshack.us/img199/5452/lastsamurai.jpg
[+] Link : http://www.megaupload.com/?d=AAG4X8X2
[+] Link : http://ul.to/8hkfdh
[+] Link : http://hotfile.com/dl/594136/1934718/My.Name.Is.Earl.S04E24.HDTV.XviD
-LOL.avi.html
[+] Link : http://hotfile.com/dl/31792875/9882fa9/chandelier_jpn.rar.html
[+] Link : http://www.megaupload.com/?d=PV6BJMHJ
[+] Link : http://rapidshare.com/files/163195270/the_killers.rar
[+] Link : http://repidshare.uni.cc/up/files.php?rs=http://rs110.rapidshare.com/
files/88759448/TamGaz.part5.rar&amp;s=104857
[+] Link : http://rapidshare.com/files/183553695/Anita_Pearl_Little_Red_In_The_O
ffice.rar


(C) Doddy Hackman 2012


En línea

H20-X

Desconectado Desconectado

Mensajes: 83


Ver Perfil
Re: [Perl] Lix In Decoder 0.1
« Respuesta #1 en: 1 Abril 2012, 00:28 am »

este me va muy bien  ;-)


« Última modificación: 1 Abril 2012, 00:34 am por H20-X » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
decoder motorola y tdt
Electrónica
ANTITELEFONICA 0 4,383 Último mensaje 20 Enero 2006, 00:34 am
por ANTITELEFONICA
apktool decoder
Android
RaiSe 0 3,276 Último mensaje 16 Enero 2012, 11:37 am
por RaiSe
[Perl Tk] Lix.In Decoder 0.2
Scripting
BigBear 0 2,560 Último mensaje 28 Marzo 2012, 22:57 pm
por BigBear
WHK-Decoder V2.5 para Android
Android
WHK 7 8,855 Último mensaje 12 Septiembre 2012, 15:48 pm
por jdc
[0day] [PoC] Fixeo incorrecto del decoder gstreamer FLIC (CESA-2016-0004)
Bugs y Exploits
MCKSys Argentina 0 2,170 Último mensaje 30 Noviembre 2016, 15:23 pm
por MCKSys Argentina
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines