DataSploit / datasploit

An #OSINT Framework to perform various recon techniques on Companies, People, Phone Number, Bitcoin Addresses, etc., aggregate all the raw data, and give data in multiple formats.
GNU General Public License v3.0
2.96k stars 426 forks source link

Error on module emailOsint.py #261

Open frajico opened 5 years ago

frajico commented 5 years ago

Please provide the following details.

Host System

Error Description

Error when input to datasploit.py or emailOsint.py is an email

python emailOsint.py abuse@microsoft.com [-] Skipping Clearbit because it is marked as disabled.

---> Searching Whoismind for associated domains

Traceback (most recent call last): File "emailOsint.py", line 17, in run(email, options.output) File "emailOsint.py", line 9, in run osint_runner.run("email", "emails", email, output) File "/home/osint/frameworks/datasploit/osint_runner.py", line 28, in run data = x.main(m_input) File "/home/osint/frameworks/datasploit/emails/email_whoismind.py", line 28, in main if at.text in at['href']: File "/home/osint/.local/lib/python2.7/site-packages/bs4/element.py", line 1011, in getitem return self.attrs[key] KeyError: 'href'

python emailOsint.py abuse@microsoft.com [-] Skipping Clearbit because it is marked as disabled.

---> Searching Whoismind for associated domains

Traceback (most recent call last): File "emailOsint.py", line 17, in run(email, options.output) File "emailOsint.py", line 9, in run osint_runner.run("email", "emails", email, output) File "/home/osint/frameworks/datasploit/osint_runner.py", line 28, in run data = x.main(m_input) File "/home/osint/frameworks/datasploit/emails/email_whoismind.py", line 28, in main if at.text in at['href']: File "/home/osint/.local/lib/python2.7/site-packages/bs4/element.py", line 1011, in getitem return self.attrs[key] KeyError: 'href'

If you cloned Datasploit, also provide the output of git log -n 1 --pretty=format:"%B".

Moving Certificate Transparency Reports from google to CRT.sh %

KhasMek commented 5 years ago

Open your copy of email_whoismind.py and rename Enabled=True to Enabled=False. That should sort out that particular issue. If you run into any other modules that fail, do the same thing to disable them as well.