diff --git a/discovery/pgpsearch.py b/discovery/pgpsearch.py index 95febc43..a18bfd47 100644 --- a/discovery/pgpsearch.py +++ b/discovery/pgpsearch.py @@ -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): diff --git a/theHarvester.py b/theHarvester.py index 838c0ae6..3064c062 100644 --- a/theHarvester.py +++ b/theHarvester.py @@ -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'] = ''