This is a simple script that will generate an exclude.conf file for masscan that contains a set of IP ranges that are pointless to scan.
These include a private & reserved IP ranges, bogon IP ranges, and IP ranges that belong to root DNS servers, internet exchange points, & government agencies.
This removes over 1.5 billion ip addresses from the scan, thus making it much faster and raising less suspicion.