Subject: | WWW::RapidShare-0.3 |
Date: | Thu, 21 Aug 2008 01:59:56 +0100 |
To: | bug-WWW-RapidShare [...] rt.cpan.org |
From: | "Ricardo F. Teixeira" <ricardo.teixas [...] gmail.com> |
I sent this email to developer Rohan Almeida, but he didnt reply.
Perl version
nubia:Desktop ricardo$ perl -v | grep "This is"
This is perl, v5.10.0 built for darwin-2level
OS version
nubia:Desktop ricardo$ uname -a
Darwin nubia.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9
19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
also knows as Leopard 10.5.4
Show quoted text
> Hi Rohan,
>
> There is a problem with your module.
>
> It gives me this error when i try to read a file and download file
> by file using your module.
>
> nubia:rapidshare ricardo$ perl rapidget.pl urls.txt
>
> [*] Rapidget - ricardo.teixas@gmail.com
>
> Can't call method "action" on an undefined value at /Library/Perl/
> 5.10.0/WWW/RapidShare.pm line 143, <URL> line 1.
> nubia:rapidshare ricardo$ cat rapidget.pl
> #!/usr/bin/perl
> # Download multiple files from Rapidshare
> # Ricardo F. Teixeira - ricardo.teixas@gmail.com
>
> use strict;
> use warnings;
> use WWW::RapidShare;
>
> print "\n[*] Rapidget - ricardo.teixas\@gmail.com\n\n";
> sleep(2);
>
> my ($urls, $count, $rapidshare);
>
> $urls = $ARGV[0]
> or die "[*] Usage: perl $0 <urls>\n";
>
> open (URL, "< $urls")
> or die "[*] Error: File not found\n";
>
> $count = 0;
>
> while(<URL>){
> my $rapidshare = WWW::RapidShare -> new();
>
> $rapidshare -> url($_);
> $rapidshare -> account_id('XXX');
> $rapidshare -> password('XXX');
> $rapidshare -> download_file();
>
> $count++;
> }
>
> close(URL);
>
> print "\n[*] Downloaded $count files\n";
> nubia:rapidshare ricardo$
>
> I would like to sugest you something, instead of using http to
> comunicate with rapidshare serves can you use https?
> It's sends the password in clear text!!
>
> I saw that when i'm sniffing my connection.
>
> 54 12.366537 192.168.1.254 62.67.50.54 HTTP POST /cgi-bin/
> premium.cgi HTTP/1.1 (application/x-www-form-urlencoded)
> pOZE]@@>C26P1BV
> 6oyPOST /cgi-bin/premium.cgi HTTP/1.1
> TE: deflate,gzip;q=0.3
> Connection: TE, close
> Accept-Encoding: gzip
> Host: rs253.rapidshare.com
> Referer: http://rs253.rapidshare.com/files/97224592/cashmere.mafia.s01e07.part1.rar
> User-Agent: WWW-Mechanize/1.34
> Content-Length: 136
> Content-Type: application/x-www-form-urlencoded
>
> premiumlogin
> =
> 1
> &fileid
> =
> 97224592
> &filename
> =
> cashmere
> .mafia.s01e07.part1.rar&serverid=253&accountid=XXX&password=XXXvgS%3A
>
> Best Regards,
>
> Ricardo F. Teixeira