From 84665c2e595ce56614a8774160867b711c4bb170 Mon Sep 17 00:00:00 2001 From: NotoriousRebel Date: Tue, 24 Dec 2019 00:06:34 -0500 Subject: [PATCH] Fixed small bug. --- theHarvester/discovery/certspottersearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theHarvester/discovery/certspottersearch.py b/theHarvester/discovery/certspottersearch.py index 8f46d1c9..7ea93db4 100644 --- a/theHarvester/discovery/certspottersearch.py +++ b/theHarvester/discovery/certspottersearch.py @@ -23,7 +23,7 @@ async def do_search(self) -> None: elif isinstance(response, dict): self.totalhosts.update({response['dns_names'] if 'dns_names' in response.keys() else ''}) else: - self.totalhosts.union('') + self.totalhosts.update({''}) except Exception as e: print(e)