Git Product home page Git Product logo

megadose / holehe Goto Github PK

View Code? Open in Web Editor NEW
6.7K 6.7K 755.0 609 KB

holehe allows you to check if the mail is used on different sites like twitter, instagram and will retrieve information on sites with the forgotten password function.

License: GNU General Public License v3.0

Python 99.97% Dockerfile 0.03%
ebay email emails information-gathering instagram open-source-intelligence osint osint-python osint-tools pypi python social-network tellonym trio twitter

holehe's People

Contributors

0xyy66 avatar adfnekc avatar anon-dev-gh avatar bgwastu avatar blandinelemaire avatar djrieger avatar eriys avatar frapava98 avatar gonzosint avatar guyskk avatar hackndo avatar jgarte avatar leirbag95 avatar maltemo avatar mark-sercombe avatar megadose avatar mxrch avatar novitae avatar p3run avatar ranlo avatar raviksharma avatar simonecagol avatar soxoj 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

holehe's Issues

Laredoute always appears as used

Hello @megadose,

With my diferents test of this tool I noticed that holehe seems to always tell that a Laredoute account exists.

I tried to generate some random email addresses from https://www.mohmal.com and holehe returns everytime a positive answer for Laredoute.

Here is a random email address : [email protected]

Holehe version : 1.58.3.2
Python version : 3.6.8
OS version : CentOS 8

Thanks !

Edit : Tried to test this email address 2 times. First time the email address was associated with a Laredoute account for holehe. Second time it wasn't.

False positives on twitter bulk check?

I checked a big list (almost 2600) of email addresses and got 232 matches for Twitter. But when I check the matches individually many do not return the expected result.

Fresh Install does not work in CLI: error syntax in samsung

Hi everyone,
i try to use the soft from a fresh install on CentOS but when i run the command holehe from cli, here is the answer:
Twitter : @palenath
Github : https://github.com/megadose/holehe
For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ
Traceback (most recent call last):
File "/usr/local/bin/holehe", line 33, in
sys.exit(load_entry_point('holehe==1.61', 'console_scripts', 'holehe')())
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 226, in main
trio.run(maincore)
File "/usr/local/lib/python3.6/site-packages/trio/_core/_run.py", line 1932, in run
raise runner.main_task_outcome.error
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 199, in maincore
modules = import_submodules("holehe.modules")
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 46, in import_submodules
results.update(import_submodules(full_name))
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 44, in import_submodules
results[full_name] = importlib.import_module(full_name)
File "/usr/lib64/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.6/site-packages/holehe/modules/products/samsung.py", line 90
if found := re.search(phone_number_pattern, req.text):
^
SyntaxError: invalid syntax

Any ideas?
Thank you

Incorrect results glitch

I've found a glitch. It concerns Nike.com in connection with a Gmail.

To reproduce: create a Nike account with a Gmail, run the Gmail on Holehe (it will correctly show a Nike account), then go to your Nike account settings and change the email on there into something else (other than Gmail provider), then run the Gmail again, and Holehe will still show (this time incorrectly) a Nike account. Same result even for randomized Gmail catchalls such as myname+1234@gmail

Nike must have changed something on their backend because this is definitely a new glitch. Bottom line is, whatever Nike did makes Holehe spit out incorrect info

error on protonmail module

Let's try Holehe with a protonmail address which I'm sure, it doesn't exist like : [email protected] (verified on protonmail sign up).
And result of Holehe tool is : [+] protonmail.ch / Date, time of the creation 2020-04-28 12:52:34
Protonmail module seems to verify if a protonmail address is possible but not if it really exists or not.

Thanks a lot your tool Holehe ;)

Crashes at Snapchat and Ebay modules Parse (out.text.split)

Describe the bug
during running the "snapchat" example, and Ebay also, the code crashes during the out.text.split answer received with httpx.response.

i didn't check but my guess that there is more modules with the split-fails crashes...

To Reproduce
Steps to reproduce the behavior:
run the example with the Snapchat module. as shown in the holehe.

[FEATURE REQUEST] Proxy

Is your feature request related to a problem? Please describe.
When running the script multiple time, we can have limitations on given websites.

Describe the solution you'd like
An option to use a proxy would be a solution.

Additional context
Add the option -proxy ip:port to use a proxy for all the requests.

