Fix nameserver heuristics to also detect sub-subdomains

master
Sven Slootweg 12 years ago
parent 5ef736531d
commit 6cb1a5cd3d

@ -33,8 +33,8 @@ grammar = {
'Registrar Name:\s?(?P<val>.+)', 'Registrar Name:\s?(?P<val>.+)',
'Record maintained by:\s?(?P<val>.+)'], 'Record maintained by:\s?(?P<val>.+)'],
'whois_server': ['Registrar Whois:\s?(?P<val>.+)'], 'whois_server': ['Registrar Whois:\s?(?P<val>.+)'],
'name_servers': ['(?P<val>d?ns[0-9]+\.[a-z0-9-]+\.[a-z0-9]+)', 'name_servers': ['(?P<val>d?ns[0-9]+\.([a-z0-9-]+\.)+[a-z0-9]+)',
'(?P<val>[a-z0-9-]+\.d?ns[0-9]*\.[a-z0-9-]+\.[a-z0-9]+)', '(?P<val>[a-z0-9-]+\.d?ns[0-9]*\.([a-z0-9-]+\.)+[a-z0-9]+)',
'(?P<val>([a-z0-9-]+\.)+[a-z0-9]+)(\s+([0-9]{1,3}\.){3}[0-9]{1,3})'], '(?P<val>([a-z0-9-]+\.)+[a-z0-9]+)(\s+([0-9]{1,3}\.){3}[0-9]{1,3})'],
'emails': ['(?P<val>[\w.-]+@[\w.-]+\.[\w]{2,4})'] 'emails': ['(?P<val>[\w.-]+@[\w.-]+\.[\w]{2,4})']
}, },

Loading…
Cancel
Save