kpcyrd / sn0int

Semi-automatic OSINT framework and package manager
https://sn0int.readthedocs.io/
GNU General Public License v3.0
1.92k stars 177 forks source link

subdomain can be a tld according to psl #112

Closed kpcyrd closed 4 years ago

kpcyrd commented 4 years ago

The following script fails with an error:

-- Description: TODO your description here
-- Version: 0.1.0
-- License: GPL-3.0

function run()
    info(psl_domain_from_dns_name('a.prod.fastly.net'))
end

This is because a.prod.fastly.net is on the public suffix list and is therefore equal with com. psl_domain_from_dns_name and the domains table are psl+1. I'm considering changing the rules slightly so that it's still supposed to be psl+1, but also accepts psl entries.


Versions