So why doesn't this accept cookies?
-------------------------------------------------------
use LWP::UserAgent;
use HTTP::Request::Common qw(GET);
use HTTP::Cookies;
$line = "";
$agtname = q[Mozilla/5.0 (compatible; Konqueror/3.0.0-10; Linux)];
@headers = (
'Accept' => 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*',
'Accept-Charset' => 'iso-8859-1,*,utf-8',
'Accept-Language' => 'en-US',
'Referer' => "http:\/\/www.superkuh.com\/"
);
system ("cls");
print "Operation ChunkBuster Commencing\n";
print "--------------------------------\n\n";
for ($x = 200; $x <= 320; $x++) {
for ($y = 22; $y <= 47; $y++) {
$line = 'http://drunkmenworkhere.org/189.php?x=' . "$x" . '&y=' . "$y";
$url = "$line";
$ua = LWP::UserAgent->new('agent' => $agtname);
$ua->cookie_jar(HTTP::Cookies->new(file => "cookies.txt", autosave => 1));
# $ua->cookie_jar({});
push(@{ $ua->requests_redirectable }, 'POST');
$req = GET ($url, @headers);
print $ua->request($req)->as_string;
print "\n\n";
sleep 1.2;
}
}
--
Superkuh <supe...@attbi.com>
http://www.superkuh.com/