项目作者: Import-External-Sources

项目描述 :
Script to keep lists of external hosts sources up to date in a raw domain.tld format for easier manipulating date from external sources
高级语言: Shell
项目地址: git://github.com/Import-External-Sources/hosts-sources.git
创建时间: 2020-09-14T12:17:40Z
项目社区:https://github.com/Import-External-Sources/hosts-sources

开源协议:Other

下载


External Sources

This repo is all about collecting bad domains and transcode them into usefull
clean data.

This means other processes don’t have to do this time after time,
wasting CI-Runner time, on doing the same job several times, by cleaning up data
first…. That’s about it. :smiley: :o:

These list should be updated every 4 hours at the 54 minute. This means the
processed list should be available around 00 minutes.

How to search

The optimal way to search through this library of know hosts and domain names
to be blacklisted, is to use the git grep '' command, that will be using
the git database, rather than searching through the folders (Disk I/O).

A few copy paste lines for extending/limiting the results replayed bit git

No explainer will be added, ass if you don’t know these simple grep + Regex,
You have something to read up on, before throwing your self into generating/
maintaining blacklists

  1. SEARCH="\.iad2\.secureserver\.net$"
  2. git grep "${SEARCH}"
  3. git grep "${SEARCH}" | grep -E '(/phis|/phs/)'
  4. git grep "${SEARCH}" | grep -E '(/phis|/phs/)' | cut -d : -f 2 | sort -u