Sinisterly
Create Your Own Cookie Logger - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.li/Forum-Tutorials)
+--- Thread: Create Your Own Cookie Logger (/Thread-Create-Your-Own-Cookie-Logger)



Create Your Own Cookie Logger - #Unkn0wn - 09-09-2011

What is a CookieLogger?

A CookieLogger is a Script that is Used to Steal anybody’s Cookies and stores it into a Log File from where you can read the Cookies of the Victim.

--------------------------------------------------------------

Password For Tinypaste - ano.227

Step 1

Save the notepad file from the link below and Rename it as Fun.gif

http://tinypaste.com/bd6d37

Step 2

Copy the Following Script into a Notepad File and Save the file as cookielogger.php

http://tinypaste.com/561320

Step 3

Create a new Notepad File and Save it as logfile.txt

Step 4

Upload this file to your server

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

If you don’t have any Website then you can use the following Website to get a Free Website which has php support :

http://0fees.net

Step 5

Go to the victim forum and insert this code in the signature or a post

Step 6

When the victim see the post he view the image u uploaded but when he click the image he has a Temporary Error and you will get his cookie in log.txt . The Cookie Would Look as Follows:

phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; phpbb2mysql_sid=3ed7bdcb4e9e41737ed6eb41c43a4ec9

Step 7

To get the access to the Victim’s Account you need to replace your cookies with the Victim’s Cookie. You can use a Cookie Editor for this. The string before “=” is the name of the cookie and the string after “=” is its value. So Change the values of the cookies in the cookie Editor.

Step 8

Goto the Website whose Account you have just hacked and You will find that you are logged in as the Victim and now you can change the victim’s account information.

Note: Make Sure that from Step 6 to 8 the Victim should be Online because you are actually Hijacking the Victim’s Session So if the Victim clicks on Logout you will also Logout automatically but once you have changed the password then you can again login with the new password and the victim would not be able to login.

:ok::ok::ok:

HackingTruths



RE: Create Your Own Cookie Logger - #Unkn0wn - 09-09-2011

(09-09-2011, 03:01 PM)YasserKhalil Wrote: Password required for tinypaste

update check nw.. "ano.227"


RE: Create Your Own Cookie Logger - passi0n - 09-10-2011

Thanks. But i always hack sites with SQLi ^^
But good tutorial. Keep it up


RE: Create Your Own Cookie Logger - narc0tics - 09-10-2011

As long you don't harvest members.

Thanks, anoboss.


RE: Create Your Own Cookie Logger - iMarcus - 09-10-2011

Very nice TuT ill be using this Smile


RE: Create Your Own Cookie Logger - #Unkn0wn - 09-10-2011

(09-10-2011, 11:54 AM)passi0n Wrote: Thanks. But i always hack sites with SQLi ^^
But good tutorial. Keep it up

(09-10-2011, 11:56 AM)Overboss Wrote: As long you don't harvest members.

Thanks, anoboss.

(09-10-2011, 12:12 PM)iMarcus Wrote: Very nice TuT ill be using this Smile

tnx all :yes:


RE: Create Your Own Cookie Logger - iMarcus - 09-10-2011

Yeah, what Cpanel ? http://www.imarcus.0fees.net/ Sad


RE: Create Your Own Cookie Logger - ruwandssc - 09-10-2011

<a url="http://localhost:9080/Hack%20stuff/Fun.gif"><img style="cursor: pointer; width: 116px; height: 116px;" src="nesite.com/jpg" /></a>

<a href="http://localhost:9080/Hack%20stuff/Fun.gif"><img style="cursor: pointer; width: 116px; height: 116px;" src="nesite.com/jpg" /></a>


the posting part is look like this ?


RE: Create Your Own Cookie Logger - PVPPRO - 07-28-2013

Doesnt work... the php file shows up as source code and the image does nothing