Holehe has just been updated, you can restart it.

After install got this message

root@bla:/# holehe
Holehe has just been updated, you can restart it.
root@bla:/# holehe
Holehe has just been updated, you can restart it.

I checked: no hanging holehe processes.

timeout argument is not configured with type=int

In core.py maincore function

parser.add_argument("-T","--timeout", default=10, required=False,dest="timeout",
should be
parser.add_argument("-T","--timeout", type=int, default=10, required=False,dest="timeout",

or otherwise the argument is considered a string and then "client = httpx.AsyncClient(timeout=timeout)" produces a client which fails on all requests.

Runtime Error

Describe the bug
Fails to run

To Reproduce
Steps to reproduce the behavior:
run holehe gmail.com

Expected behavior
gets info

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser firefox
  • version latest

➜ ~ holehe [email protected] Twitter : @palenath Github : https://github.com/megadose/holehe For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ 0%| | 0/121 [00:00<?, ?it/s]/home/rajaa/.local/lib/python3.9/site-packages/anyio/_backends/_trio.py:164: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211) class ExceptionGroup(BaseExceptionGroup, trio.MultiError): 92%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 111/121 [00:01<00:00, 85.89it/s]Traceback (most recent call last): File "/home/rajaa/.local/bin/holehe", line 8, in <module> sys.exit(main()) File "/home/rajaa/.local/lib/python3.9/site-packages/holehe/core.py", line 226, in main trio.run(maincore) File "/home/rajaa/.local/lib/python3.9/site-packages/trio/_core/_run.py", line 2010, in run raise runner.main_task_outcome.error File "/home/rajaa/.local/lib/python3.9/site-packages/holehe/core.py", line 218, in maincore await client.aclose() File "/home/rajaa/.local/lib/python3.9/site-packages/httpx/_client.py", line 1974, in aclose await self._transport.aclose() File "/home/rajaa/.local/lib/python3.9/site-packages/httpx/_transports/default.py", line 365, in aclose await self._pool.aclose() File "/home/rajaa/.local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 312, in aclose raise RuntimeError( RuntimeError: The connection pool was closed while 9 HTTP requests/responses were still in-flight. 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 121/121 [00:02<00:00, 45.66it/s] ➜ ~

Missing attribute 'frozen'

Hello,

When running the program the following error occurs:

holehe [email protected]
Traceback (most recent call last):
File "/usr/local/bin/holehe", line 11, in
load_entry_point('holehe==1.61', 'console_scripts', 'holehe')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2854, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2445, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2451, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.8/dist-packages/holehe-1.61-py3.8.egg/holehe/core.py", line 4, in
import trio
File "/usr/local/lib/python3.8/dist-packages/trio-0.22.0-py3.8.egg/trio/init.py", line 76, in
from ._dtls import DTLSEndpoint, DTLSChannel
File "/usr/local/lib/python3.8/dist-packages/trio-0.22.0-py3.8.egg/trio/_dtls.py", line 136, in
@attr.frozen
AttributeError: module 'attr' has no attribute 'frozen'

I installed the package using pip3 install holehe.

Are there any settings or dependencies I need to install?

Module

It's possible add other module?

Update regexPattern in modules/social_media/protonmail.py

Hi,

I suggest you a new regexPattern "regexPattern3" in modules/social_media/protonmail.py:

You can test it with this API request:
https://api.protonmail.ch/pks/lookup?op=index&[email protected] (elliptic curve system X25519)

[WEBSITE] Bitwarden

When helping the police in a case, it could be usefull to know if a user has a Bitwarden account.

ModuleNotFoundError: No module named 'holehe.modules.mails.skeleton'

Describe the bug
After installing and trying to use holehe, I receive a ModuleNotFoundError error.

To Reproduce
Steps to reproduce the behavior:

  1. Run pip install holehe
  2. Run holehe [email protected]

Expected behavior
Holehe begins to function as normally, looking for the given email.

Screenshots
Error Screenshot

Desktop (please complete the following information):

  • OS: Windows 11 (21H2, build 22000.675)
  • Browser: Firefox
  • Version: 103.0.2

Smartphone (please complete the following information):

  • N/A

Additional context

Traceback (most recent call last):
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\Scripts\holehe.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\lib\site-packages\holehe\core.py", line 226, in main
    trio.run(maincore)
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\lib\site-packages\trio\_core\_run.py", line 1932, in run
    raise runner.main_task_outcome.error
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\lib\site-packages\holehe\core.py", line 199, in maincore
    modules = import_submodules("holehe.modules")
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\lib\site-packages\holehe\core.py", line 44, in import_submodules
    results[full_name] = importlib.import_module(full_name)
  File "C:\Users\domsg\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'holehe.modules.mails.skeleton'

Trouble with Google CloudShell install

cloudshell:~/holehe$ holehe
Traceback (most recent call last):
File "/usr/bin/holehe", line 33, in
sys.exit(load_entry_point('holehe==1.60.3', 'console_scripts', 'holehe')())
File "/usr/bin/holehe", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
File "/usr/local/lib/python3.7/dist-packages/importlib_metadata/init.py", line 951, in distribution
return Distribution.from_name(distribution_name)
File "/usr/local/lib/python3.7/dist-packages/importlib_metadata/init.py", line 542, in from_name
raise PackageNotFoundError(name)
importlib_metadata.PackageNotFoundError: No package metadata was found for holehe

Tumblr rate limit always

Description

When checking an e-mail for Tumblr, it will always return a rate limit.

Reproducing the Issue

Either by running a custom Python script, or by running holehe [email protected], the Tumblr entry will return a rate limit. I've tried this over three different IPs and cloud shells.

Expected Behaviour

frequent_rate_limit should at least be True.

Output

I don't know much Python, so I just got the example Python usage from the README, and swapped snapchat for tumblr wherever found and set in an actual e-mail address instead of the example one.

[{'name': 'tumblr', 'domain': 'tumblr.com', 'method': 'register', 'frequent_rate_limit': False, 'rateLimit': True, 'exists': False, 'emailrecovery': None, 'phoneNumber': None, 'others': None}]

System Information

Client 1: Arch Linux 5.16.5-arch1-1
Client 2: Debian GNU/Linux 5.10.90+ (Google Compute Engine)
Client 3: Ubuntu 18.04.5 LTS (Kernel 5.11.0-1029-gcp) (Replit [Google Compute Engine])

SyntaxError: invalid syntax

Describe the bug
Running Holhe returns a Syntax Error.

To Reproduce
Steps to reproduce the behavior:

  1. run holhe
  2. Errored
    Copy and Paste
    File "/usr/local/lib/python3.6/dist-packages/holehe/modules/products/samsung.py", line 90
    if found := re.search(phone_number_pattern, req.text):

[WEBSITE] Facebook

Is there a way to support Facebook.com without warning the user ?
I see you removed the facebook module in this commit : e24b7f4

invalid syntax

Describe the bug
when i type holehe i have a syntax error

Desktop (please complete the following information):

  • OS: debian 10
  • python: 3.9.1

Additional context

Traceback (most recent call last):
File "/home/debian/.local/bin/holehe", line 10, in
sys.exit(main())
File "/home/debian/.local/lib/python3.7/site-packages/holehe/core.py", line 226, in main
trio.run(maincore)
File "/home/debian/.local/lib/python3.7/site-packages/trio/_core/_run.py", line 1932, in run
raise runner.main_task_outcome.error
File "/home/debian/.local/lib/python3.7/site-packages/holehe/core.py", line 199, in maincore
modules = import_submodules("holehe.modules")
File "/home/debian/.local/lib/python3.7/site-packages/holehe/core.py", line 46, in import_submodules
results.update(import_submodules(full_name))
File "/home/debian/.local/lib/python3.7/site-packages/holehe/core.py", line 44, in import_submodules
results[full_name] = importlib.import_module(full_name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/home/debian/.local/lib/python3.7/site-packages/holehe/modules/products/samsung.py", line 90

I am having a warning regarding trio

/home/ubuntu/.local/lib/python3.10/site-packages/anyio/_backends/_trio.py:164: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (python-trio/trio#2211)
class ExceptionGroup(BaseExceptionGroup, trio.MultiError):

Error everytime I run

I'm running: https://cdimage.kali.org/kali-2020.4/kali-linux-2020.4-live-amd64.iso (Debian 9.x Kali)

I downloaded and installed holehe from this git page, (most up to date).

How do i stop this error?

Error:
Twitter : @palenath
Github : https://github.com/megadose/holehe
For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_exceptions.py", line 326, in map_exceptions
yield
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py", line 1502, in _send_single_request
(status_code, headers, stream, ext,) = await transport.arequest(
File "/usr/local/lib/python3.8/dist-packages/httpcore-0.12.2-py3.8.egg/httpcore/_async/connection_pool.py", line 218, in arequest
response = await connection.arequest(
File "/usr/local/lib/python3.8/dist-packages/httpcore-0.12.2-py3.8.egg/httpcore/_async/connection.py", line 93, in arequest
self.socket = await self._open_socket(timeout)
File "/usr/local/lib/python3.8/dist-packages/httpcore-0.12.2-py3.8.egg/httpcore/_async/connection.py", line 119, in _open_socket
return await self.backend.open_tcp_stream(
File "/usr/local/lib/python3.8/dist-packages/httpcore-0.12.2-py3.8.egg/httpcore/_backends/auto.py", line 44, in open_tcp_stream
return await self.backend.open_tcp_stream(
File "/usr/local/lib/python3.8/dist-packages/httpcore-0.12.2-py3.8.egg/httpcore/_backends/trio.py", line 165, in open_tcp_stream
return SocketStream(stream=stream)
File "/usr/lib/python3.8/contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/httpcore-0.12.2-py3.8.egg/httpcore/_exceptions.py", line 12, in map_exceptions
raise to_exc(exc) from None
httpcore.ConnectTimeout

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/bin/holehe", line 33, in
sys.exit(load_entry_point('holehe==1.58.6.5', 'console_scripts', 'holehe')())
File "/usr/local/lib/python3.8/dist-packages/holehe-1.58.6.5-py3.8.egg/holehe/core.py", line 194, in main
trio.run(maincore)
File "/usr/local/lib/python3.8/dist-packages/trio-0.18.0-py3.8.egg/trio/_core/_run.py", line 1932, in run
raise runner.main_task_outcome.error
File "/usr/local/lib/python3.8/dist-packages/holehe-1.58.6.5-py3.8.egg/holehe/core.py", line 182, in maincore
nursery.start_soon(launch_module, website, email, client, out ,args)
File "/usr/local/lib/python3.8/dist-packages/trio-0.18.0-py3.8.egg/trio/_core/_run.py", line 815, in aexit
raise combined_error_from_nursery
File "/usr/local/lib/python3.8/dist-packages/holehe-1.58.6.5-py3.8.egg/holehe/core.py", line 148, in launch_module
await module(email, client, out)
File "/usr/local/lib/python3.8/dist-packages/holehe-1.58.6.5-py3.8.egg/holehe/modules/jobs/freelancer.py", line 23, in freelancer
response = await client.post('https://www.freelancer.com/api/users/0.1/users/check?compact=true&new_errors=true', data=data, headers=headers)
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py", line 1633, in post
return await self.request(
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py", line 1371, in request
response = await self.send(
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py", line 1406, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py", line 1444, in _send_handling_auth
response = await self._send_handling_redirects(
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py", line 1476, in _send_handling_redirects
response = await self._send_single_request(request, timeout)
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py", line 1502, in _send_single_request
(status_code, headers, stream, ext,) = await transport.arequest(
File "/usr/lib/python3.8/contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_exceptions.py", line 343, in map_exceptions
raise mapped_exc(message, **kwargs) from exc # type: ignore
httpx.ConnectTimeout
/usr/local/lib/python3.8/dist-packages/httpx-0.16.1-py3.8.egg/httpx/_client.py:1781: UserWarning: Unclosed <httpx.AsyncClient object at 0x7f085e77ac10>. See https://www.python-httpx.org/async/#opening-and-closing-clients for details.

implémentation vérification marmiton.com

Actuellement, il existe une interface de reset de compte marmiton ici : ``

On peut faire un appel curl pour la réinitialisation sans CSRF, c'est limite la fête :

curl 'https://www.marmiton.org/reloaded/users/forgotten-password' 'Referer: https://www.marmiton.org/reloaded/users/forgotten-password' -H 'Content-Type: application/x-www-form-urlencoded'  --data-raw 'destUrl=&[email protected]&personalKey=192988092&pseudo='

En cas de non existence du mail, cela renvoie la même page avec un popup visuel disant :
Il n'existe aucun utilisateur à partir des informations fournies
En cas d'existence, cela renvoie sur la même URL avec dans la page ceci :

 Vous allez recevoir un email avec un lien de régénération de votre mot de passe

Attention : votre antispam pourrait bloquer cet e-mail.
Pour éviter cela, ajoutez [email protected] à votre liste de contacts puis demandez un nouvel e-mail.
Pensez aussi à vérifier dans le dossier Spam de votre boite mail.

Holehe has just been updated, you can restart it.

Describe the bug
Holehe has just been updated, you can restart it.

I already tried:

pip show holehe
and
pip install --upgrade holehe

I already updated my Ubuntu 22.04 LTS (18JUN2022).

I reinstalled ?Holehe and repeated this:

pip show holehe
and
pip install --upgrade holehe

No luck....

How do I solve that?

Holehe has just been updated, you can restart it.

Describe the bug

When I execute Holehe, I get:

Holehe has just been updated, you can restart it.

To Reproduce
Steps to reproduce the behavior:

  1. Type holehe <target_email
  2. Hit enter
  3. See error: Holehe has just been updated, you can restart it.

Expected behavior

Holehe was expected to run as it should.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 LTS
  • Browser Chrome
  • Version 22.04 LTS

Additional context

Searching the internet I saw this solution:

pip show holehe
and
pip install --upgrade holehe

Running pip show holehe I get:

_ERROR: Exception:

Traceback (most recent call last):

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3012, in _parsed_pkg_info

return self._pkg_info

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 2815, in getattr

raise AttributeError(attr)

AttributeError: _pkg_info

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/osint/.local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper

status = run_func(*args)

File "/home/osint/.local/lib/python3.10/site-packages/pip/_internal/commands/show.py", line 45, in run

if not print_results(

File "/home/osint/.local/lib/python3.10/site-packages/pip/_internal/commands/show.py", line 148, in print_results

for i, dist in enumerate(distributions):

File "/home/osint/.local/lib/python3.10/site-packages/pip/_internal/commands/show.py", line 103, in search_packages_info

required_by = sorted(_get_requiring_packages(dist), key=str.lower)

File "/home/osint/.local/lib/python3.10/site-packages/pip/_internal/commands/show.py", line 93, in

in {canonicalize_name(d.name) for d in dist.iter_dependencies()}

File "/home/osint/.local/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py", line 199, in iter_dependencies

return self._dist.requires(extras)

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 2736, in requires

dm = self._dep_map

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3023, in _dep_map

self.__dep_map = self._compute_dependencies()

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3032, in _compute_dependencies

for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3014, in _parsed_pkg_info

metadata = self.get_metadata(self.PKG_INFO)

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 1420, in get_metadata

value = self._get(path)

File "/home/osint/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 1616, in _get

with open(path, 'rb') as stream:

FileNotFoundError: [Errno 2] Arquivo ou diretório inexistente: '/usr/local/lib/python3.10/dist-packages/requests-2.28.1.dist-info/METADATA'_

Running pip3 show holehe I get the same error.

Running pip install --upgrade holehe I get:

_Defaulting to user installation because normal site-packages is not writeable

Requirement already satisfied: holehe in ./.local/lib/python3.10/site-packages (1.60.3)

Collecting holehe

Using cached holehe-1.61.tar.gz (44 kB)

Preparing metadata (setup.py) ... error

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.

│ exit code: 1

╰─> [12 lines of output]

  /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'install_requires'

    warnings.warn(msg)

  /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'include_package_data'

    warnings.warn(msg)

  /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'entry_points'

    warnings.warn(msg)

  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

     or: setup.py --help [cmd1 cmd2 ...]

     or: setup.py --help-commands

     or: setup.py cmd --help

  

  error: invalid command 'egg_info'

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

error: metadata-generation-failed

× Encountered error while generating package metadata.

╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.

hint: See above for details._

Running pip3 install --upgrade holehe I get the same error

Ebay module issue : 'frequent_rate_limit': True, 'rateLimit: True'

Hello,
I am new to using httpx , I have been trying to use the e-bay module but it wouldn't work because I keep getting this result:
[{'name': 'ebay', 'domain': 'ebay.com', 'method': 'login', 'frequent_rate_limit': True, 'rateLimit': True, 'exists': False, 'emailrecovery': None, 'phoneNumber': None, 'others': None}]

I tried to change the headers and the IP for every test but no luck.

If someone could fix it, that would be cool to learn from it
thank you !

false positive with pinterest check

Hi, after a few repeated attempts in a few minutes I verified that the check on pinterest always starts returning used for the account. Can you please check? Thank you very much!

[WEBSITE] Dashlane

When helping the police in a case, it could be usefull to know if a user has a Dashlane account.

Do not use BaseException

Describe the bug

Hi, I see many code catch BaseException instead of Exception, which will cause KeyboardInterrupt and trio task timeout/cancel not work. Is there any reason to use BaseException, how about change them to Exception?

To Reproduce
https://github.com/megadose/holehe/search?q=BaseException

And when running holehe, the ctrl + C may not able to cancel the execution.

Expected behavior
Expect not use BaseException, and KeyboardInterrupt, trio task timeout/cancel works normally.

Screenshots
NA

Additional context
I'm glad to submit PR to fix it.

containerize the cli using docker

First of all thank you for this fantastic tool 🎉

Is your feature request related to a problem? Please describe.
Some users may not have python installed or they want to use the tool within a Container.

Describe the solution you'd like

  • We can build a Image using a simple Dockerfile
  • We can built it with Buildpack or Packer

Describe alternatives you've considered
Alternative not need we can install the cli via pip or py

If you want I would provide a solution, I would be happy to contribute.

Getting the Following Error upon running Holehe

HI @megadose

I am getting the following error upon running Holehe. It seems unfixed:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/httpx/_exceptions.py", line 326, in map_exceptions
yield
File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1502, in _send_single_request
(status_code, headers, stream, ext,) = await transport.arequest(
File "/usr/local/lib/python3.9/dist-packages/httpcore/_async/connection_pool.py", line 218, in arequest
response = await connection.arequest(
File "/usr/local/lib/python3.9/dist-packages/httpcore/_async/connection.py", line 93, in arequest
self.socket = await self._open_socket(timeout)
File "/usr/local/lib/python3.9/dist-packages/httpcore/_async/connection.py", line 119, in _open_socket
return await self.backend.open_tcp_stream(
File "/usr/local/lib/python3.9/dist-packages/httpcore/_backends/auto.py", line 44, in open_tcp_stream
return await self.backend.open_tcp_stream(
File "/usr/local/lib/python3.9/dist-packages/httpcore/_backends/trio.py", line 165, in open_tcp_stream
return SocketStream(stream=stream)
File "/usr/lib/python3.9/contextlib.py", line 135, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.9/dist-packages/httpcore/_exceptions.py", line 12, in map_exceptions
raise to_exc(exc) from None
httpcore.ConnectError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/bin/holehe", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/holehe/core.py", line 140, in main
trio.run(maincore)
File "/usr/local/lib/python3.9/dist-packages/trio/_core/_run.py", line 1928, in run
raise runner.main_task_outcome.error
File "/usr/local/lib/python3.9/dist-packages/holehe/core.py", line 99, in maincore
nursery.start_soon(website, email, client, out)
File "/usr/local/lib/python3.9/dist-packages/trio/_core/_run.py", line 815, in aexit
raise combined_error_from_nursery
File "/usr/local/lib/python3.9/dist-packages/holehe/modules/social_media/odnoklassniki.py", line 20, in odnoklassniki
await client.get(OK_LOGIN_URL + '&st.email=' + email, headers=headers)
File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1548, in get
return await self.request(
File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1371, in request
response = await self.send(
File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1406, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1444, in _send_handling_auth
response = await self._send_handling_redirects(
File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1476, in _send_handling_redirects
response = await self._send_single_request(request, timeout)
File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1502, in _send_single_request
(status_code, headers, stream, ext,) = await transport.arequest(
File "/usr/lib/python3.9/contextlib.py", line 135, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.9/dist-packages/httpx/_exceptions.py", line 343, in map_exceptions
raise mapped_exc(message, **kwargs) from exc # type: ignore
httpx.ConnectError
/usr/local/lib/python3.9/dist-packages/httpx/_client.py:1781: UserWarning: Unclosed <httpx.AsyncClient object at 0x7f754a672dc0>. See https://www.python-httpx.org/async/#opening-and-closing-clients for details.

domain blablacar find is not working

Describe the bug
blablacar find ends in an exception. holehe v1.61

To Reproduce
Steps to reproduce the behavior:

  1. run holehe <email_address> for an account
  2. blablacar find will always report Rate limit

Expected behavior
blablacar find should result in Email used and Email not used

Screenshots
No applicable

Desktop (please complete the following information):

  • All

Smartphone (please complete the following information):

  • All

Additional context
This is due to an invalid assumption in web server response

zsh: command not found: holehe

I've just installed holehe via the command pip3 install holehe

When I'm trying to launch the command holehe, I have this issue : zsh: command not found: holehe

Executable Claims to Check 112 Sites in ~13 Seconds, doesn't appear to actually *do* anything?

In my limited tests, the various submodules for specific sites return the expected JSON (including correct identification of whether an account exists).

However, when running the standalone script with my personal gmail, I always get a message like "112 sites checked in 13 seconds" (very impressive, of course).

The problem is that the report just as consistently states my gmail is not registered on any of those 112 sites. And most certainly is, on a few dozen of them.

Have I missed an essential step in setup, am I running it wrong, or what?

custom url

My Idea for this would be a way to check custom URLs that are not listed in the program itself, you could manage that with an argument.

Describe the solution you'd like

It could look like this:
holehe -cu 'custom URL' ('cu' stands for custom URL)

Describe alternatives you've considered

holehe -cus 'custom URL1, custom URL2 ....' a way to check multiple URLs that are not on the list (cus stands for custom URLs)

Additional context

you could also add a mode where only the custom URL/s are getting checked, if this mode is not activated the website list is getting checked with your URL at the end

implémenter vérification scrib.com

o/

Je crois que scrib.com n'est pas proposé à la vérification pour holehe.

J'ai vérifié, pour la page https://fr.scribd.com/login tu peux envoyer une requête POST JSON et obtenir deux réponses possibles, soit :
{"form_name":null,"errors":[{"input_name":"login_password","msg":"Mot de passe invalide. Veuillez réessayer."}]}
soit :
{"form_name":null,"errors":[{"input_name":"login_or_email","msg":"Aucun compte lié à ce courriel ou ce nom d'utilisateur n'a été trouvé. Veuillez réessayer ou vous inscrire."}]}

Voici un exemple de requête curl à faire :

curl 'https://fr.scribd.com/login' -H 'User-Agent: Mozilla/5.0 (someuseragent)' -H 'Accept: */*' -H 'Accept-Language: fr,fr-FR;' --compressed -H 'Referer: https://fr.scribd.com/' -H 'Content-Type: application/json' -H 'X-CSRF-Token: XKk2Qm65OZMPa+iPseuNZWpTsYfyEs59shuH2kl9i+qN4iB4pLiitHaOohUwtcgKj0+16plfbOa5OMCeg4dSJA==' -H 'X-Requested-With: XMLHttpRequest' -H 'Origin: https://fr.scribd.com' -H 'Connection: keep-alive' -H 'Cookie: cookie a conserver' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: Trailers' --data-raw '{"login_or_email":"[email protected]","login_password":"somerandompassword","rememberme":"","signup_location":"https://fr.scribd.com","login_params":{}}'

A priori, pas grand chose de chiant en dehors d'un CRSF. Les cookies de session sont à conserver depuis la précédente requête et le referrer peut dire potentiellement n'importe quoi.
Ledit CSRF token est proposé en balise meta de chaque page de scribd.com.

Voilà ma proposition, bisous

Metaclass Conflict

Hi,

I tried to install holehe on my computer, however it gives me this issue when running holehe [email protected] or an example.py file with your code...

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

How can I fix it?

Dashlane and Bitwarden

Is your feature request related to a problem? Please describe.
When helping the police in a case, it could be usefull to know if a user has a passwords manager.

Describe the solution you'd like
Add support for Dashlane and Bitwarden.

What does "others" mean?

Hello,

I ran a search with an e-mail address and the only positive result was from office365.
But if I tried to use that e-mail address on o365, it allowed me to create an account.
Then I check the holehe github reference and it is written there that o365 = others.
What does actually mean if the holehe alerts that an e-mail address is used on o365?

Thanks!

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.