Coder Social home page Coder Social logo

Comments (15)

flyinggoatman avatar flyinggoatman commented on May 19, 2024 2

Fixed i ran "sudo apt upgrade" and it seemed to patch the problem.

from h8mail.

khast3x avatar khast3x commented on May 19, 2024

Hey there,
Thank you for checking out h8mail.
These instructions were to install and use h8mail v1.
Now, h8mail uses pip, and installs itself when running pip3 install h8mail, check the README for up-to-date detailed installation instructions and troubleshooting. It seems you still managed to get it working as per your second problem, so I'm guessing you did that too?

As for your second problem, could you confirm which version of h8mail you are using? It should be in the banner when running it.

Cheers

from h8mail.

randysix avatar randysix commented on May 19, 2024

Hello, thanks for the quick reply
Yes, about the README.. I did check it out, followed the instructions, but then got this HIBP error.. My h8mail version is 2.21.0.

Another thing that I noticed when reading through the write-up is that I can still read h8mail.py under the line "Version 2.0 - 'Birthday Update" in the GIFs of the 'Local Searching' section.. This got me quite confused, because when I run it myself it says 'h8mail', instead of 'h8mail.py'.. So maybe h8mail.py is a must?? Please let me know.

from h8mail.

khast3x avatar khast3x commented on May 19, 2024

Hello,
That one is on me, the example GIFs require updating. Thank you for bringing it up. To be explicit, there is no h8mail.py anymore.

As for the 403, maybe your IP is flagged? The next update will also have a --debug option so you'll be able to get more information. You can already try it using the 2.3 git branch, or wait a few days for the release. Let me know how things go.

Cheers!

from h8mail.

randysix avatar randysix commented on May 19, 2024

Hello.
Thanks for letting me know that h8mail.py no longer exists. Nice to hear about the incoming update too.

Now, about the 403 issue.. I really can't tell for sure wether my IP is flagged or not in HIBP since this has never happened to me before. I suspect it is indeed flagged (based on what I've been reading this is often the case..). If you know the solution to this problem I'd very much appreciate your help.

from h8mail.

owentl avatar owentl commented on May 19, 2024

I too am getting the 403 error from HIBP. I tried this on 2 different machines with same result after installing with pip.

Is this due to HIBP changing to v3 of their API and now requiring a key (which is paid from what I understand)?

from h8mail.

khast3x avatar khast3x commented on May 19, 2024

Hello @randysix and @owentl,

h8mail's new version has been released. Could you retry using the --debug option? This will dump the requests you are sending and receiving, and hopefully give us more clues for the 403.

The HIBP API finishes tomorrow IIRC

from h8mail.

randysix avatar randysix commented on May 19, 2024

Hello,
It turns out I'm not geting the 403 anymore, but the 401 instead. From what I have read it might be because I haven't purchased the HIBP key, thus I'm unauthorized.. So I'd say this isn't an issue anymore.

But now I have another doubt.
I'm confused over the configuration files topic. I have some keys apart from the default one that I've typed down and uncommented in the config.ini text file. Then generated the h8mail_config.ini text file and did exactly the same thing than before.

After that, I ran the command:

h8mail -t [example] -q [query] -c h8mail_config.ini

But I'm only getting the results from the default leak lookup pub, and not from the other keys.
By the way, I don't own any of the private keys, just the public ones.. Could this fact be causing this? Or did I just do something wrong in the process? Please let me know, I'd appreciate your help.

(Btw, sorry if this doubt is misleading to the title of the issue)

Edit:

I've purchased a new HIBP key and I'm still getting the 401 error.

I ran:

h8mail -t [[email protected]] --debug

And the following came out:

DEBUG: RESPONSE BODY---------------
[!] Request could not be made for [[email protected]]
Expecting value: line 1 column 1 (char 0)
<Response [401]>
[!] Could not contact HIBP for [[email protected]]
401

from h8mail.

N1k0la1 avatar N1k0la1 commented on May 19, 2024

Same here. Getting the 401 error with a valid API Key. Running H8mail v2.3

from h8mail.

khast3x avatar khast3x commented on May 19, 2024

Hello,

In the documentation, the APIs with the key (:key:) symbol are APIs keys you need to purchase.
You can find links in the configuration file section of the documentation.
If you purchased an API key for haveibeenpwned, please keep in mind that they expire after 1 month.

Cheers

from h8mail.

flyinggoatman avatar flyinggoatman commented on May 19, 2024

Hey so I've installed the program with the readme on the github but the command h8mail but it says that is not a command.

here are all the commands I used

https://pastebin.com/2yNRcds8
1@kali:~/Apps/h8mail$ pip3 install h8mail Requirement already satisfied: h8mail in /home/fly/.local/lib/python3.8/site-packages (2.5.4) Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from h8mail) (2.23.0) 1@kali:~/Apps/h8mail$ h8mail bash: h8mail: command not found 1@kali:~/Apps/h8mail$ h8mail -h bash: h8mail: command not found 1@kali:~/Apps/h8mail$ pip3 h8mail ERROR: unknown command "h8mail" 1@kali:~/Apps/h8mail$ python3 h8mail Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "h8mail/__main__.py", line 2, in <module> from .utils.run import main ImportError: attempted relative import with no known parent package 1@kali:~/Apps/h8mail$

from h8mail.

khast3x avatar khast3x commented on May 19, 2024

@flyinggoatman it seems your pip3 installation is not complete, so it does not know where to look for h8mail.
Please check the Troubleshooting section for OSX in the wiki for a workaround.

Cheers

from h8mail.

flyinggoatman avatar flyinggoatman commented on May 19, 2024

Ty

from h8mail.

flyinggoatman avatar flyinggoatman commented on May 19, 2024

@flyinggoatman it seems your pip3 installation is not complete, so it does not know where to look for h8mail.
Please check the Troubleshooting section for OSX in the wiki for a workaround.

Cheers

Is this what the installation process should look like

1@kali:~$ sudo apt-get --reinstall install python3 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libcdio18 libcfitsio8 libilmbase24 libopenexr24 libpoppler82 linux-image-5.5.0-kali2-amd64 openjdk-8-jre Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 60 not upgraded. Need to get 0 B/63.7 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 388209 files and directories currently installed.) Preparing to unpack .../python3_3.8.2-3_amd64.deb ... running python pre-rtupdate hooks for python3.8... Unpacking python3 (3.8.2-3) over (3.8.2-3) ... Setting up python3 (3.8.2-3) ... running python rtupdate hooks for python3.8... /usr/share/legion/app/auxiliary.py:273: SyntaxWarning: "is not" with a literal. Did you mean "!="? if text is not '' and text is not ' ': /usr/share/legion/app/auxiliary.py:273: SyntaxWarning: "is not" with a literal. Did you mean "!="? if text is not '' and text is not ' ': /usr/share/legion/app/auxiliary.py:285: SyntaxWarning: "is not" with a literal. Did you mean "!="? if text is not '' and re.search("[^A-Za-z0-9_-]+", text) is None: /usr/share/legion/app/auxiliary.py:291: SyntaxWarning: "is not" with a literal. Did you mean "!="? if text is not '' and re.search("[^A-Za-z0-9_() -]+", text) is None: /usr/share/legion/app/cvemodels.py:55: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not len(self.__cves) is 0: /usr/share/legion/app/hostmodels.py:43: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not len(self.__hosts) is 0: /usr/share/legion/app/processmodels.py:43: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not len(self.__processes) is 0: /usr/share/legion/app/scriptmodels.py:44: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not len(self.__scripts) is 0: /usr/share/legion/app/servicemodels.py:40: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not len(self.__services) is 0: /usr/share/legion/app/servicemodels.py:184: SyntaxWarning: "is not" with a literal. Did you mean "!="? if not len(self.__serviceNames) is 0: /usr/share/responder/settings.py:209: SyntaxWarning: "is not" with a literal. Did you mean "!="? if len(self.NumChal) is not 16 and not "random": /usr/share/responder/tools/MultiRelay.py:418: SyntaxWarning: "is not" with a literal. Did you mean "!="? if data.find("NTLM") is not -1: /usr/share/responder/tools/MultiRelay.py:423: SyntaxWarning: "is not" with a literal. Did you mean "!="? if data.find("NTLM") is not -1: /usr/share/responder/tools/RunFingerPackets.py:14: SyntaxWarning: "is" with a literal. Did you mean "=="? if PY2OR3 is "PY2": running python post-rtupdate hooks for python3.8... Processing triggers for kali-menu (2020.3.2) ... Processing triggers for man-db (2.9.3-2) ...

from h8mail.

ugur342 avatar ugur342 commented on May 19, 2024

sudo apt upgrade

@flyinggoatman I tried that and so many files were downloading but then it ran into an error saying failed to fetch..... I also checked my storage and i had 300 mb left could it be because of that? if it is what do i do? I am a mac user running kali linux. SHould i get an external hard drive?

from h8mail.

Related Issues (20)

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.