mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-25 06:53:05 +08:00
Update pgpsearch.py
I'm running a test with the standard example: $ python2 theHarvester.py -d microsoft.com -b pgp However, the ```pgp.rediris.es``` server is dead. This pull simply prints an error message to show the problem instead of returning 0 results. However, you might want to change the server to pgp.mit.edu as well (currently commented out).
This commit is contained in:
parent
7c2c0f2b5d
commit
214732a060
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue