mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-22 00:06:30 +08:00
Merge branch 'dev' into master
This commit is contained in:
commit
9c7c1153b6
|
@ -16,11 +16,10 @@ async def do_search(self):
|
|||
dct = responses
|
||||
|
||||
self.totalhosts: set = {
|
||||
host.split(',')[0].replace('www.', '') if ',' in host and self.word.replace('www.', '') in host.split(',')[
|
||||
0] in host else
|
||||
host.split(',')[0].replace('www','') if ',' in host and self.word.replace('www.', '') in host.split(',')[0] in host else
|
||||
host.split(',')[1] for host in dct['FDNS_A']}
|
||||
|
||||
self.totalips: set = {ip.split(',')[0] for ip in dct['FDNS_A'] if
|
||||
self.totalips: set = {ip.split(',')[0]for ip in dct['FDNS_A'] if
|
||||
re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", ip.split(',')[0])}
|
||||
|
||||
async def get_hostnames(self) -> set:
|
||||
|
|
Loading…
Reference in a new issue