From 11acf9c47c8e612bf3cdfdc260585359dc39841d Mon Sep 17 00:00:00 2001 From: David Mougeolle Date: Tue, 7 Jan 2020 22:24:34 +0100 Subject: [PATCH] Fix ambiguous variable name --- theHarvester/__main__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: