Merge branch 'master' of soutade.fr:iwla
This commit is contained in:
commit
a21786c0e2
|
@ -3,7 +3,7 @@ import os
|
||||||
# Default configuration
|
# Default configuration
|
||||||
|
|
||||||
# Default directory where to store database information
|
# Default directory where to store database information
|
||||||
DB_ROOT = './output'
|
DB_ROOT = './output_db'
|
||||||
# Default directory where to create html files
|
# Default directory where to create html files
|
||||||
DISPLAY_ROOT = './output'
|
DISPLAY_ROOT = './output'
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ class IWLAPostAnalysisReverseDNS(IPlugin):
|
||||||
if hit.get('dns_analysed', False): continue
|
if hit.get('dns_analysed', False): continue
|
||||||
try:
|
try:
|
||||||
name, _, _ = socket.gethostbyaddr(k)
|
name, _, _ = socket.gethostbyaddr(k)
|
||||||
hit['remote_addr'] = name
|
hit['remote_addr'] = name.lower()
|
||||||
hit['dns_name_replaced'] = True
|
hit['dns_name_replaced'] = True
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user