Set reverse DNS names in lower case
This commit is contained in:
parent
ba5bd75ac1
commit
28d3e9765f
|
@ -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