i wanted a script to check whether a premium account is still working or not, so i tried these:
and the file accounts.txt is something like:
but the script doesn't work, can anyone help me a bit ...... thanks
Code:
use LWP::Simple;
open (IN, 'accounts.txt');
while (<IN>) {
chomp;
$user=substr($_,0,5);
$pass=substr($_,6,6);
print "\n";
while () {
sleep(3);
my $rap = get("https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi?login="."$user"."&password="."$pass");
if ($rap=~/Account found, but password is incorrect./) {
print "Password incorrect";
} elseif($rap=~/Account not found/) {
print "Account not found";
}
}
}
close (IN);
Code:
11111:222222 11111:222222 11111:222222 11111:222222 11111:222222 11111:222222 11111:222222 11111:222222
Comment