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 1/2] 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 From 9bff7aa1b35674be862837eb3c08e2b33903ed2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Tue, 16 Dec 2014 07:42:42 +0100 Subject: [PATCH 2/2] Separate DB_ROOT and DISPLAY_ROOT by default --- default_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default_conf.py b/default_conf.py index 7ccd2ff..5f0b255 100644 --- a/default_conf.py +++ b/default_conf.py @@ -3,7 +3,7 @@ import os # Default configuration # Default directory where to store database information -DB_ROOT = './output' +DB_ROOT = './output_db' # Default directory where to create html files DISPLAY_ROOT = './output'