Category Archives: Other - Page 2

Some call of duty screenshots…

So OK (aka Xeno) and I challenged everyone on our server. All of them (originally 6, then 1 left) vs OK and I. For the first half or so, we were tied 1 to 1… then they started wising up to our strategies and pulled ahead. Regardless, this was a beautiful performance for a 2 vs. 6 match :D

OK is my twin in COD – you can tell by the almost identical scores in the last screenie.

A Web Macro/Robot

Was going through some of my files, and found a macro/robot I wrote in PHP using curl a long time ago. It’s purpose was to log into a website (some forums) and raise a friend’s reputation by 1 every hour (that was the limit). I used the explode command to sift through the html source of each page to find the right links (and thus, the session ids), then sent post variables with Curl. Hope some of you can put some use to it :)

Note – Works best in conjunction with Cron Jobs. Set a cron to run this script every hour or so, and you have massive reputation gained over a short period of time.

<?php
$url = ‘http://site.com/forum/index.php?action=login2‘;
$params = ‘user=uname&passwrd=upass';
$user_agent = “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,  2);
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

$result=curl_exec ($ch);

$a = file_get_contents(“http://site.com/forum/index.php?topic=13092.0#msg61780“);

$t1=explode(“Decepti0n”, $a);print”-$a”;
$t2=explode(“Posts”, $t1[1]);print”-$t1[1]”;
$t3=explode(“Force”, $t2[0]);print”-$t2[0]”;
$t4=explode(“<a href=\””, $t3[1]);print”-$t3[1]”;
$url=explode(“\”>[Light”, $t4[0]);print”-$t4[0]”;
print”-$url”;
$params = ‘user=uname&passwrd=upass';
$user_agent = “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)”;
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,  2);
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

$result=curl_exec ($ch);

curl_close ($ch);

print”done”;
?>