diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 71629ae2..c3a319fa 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -489,11 +489,11 @@ async def handler(lst): analyzed_ranges.append(ip_range) else: continue - for entry in res: - if word in entry: - dnsrev.append(entry) - if entry not in full: - full.append(entry) + for cname in res: + if word in cname: + dnsrev.append(cname) + if cname not in full: + full.append(cname) print('[*] Hosts found after reverse lookup (in target domain):') print('--------------------------------------------------------') for xh in dnsrev: