8000 GitHub - Spacebunny187/txt
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Spacebunny187/txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Take Note!

With the exception of issues and PRs regarding changes to hosts/data/StevenBlack/hosts, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the hosts/data/ directory.


Logo

latest release license repo size contributors Build Status Code style: black commits since last release last commit commit activity

Unified hosts file with base extensions

This repository consolidates several reputable hosts files, and merges them into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.

Therefore this repository is a hosts file aggregator.

Aggregator

Size history

List of all hosts file variants

This repository offers 15 different host file variants, in addition to the base variant.

The Non GitHub mirror is the link to use for some hosts file managers like Hostsman for Windows that don't work with GitHub download links.

Host file recipe Readme Raw hosts Unique domains Non GitHub mirror
Unified hosts = (adware + malware) Readme link 158,532 link
Unified hosts + fakenews Readme link 160,726 link
Unified hosts + gambling Readme link 165,100 link
Unified hosts + porn Readme link 204,941 link
Unified hosts + social Readme link 161,357 link
Unified hosts + fakenews + gambling Readme link 167,294 link
Unified hosts + fakenews + porn Readme link 207,135 link
Unified hosts + fakenews + social Readme link 163,551 link
Unified hosts + gambling + porn Readme link 211,509 link
Unified hosts + gambling + social Readme link 167,925 link
Unified hosts + porn + social Readme link 207,765 link
Unified hosts + fakenews + gambling + porn Readme link 213,703 link
Unified hosts + fakenews + gambling + social Readme link 170,119 link
Unified hosts + fakenews + porn + social Readme link 209,959 link
Unified hosts + gambling + porn + social Readme link 214,333 link
Unified hosts + fakenews + gambling + porn + social Readme link 216,527 link

Expectation: These unified hosts files should serve all devices, regardless of OS.

Sources of hosts data unified in this variant

Updated hosts files from the following locations are always unified and included:

Host file source Home page Raw hosts License Issues Description
Steven Black's ad-hoc list link raw MIT issues Additional sketch domains as I come across them.
AdAway link raw CC BY 3.0 issues AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net link raw MIT issues 2o7Net tracking sites based on hostsfile.org content.
add.Dead link raw MIT issues Dead sites based on hostsfile.org content.
add.Risk link raw MIT issues Risk content sites based on hostsfile.org content.
add.Spam link raw MIT issues Spam sites based on hostsfile.org content.
AdguardTeam cname trackers link raw MIT issues CNAME-cloaked tracking abuses.
Mitchell Krog's - Badd Boyz Hosts link raw MIT issues Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN link raw MIT issues Hosts block ads of Vietnamese
KADhosts link raw CC BY-SA 4.0 issues Fraud/adware/scam websites.
MetaMask eth-phishing-detect link raw DON'T BE A DICK PUBLIC LICENSE issues Phishing domains targeting Ethereum users.
minecraft-hosts link raw CC0-1.0 issues Minecraft related tracker hosts
MVPS hosts file link raw CC BY-NC-SA 4.0 issues The purpose of this site is to provide the user with a high quality custom HOSTS file.
shady-hosts link raw CC0-1.0 issues Analytics, ad, and activity monitoring hosts
Dan Pollock – someonewhocares link raw non-commercial with attribution issues How to make the internet not suck (as much).
Tiuxo hostlist - ads link raw CC BY 4.0 issues Categorized hosts files for DNS based content blocking
UncheckyAds link raw MIT issues Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus link raw CC0 issues A project from abuse.ch with the goal of sharing malicious URLs.
yoyo.org link raw issues Blocking with ad server and tracking server hostnames.

Extensions

The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: fakenews, social, gambling, and porn.

Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the alternates folder.

Data for extensions are stored in the extensions folder. You manage extensions by curating this folder tree, where you will find the data for fakenews, social, gambling, and porn extension data that we maintain and provide for you.

Generate your own unified hosts file

You have three options to generate your own hosts file. You can use our container image, build your own image, or do it in your own environment. Option #1 is easiest if you have Linux with Docker installed.

Option 1: Use our container image (Linux only)

This will replace your /etc/hosts.

We assume you have Docker available on your host. Just run the following command. Set extensions to your preference.

docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn

If you want to add custom hosts or a whitelist, create either or both files as per the instructions and add the following arguments before ghcr.io/stevenblack/hosts:latest depending on which you wish to use.

-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \

You can rerun this exact command later to update based on the latest available hosts (for example, add it to a weekly cron job).

Option 2: Generate your own container image

We provide the Dockerfile used by the previous step, which you can use to create a container image with everything you need. The container will contain Python 3 and all its dependency requirements, and a copy of the latest version of this repository.

Build the Docker container from the root of this repo like this:

docker build --no-cache . -t stevenblack-hosts

Then run your command as such:

docker run --rm -it stevenblack-hosts updateHostsFile.py

This will create the hosts file, and remove it with the container when done, so not very useful. You can use the example in option #1 to add volumes so files on your host are replaced.

Option 3: Generate it in your own environment

To generate your own amalgamated hosts files you will need Python 3.6 or later.

First, install the dependencies with:

pip3 install --user -r requirements.txt

Note we recommend the --user flag which installs the required dependencies at the user level. More information about it can be found on pip documentation.

Common steps regardless of your development environment