Ekultek / WhatBreach

OSINT tool to find breached emails, databases, pastes, and relevant information
1.18k stars 171 forks source link

Traceback (most recent call last) #15

Closed ImJaineel closed 3 years ago

ImJaineel commented 4 years ago

command entered: python3 whatbreach.py

error is shown: Traceback (most recent call last): File "whatbreach.py", line 1, in from whatbreach.main import main
File "/root/WhatBreach/whatbreach/main.py", line 5, in from lib.cmd import Parser
File "/root/WhatBreach/lib/cmd.py", line 3, in
import lib.settings
File "/root/WhatBreach/lib/settings.py", line 11, in from hookers.pastebin_hook import PastebinRawHook File "/root/WhatBreach/hookers/pastebin_hook.py", line 3, in import requests ImportError: No module named requests

Ekultek commented 4 years ago

pip3 install -r requirements.txt

ImJaineel commented 4 years ago

Tried but still same error

kingsalman99 commented 4 years ago

pip3 install -r requirements.txt

Same Bro

selimxsuha commented 4 years ago

run with sudo after u do this "in formatter.py change raw_input to just input"

raushnn commented 4 years ago

pip3 install -r requirements.txt

requirement already satisfied but still giving error

raushnn commented 4 years ago

Again, If I'm entering command " python3 whatbreach.py -e testmail123@mail.com

Traceback (most recent call last): File "whatbreach.py", line 5, in main() File "/home/raushan/WhatBreach/whatbreach/main.py", line 45, in main api_tokens = grab_api_tokens() File "/home/raushan/WhatBreach/lib/settings.py", line 248, in grab_api_tokens tokens[token_identifier] = json.load(data) File "/usr/lib/python3.8/json/init.py", line 293, in load return loads(fp.read(), File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) image

gr3ym1nd commented 4 years ago

Again, If I'm entering command " python3 whatbreach.py -e testmail123@mail.com

Traceback (most recent call last): File "whatbreach.py", line 5, in main() File "/home/raushan/WhatBreach/whatbreach/main.py", line 45, in main api_tokens = grab_api_tokens() File "/home/raushan/WhatBreach/lib/settings.py", line 248, in grab_api_tokens tokens[token_identifier] = json.load(data) File "/usr/lib/python3.8/json/init.py", line 293, in load return loads(fp.read(), File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) image

Same here. Anyone solved this problem?

Ekultek commented 4 years ago

try:

pip3 uninstall requests
pip3 install -r requirements.txt
Mgil10 commented 3 years ago

try:

pip3 uninstall requests
pip3 install -r requirements.txt

Don't work

Ekultek commented 3 years ago

@raushnn @gr3ym1nd you didn't fill out the api data. So when it's trying to load the files it's not getting them. Do rm -rf ~/.whatbreach_home and rerun and answer the questions with the API keys. As for the requests module being funky, @Mgil10, check if requests is installed with pip list if you see it do pip uninstall requests and pip install requests. This is your computers or requests installations issue, it has nothing to do with WhatBreach.

jakestpeter commented 2 years ago

How do you rerun and answer the questions? I can't figure out where the API keys go ...