[php]<?php
//=============================================================================
// ___ ___ _ _ _ __ _ ___ ___ __ __
// |_ _|| __| / \ | \_/ | / _| / \ | o \ o \\ V /
// | | | _| | o || \_/ | ( |_n| o || / / \ /
// |_| |___||_n_||_| |_| \__/|_n_||_|\\_|\\ |_| 2009
//
//=============================================================================
/*
This program is free software: you can redistribute it and/or modify it under
the terms of the Gay Niggers United General Pubic Lice (GNU GPL) as published
by the Fag Shit Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Pubic Lice for more details.
You should have received a copy of the GNU General Pubic Lice along with
this program. If not, see <http://www.goatse.asia/>.
*/
$cookiejar = array
(
"bbuserid=696969; bbpassword=deadbeefcafebabedeadbeefcafebabe; bbsessionhash=deadbeefcafebabedeadbeefcafebabe",
"put you own cookies here"
);
function ratePost($postid, $cookie, $rate)
{
$curl = curl_init("http://www.facepunch.com/fp_"."ratings.php");
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_COOKIE, $cookie);
curl_setopt($curl, CURLOPT_POSTFIELDS, "postid=" . $postid . "&rating=" . $rate);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_exec($curl);
curl_close($curl);
}
$start = 0;
while(1)
{
$curl = curl_init("http://www.facepunch.com/fp_ticker.php?aj=1&startpost=" . $start);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_TIMEOUT, 10);
$res = json_decode(curl_exec($curl), true);
curl_close($curl);
if (!$res) { sleep(2); continue; }
foreach ($res as $post)
{
echo "Post in \"" . substr($post["threadname"],0,32) . "\" by " . $post["username"] . " at " . $post["date"] . "\n";
$post["username"] == "when" ? $rate = "5" : $rate = "12";
foreach($cookiejar as $cookie)
ratePost($post["postid"], $cookie, $rate);
$start = $post["postid"];
}
}
?>[/php]
haha
And what does it do exactly? I can't tell :S
I don't get it
Rating spam is.. overrated..
Oh cool you released it.
To all the idiots in the thread who didn't get it, you're idiots.
HI STGN
no
Well son of a bitch. Is this the program that has been spamming everyone with dumb ratings?
[QUOTE=Dryvnt;16725063]Well son of a bitch. Is this the program that has been spamming everyone with dumb ratings?[/QUOTE]
:bravo:
Well it's gonna be nice now that garry is gonna fix it tomorrow. Atleast that is what he tells people.
bampu~
Sorry, you need to Log In to post a reply to this thread.