From b4d2fe273a6023d1e557918ba1d430500f3e409f Mon Sep 17 00:00:00 2001 From: lgandx Date: Thu, 30 Jan 2014 00:21:18 -0500 Subject: [PATCH] Blacklisted 127.0.0.1 as a plausible DNS server --- Responder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Responder.py b/Responder.py index 6255513..4dd1fb7 100755 --- a/Responder.py +++ b/Responder.py @@ -918,8 +918,8 @@ def IsICMPRedirectPlausible(IP): if ip[0] == 'nameserver': dnsip.extend(ip[1:]) for x in dnsip: - if IsOnTheSameSubnet(x,IP) == False: - print "[Analyze mode: ICMP]You can ICMP Redirect on this network. This workstation (%s) is not on the same subnet than the DNS server (%s). Use python Icmp-Redirect.py for more details."%(IP, x) + if x !="127.0.0.1" and IsOnTheSameSubnet(x,IP) == False: + print "[Analyze mode: ICMP] You can ICMP Redirect on this network. This workstation (%s) is not on the same subnet than the DNS server (%s). Use python Icmp-Redirect.py for more details."%(IP, x) else: pass