-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breach Compilation list index out of range for a specific email #16
Comments
Hey there! @dkramer47 it's definitely strange to get a crash from such attempt... However, I'm a bit familiar with python I've invested a decent time learning it but not to an extreme level. |
This error " List index out of range" appeared to me also when i was trying to run the tool from a target text file. I'm not sure what is the fix, but thought I mention that. |
Try changing the line 178 in h8mail.py from 'if line:' -> 'if ":" in line:' That fixed it for me, and it hasn't had any negative effects that I can see. |
I can confirm that fixed it for me too. |
Hello, I am currently refactoring h8mail, and have included your code fix in this commit. |
Hello! I noticed after messing around using theharvester to get emails and then using h8mail to check them for breaches using the breach compilation (I'm not doing anything illegal, I promise), that the email "yourname@yahoo.com" caused a list index out of range crash. Now I know it's not someone's real email, but it caused the entire list check to fail.
I'm not too familiar with python, but I found changing line 178 in h8mail.py from "if line:" to "if ":" in line" fixed it from what I can tell, so maybe it's a good solution, or maybe it causes other things to go wrong that I'm not aware of.
The text was updated successfully, but these errors were encountered: