Reading Time: 4 minutes

Learn Facebook Account Hacking: Facebook is one of the most popular social media. Almost every smartphone user has a Facebook account. If you want to learn Facebook account hacking using Local Hosting, then you are in the right place. We will teach you how to hack Facebook account password. Facebook Account Hacking using Local Host is very easy.

You can get the Facebook Account password of anyone by this tutorial. So, stay tuned with us and learn to hack.

learn facebook account hacking


This article is only meant for educational purposes. However, if you misuse this knowledge, Ethical Hacking Tool will not be responsible. Stay safe and never misuse this information. Misusing as well as hacking other’s accounts may lead your way to prison as a result.

Things to Gather to Learn Facebook Account Hacking

  • One Computer System (Windows, Mac, Linux)
  • A web browser. For example, Chrome, Firefox, Safari, etc.
  • XAMPP Server. You can download it from here.
  • Knowledge of using Code Editor
  • Little knowledge of HTML and PHP
  • Knowledge about Pishing Attack (Necessary).

Let us begin to learn Facebook Account Hacking using Local Host

Follow all the steps to successfully complete hacking. Learn Facebook Account Hacking using Local Host in simple steps.

Step 1: Setting up XAMPP Server

  • Download XAMPP Server for your Operating System.
  • After that, install XAMPP Server in your system.
  • Finally, setup the XAMPP Server by starting it in XAMPP Control Panel to begin.

Step 2: Editing Source Code of Facebook

  • Open the login page of Facebook. It will look like this.
Facebook login Page
Facebook Login page
  • Right-click on that page. After that, click on View Page Source or you can use the shortcut Ctrl+U. After that, copy the whole code.
Facebook Account Hacking
Facebook Source Code
  • Open the source code in any text editor.
  • After that, Find action= in the source code. Replace “” with “login.php”.
  • You can also download edited Source Code from here.
Facebook Account Hacking
source code
  • Finally, Save this new source code to the location C:\xampp\htdocs\facebook with the name index.html

Step 3: Creating a blank text file to get Password

  • After that, we will create a blank text file.
  • Finally, save this by name passwords.txt at the same location C:\xampp\htdocs\facebook

You can also download this file from this link.

Step 4: Creating login.php file

After that, we will create PHP file with name login.php

  • Finally, type the following given code and save it at the same location C:\xampp\htdocs\facebook. You can copy it from here.

This step is necessary to learn Facebook account hacking.

Step 5: Using the dummy Facebook Page

  • Open your web browser.
  • After that, type http://localhost/facebook/ and hit enter.

Finally, you will see Facebook dummy page.

  • Enter your details to see if it is working or not.
  • Finally, open passwords.txt to see the saved password.
Facebook Account Hacking

Hurrah! You have successfully got the password. Do not try to get password of anyone without their permission.

Conclusion: Learn Facebook Account Hacking using Local Hosting

In Conclusion, we will say that this article is only for educational purposes. Never use this for hacking other’s account password. If you will do so, it will be illegal and you may reach behind the bars.

This article is for educational and informative purposes. Misuse of this tutorial is not allowed. Ethical Hacking Tool will not be responsible if you get stuck into legal procedures.

We hope that you liked our article. If you liked this article, share it in your circle. Never do illegal things and be safe. Your safety is our priority. Drop a comment below to share your views on this article. Also, subscribe to our Newsletter. Otherwise, you will miss important updates.

Tips to make this tutorial easy: Download all files and place them in C:\xampp\htdocs\facebook in order to avoid coding. Download it from here.

You can also read: Best Ethical Hacking Tools

You can also read: Best Ethical Hacking Programs

Spread the Love!

Leave a Reply