From 28d3e9765f4b7b54be0e513799fb5a7d8e99c4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Tue, 16 Dec 2014 07:38:57 +0100 Subject: [PATCH] Set reverse DNS names in lower case --- plugins/post_analysis/reverse_dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/post_analysis/reverse_dns.py b/plugins/post_analysis/reverse_dns.py index aecd38a..d83c6d0 100644 --- a/plugins/post_analysis/reverse_dns.py +++ b/plugins/post_analysis/reverse_dns.py @@ -49,7 +49,7 @@ class IWLAPostAnalysisReverseDNS(IPlugin): if hit.get('dns_analysed', False): continue try: name, _, _ = socket.gethostbyaddr(k) - hit['remote_addr'] = name + hit['remote_addr'] = name.lower() hit['dns_name_replaced'] = True except: pass