Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

Commit

Permalink
Release v2.0 - Nobody gets hack
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTuxx committed Oct 15, 2021
1 parent 4c14ddb commit e57c3ea
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 4 deletions.
114 changes: 114 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
*.manifest
*.spec
pip-log.txt
pip-delete-this-directory.txt
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
*.mo
*.pot
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
instance/
.webassets-cache
.scrapy
docs/_build/
docs/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json
.pyre
profile_pics/*.jpg
chromedriver
chromedriver.exe
data.txt
login.py
.DS_Store
debug.log
lib/LinkedInAPI/cookies
PwnDBResults.txt
results.txt
notes/
poc.py
output/
__pycache__
*.pyc
*.pyo
*.pyd
.Python
env
pip-log.txt
pip-delete-this-directory.txt
.tox
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.log
.git
.mypy_cache
.pytest_cache
.hypothesis
*.jr
2 changes: 1 addition & 1 deletion core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def dehashedParameters(args,dehashed_email,dehashed_apikey,results,out_dir):
if results != []:
dehashed_results = DehashedAPI.dehashedRequest(dehashed_email,dehashed_apikey,results)
else:
print(colors.bad + " No emails for Ghunt" + colors.end)
print(colors.bad + " No emails for Dehashed" + colors.end)

if args.email_dh:
dehashed_results.append(DehashedAPI.singleDehashedEmailSearch(dehashed_email,dehashed_apikey,email=args.email_dh))
Expand Down
6 changes: 3 additions & 3 deletions lib/GHunt/check_and_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ def get_saved_cookies():
except Exception:
print(colors.bad + " Stored cookies are corrupted" + colors.end)
return False
print(colors.info + " No stored cookies found" + colors.info)
print(colors.info + " No stored cookies found" + colors.end)
return False


def get_authorization_source(cookies):
''' returns html source of hangouts page if user authorized '''
req = httpx.get("https://docs.google.com/document/u/0/?usp=direct_url",
cookies=cookies, headers=config.headers, allow_redirects=False)
cookies=cookies, headers=config.headers)

if req.status_code == 200:
req2 = httpx.get("https://hangouts.google.com", cookies=cookies,
headers=config.headers, allow_redirects=False)
headers=config.headers)
if "myaccount.google.com" in req2.text:
return req.text
return None
Expand Down
5 changes: 5 additions & 0 deletions lib/GHunt/lib/gmaps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import hashlib
import re
import time
import logging
import sys
import warnings
from datetime import datetime

from dateutil.relativedelta import relativedelta
Expand All @@ -14,6 +17,8 @@

from lib.GHunt.lib.utils import *

logging.disable(sys.maxsize)
warnings.filterwarnings("ignore")

def scrape(gaiaID, client, cookies, config, headers, regex_rev_by_id, is_headless):
def get_datetime(datepublished):
Expand Down
5 changes: 5 additions & 0 deletions lib/GHunt/modules/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import json
import sys
import os
import logging
import warnings
from datetime import datetime
from io import BytesIO
from os.path import isfile
Expand All @@ -22,6 +24,9 @@
from core.colors import colors
from core import output

logging.disable(sys.maxsize)
warnings.filterwarnings("ignore")

def email_hunt(email):

result = {}
Expand Down

0 comments on commit e57c3ea

Please sign in to comment.