From e587a94c3a4d478a22ccbcd6bd39de1ab4ead3d1 Mon Sep 17 00:00:00 2001 From: L1ghtn1ng Date: Mon, 4 Oct 2021 01:02:42 +0100 Subject: [PATCH] update static typing in omnisint --- theHarvester/discovery/omnisint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theHarvester/discovery/omnisint.py b/theHarvester/discovery/omnisint.py index cce9b573..a492886a 100644 --- a/theHarvester/discovery/omnisint.py +++ b/theHarvester/discovery/omnisint.py @@ -6,7 +6,7 @@ class SearchOmnisint: def __init__(self, word): self.word = word - self.totalhosts = set() + self.totalhosts = list() self.proxy = False async def do_search(self): @@ -15,7 +15,7 @@ async def do_search(self): entries = json.loads(data) self.totalhosts = entries - async def get_hostnames(self) -> set: + async def get_hostnames(self) -> list: return self.totalhosts async def process(self, proxy=False):