Open DocKali opened 5 years ago
I was in the same boat. Following patch works for me.
diff --git a/domain/domain_emailhunter.py b/domain/domain_emailhunter.py
index ab255fe..c209ea9 100755
--- a/domain/domain_emailhunter.py
+++ b/domain/domain_emailhunter.py
@@ -48,7 +48,7 @@ def main(domain):
def output(data, domain=""):
- if type(data) == list and data[1] == "INVALID_API":
+ if type(data) == list and len(data) >= 2 and data[1] == "INVALID_API":
print colored(
style.BOLD + '\n[-] Emailhunter API key not configured, skipping Email Search.\nPlease refer to http://datasploit.readthedocs.io/en/latest/apiGeneration/.\n' + style.END, 'red')
else:
Thanks for your patch @jx6f it seems it works well in my case. Now I'm facing a new problem, same as #271 But it's another story!
Please provide the following details.
Host System
python --version
) : 2.7.15Error Description
Please provide the details of the error. Try to provide the output and also steps to reproduce (if possible). For some domain, I obtain the following Traceback :
I don't understand why I have this error for some domains and not for others, how to solve this?