mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-20 15:26:31 +08:00
Merge branch 'master' of https://github.com/laramies/theHarvester
This commit is contained in:
commit
3f6253e8e6
|
@ -26,6 +26,7 @@ def process(self):
|
|||
returncode, returnmsg, headers = h.getreply()
|
||||
self.results = h.getfile().read()
|
||||
except Exception, e:
|
||||
print "Unable to connect to PGP server: ",str(e)
|
||||
pass
|
||||
|
||||
def get_emails(self):
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
import re
|
||||
import getopt
|
||||
import stash
|
||||
import time
|
||||
|
||||
try:
|
||||
import requests
|
||||
|
@ -506,6 +507,7 @@ def start(argv):
|
|||
a = shodansearch.search_shodan(ip)
|
||||
shodanvisited.append(ip)
|
||||
results = a.run()
|
||||
time.sleep(2)
|
||||
for res in results:
|
||||
if res['info'] == []:
|
||||
res['info'] = ''
|
||||
|
|
Loading…
Reference in a new issue