Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.11-slim-bullseye
FROM python:3.13.9-slim-trixie
COPY . /opt/holehe
WORKDIR /opt/holehe
RUN python3 setup.py install
RUN pip3 install --upgrade pip && \
pip3 install .
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@ cd holehe/
python3 setup.py install
```

### With Docker

### With Docker (To keep things comparmentalized)
*<font style="color: #f00;">Note docker-buildx required</font>*
```bash
docker build . -t my-holehe-image
docker buildx build -t my-holehe-image .
docker run my-holehe-image holehe [email protected]
```
You can then create an alias by adding the following to your .bashrc/.zshrc etc.
```ini
alias holehe='docker run my-holehe-image holehe'
```

## Quick Start

Expand Down
4 changes: 2 additions & 2 deletions holehe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def get_functions(modules,args=None):

def check_update():
"""Check and update holehe if not the last version"""
check_version = httpx.get("https://pypi.org/pypi/holehe/json")
if check_version.json()["info"]["version"] != __version__:
check_version = httpx.get("https://pypi.org/pypi/holehe/json").text
if json.loads(check_version)["info"]["version"] != __version__:
if os.name != 'nt':
p = Popen(["pip3",
"install",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
packages=find_packages(),
author="megadose",
author_email="[email protected]",
install_requires=["termcolor","bs4","httpx","trio","tqdm","colorama"],
install_requires=["termcolor","bs4","httpx","trio","tqdm","colorama","requests","legacy-cgi"],
description="holehe allows you to check if the mail is used on different sites like twitter, instagram , snapchat and will retrieve information on sites with the forgotten password function.",
include_package_data=True,
url='http://github.com/megadose/holehe',
Expand Down