Merge branch 'master' of soutade.fr:iwla

This commit is contained in:
Gregory Soutade 2014-12-16 07:48:27 +01:00
commit a21786c0e2
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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