Skip to content

ngadmini/partial-output

Repository files navigation

Blacklisted Domains as Output this repo

blacklisted domains as output this repo


featuring

  • free from duplicate entries and sub-domains entries (if it's parent-domain exist) across categories
  • free from invalid TLDs and domain entries that construct with international characters (non ASCII)
  • ip-address is written in CIDR block

usage

concatenate txt.adulta* and txt.trust+a*, then use grab_build.sh in this repo

~$ grab_build="https://raw.githubusercontent.com/ngadmini/Grabbing-Blacklist-for-Bind9-RPZ/master/libs/grab_build.sh"
~$ grab_libs="https://raw.githubusercontent.com/ngadmini/Grabbing-Blacklist-for-Bind9-RPZ/master/libs/grab_library"
~$ curl -s -o rpz_db.zip https://codeload.github.com/ngadmini/partial-output/zip/refs/heads/master
~$ unzip rpz_db.zip -x partial-output-master/{LICENSE,README.md,.gitignore}
~$ curl -s -o "partial-output-master/grab_build.sh" "${grab_build}"
~$ curl -s -o "partial-output-master/grab_library" "${grab_libs}"
~$ cat partial-output-master/txt.adulta* > partial-output-master/txt.adult
~$ cat partial-output-master/txt.trust+a* > partial-output-master/txt.trust+
~$ rm partial-output-master/txt.{adulta,trust+a}*
~$ bash partial-output-master/grab_build.sh
~$ unset -v grab_build grab_libs

you will get domain list in BIND9-rpz format in 5 catagories (7 sub-categories of adult category AND 3 sub-categories of trust+). enjoy it's

license