mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-09-26 06:10:20 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b553a9f7fc | ||
|
|
2595829922 | ||
|
|
9b412a7cbf | ||
|
|
80b0ee1c4c | ||
|
|
1b62b56d99 | ||
|
|
aa377ddd14 | ||
|
|
dfb50bf3cf | ||
|
|
420113fb8d | ||
|
|
e1af4f45d9 | ||
|
|
f6a45ec8a2 | ||
|
|
7846075c25 | ||
|
|
5c614ca1d8 | ||
|
|
5c058ce332 | ||
|
|
ee8868cb65 | ||
|
|
d9273762bf | ||
|
|
88ca32af94 | ||
|
|
372c65f703 | ||
|
|
2e115c35d2 | ||
|
|
43ac279435 | ||
|
|
e200e600d5 | ||
|
|
de32eb3d33 | ||
|
|
af9cc115a9 | ||
|
|
ac175ae7ac | ||
|
|
048e83221b | ||
|
|
8d617d299e | ||
|
|
f6f5a6c6a6 | ||
|
|
91b00d9ff7 | ||
|
|
193c668aeb | ||
|
|
881fa64e6d | ||
|
|
b72648459c | ||
|
|
bc05e49afa | ||
|
|
e90044563d | ||
|
|
59d57e910d | ||
|
|
f109912442 | ||
|
|
833e3f8ef5 | ||
|
|
38abfff268 | ||
|
|
dea68fc51d | ||
|
|
c95763d3e1 | ||
|
|
422ce949c7 | ||
|
|
bc0b418251 | ||
|
|
b5da9af576 | ||
|
|
1cd35b6c75 | ||
|
|
b021448cfe | ||
|
|
079471f39a | ||
|
|
d8591c3294 | ||
|
|
d06c30d05f | ||
|
|
69a95807e4 | ||
|
|
e774b39101 | ||
|
|
750faf4b12 | ||
|
|
6547447448 | ||
|
|
babe52a977 | ||
|
|
9fcac05480 | ||
|
|
cce7894b3a | ||
|
|
aef9829fd7 | ||
|
|
e772566dc3 | ||
|
|
0d2f7da5d5 | ||
|
|
5a5016ab5b | ||
|
|
663fb2d434 | ||
|
|
586f4c2942 | ||
|
|
6faa4d8296 | ||
|
|
9876dde1c2 | ||
|
|
468ba5547a | ||
|
|
7c1365787b | ||
|
|
dccdf794a2 | ||
|
|
611c4a0bf7 | ||
|
|
6ebfc1ed2d | ||
|
|
32242792ba | ||
|
|
f60686d0ff | ||
|
|
dc595848b1 | ||
|
|
d06f3d2c1a | ||
|
|
9ae4f735ca | ||
|
|
f45e7e459a | ||
|
|
ea69ee1498 | ||
|
|
0060ef11a6 | ||
|
|
393b7c3bec | ||
|
|
a0e2e39a3f | ||
|
|
b350c68540 | ||
|
|
d85c96576a | ||
|
|
ad35681244 | ||
|
|
59ddd34d0e | ||
|
|
1019c6ae00 | ||
|
|
099954eb46 | ||
|
|
942aaae90c | ||
|
|
06483cca1d | ||
|
|
26b2ab9e5a | ||
|
|
083db6955e | ||
|
|
556545a612 | ||
|
|
b8c4dfdcc6 | ||
|
|
edb9eed554 | ||
|
|
9b8cce7b99 | ||
|
|
5c2a30d57f | ||
|
|
7823133745 | ||
|
|
aa9da1ee0d | ||
|
|
9380fe534e | ||
|
|
beca76acfe | ||
|
|
4fefecf2e3 | ||
|
|
44f41c317b | ||
|
|
4c8cab12ef | ||
|
|
140c0bd29e | ||
|
|
2814997df5 | ||
|
|
b40e703f52 | ||
|
|
79bd7d4122 | ||
|
|
5186071948 | ||
|
|
5340f9adfe | ||
|
|
bdaf8e8c50 | ||
|
|
31e3085a4c | ||
|
|
7fd3ef6213 | ||
|
|
fe3a74b6b3 | ||
|
|
a4e7c902ed | ||
|
|
da8c70744e | ||
|
|
37154d3b4f | ||
|
|
cc50ac4c5a | ||
|
|
e041213cc5 | ||
|
|
20056218db | ||
|
|
4892cf350e | ||
|
|
588fa4b1d5 | ||
|
|
30764ced55 | ||
|
|
539433a68e | ||
|
|
8796eff357 | ||
|
|
8a1908114f | ||
|
|
44273a5867 | ||
|
|
5fb6263090 | ||
|
|
24f7482fc6 | ||
|
|
ab1bbe7b53 | ||
|
|
2583decb40 | ||
|
|
6a85b83444 | ||
|
|
051689c5ea | ||
|
|
0f72470ae6 | ||
|
|
7e7e3954c0 | ||
|
|
275562c6f9 | ||
|
|
af409a9c15 | ||
|
|
b548b13d89 | ||
|
|
3d06f890b4 | ||
|
|
a1d34bdcc3 | ||
|
|
11cff28668 | ||
|
|
e95c816691 | ||
|
|
a4ff58d4cb | ||
|
|
06a7cd5876 | ||
|
|
9af02df877 | ||
|
|
a7d60624bf | ||
|
|
917579a7f4 |
@@ -15,6 +15,7 @@ jobs:
|
||||
- 3.6
|
||||
- 3.7
|
||||
- 3.8
|
||||
- 3.9
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
@@ -51,7 +52,7 @@ jobs:
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Run lint
|
||||
run: flake8 --max-line-length 120
|
||||
run: flake8
|
||||
|
||||
- name: Run tests
|
||||
run: python testUpdateHostsFile.py
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
# For most projects, this workflow file will not need changing; you simply need
|
||||
# to commit it to your repository.
|
||||
#
|
||||
# You may wish to alter this file to override the set of languages analyzed,
|
||||
# or to provide custom queries or build logic.
|
||||
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [master]
|
||||
schedule:
|
||||
- cron: "40 15 * * 4"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: ['python']
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
||||
# Learn more...
|
||||
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||
# and modify them (or add more) to build your code if your project
|
||||
# uses a compiled language
|
||||
|
||||
#- run: |
|
||||
# make bootstrap
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
FROM python:3
|
||||
|
||||
WORKDIR /usr/src
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN git clone --depth 1 https://github.com/StevenBlack/hosts.git
|
||||
WORKDIR /usr/src/hosts
|
||||
|
||||
# Now you launch this with
|
||||
# $ docker build ./
|
||||
# $ docker run -it (containerid) bash
|
||||
+19977
-18403
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 83,471 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 87,562 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -103,7 +102,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -113,7 +133,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -124,10 +146,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -371,13 +389,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -456,6 +467,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+19976
-18403
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 80,715 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 84,805 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -101,7 +100,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -111,7 +131,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -122,10 +144,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -369,13 +387,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -454,6 +465,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+11217
-11986
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 63,740 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 65,506 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -99,7 +98,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -109,7 +129,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -120,10 +142,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -367,13 +385,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -452,6 +463,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+11216
-11986
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 60,983 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 62,748 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -97,7 +96,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -107,7 +127,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -118,10 +140,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -365,13 +383,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -450,6 +461,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+19978
-18404
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 81,147 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 85,238 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -102,7 +101,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -112,7 +132,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -123,10 +145,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -370,13 +388,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -455,6 +466,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+19977
-18404
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 78,391 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 82,481 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -100,7 +99,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -110,7 +130,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -121,10 +143,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -368,13 +386,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -453,6 +464,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+11217
-11986
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 61,416 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 63,182 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -98,7 +97,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -108,7 +128,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -119,10 +141,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -366,13 +384,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -451,6 +462,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+11216
-11986
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 58,659 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 60,424 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -96,7 +95,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -106,7 +126,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -117,10 +139,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -364,13 +382,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -449,6 +460,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+18724
-18403
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 82,529 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 85,367 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -102,7 +101,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -112,7 +132,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -123,10 +145,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -370,13 +388,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -455,6 +466,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+18723
-18403
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 79,773 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 82,610 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -100,7 +99,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -110,7 +130,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -121,10 +143,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -368,13 +386,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -453,6 +464,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+9964
-11986
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 62,798 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 63,311 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -98,7 +97,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -108,7 +128,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -119,10 +141,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -366,13 +384,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -451,6 +462,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+9963
-11986
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 60,041 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 60,553 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -96,7 +95,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -106,7 +126,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -117,10 +139,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -364,13 +382,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -449,6 +460,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+18724
-18403
File diff suppressed because it is too large
Load Diff
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 80,205 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 83,043 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -101,7 +100,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -111,7 +131,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -122,10 +144,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -369,13 +387,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -454,6 +465,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+18723
-18403
File diff suppressed because it is too large
Load Diff
+45
-32
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 77,449 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 80,286 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -99,7 +98,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -109,7 +129,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -120,10 +142,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -367,13 +385,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -452,6 +463,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+9964
-11986
File diff suppressed because it is too large
Load Diff
+45
-32
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 60,474 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 60,987 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -97,7 +96,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -107,7 +127,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -118,10 +140,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -365,13 +383,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -450,6 +461,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# #
|
||||
# ___ __ __ ___ __ __ __ #
|
||||
# / _ )___ ____/ /__/ / / _ )___ __ _____ / // /__ ___ / /____ #
|
||||
# / _ / _ `/ _ / _ / / _ / _ \/ // /_ / / _ / _ \(_- __(_-< #
|
||||
# / _ / _ `/ _ / _ / / _ / _ \/ // /_ / / _ / _ \(_-</ __(_-< #
|
||||
# /____/\_,_/\_,_/\_,_/ /____/\___/\_, //__/ /_//_/\___/___/\__/___/ #
|
||||
# /___/ #
|
||||
##################################################################################
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
##### Version Information #
|
||||
###################################################
|
||||
### Version: V1.2020.07.8392
|
||||
### Version: V1.2020.12.8457
|
||||
##### Version Information ##
|
||||
|
||||
# Use this file to prevent your computer or server from connecting to selected
|
||||
@@ -49,7 +49,6 @@
|
||||
# START HOSTS LIST ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
0.0.0.0 000free.us
|
||||
0.0.0.0 000.gaysexe.free.fr
|
||||
0.0.0.0 000owamail0.000webhostapp.com
|
||||
0.0.0.0 000tristanprod.free.fr
|
||||
0.0.0.0 007angels.com
|
||||
0.0.0.0 00author.com
|
||||
@@ -75,7 +74,6 @@
|
||||
0.0.0.0 0lovespells0.blogspot.com
|
||||
0.0.0.0 0m4.ru
|
||||
0.0.0.0 0n-line.tv
|
||||
0.0.0.0 0pros.com
|
||||
0.0.0.0 0q2.sitey.me
|
||||
0.0.0.0 10000hai.com
|
||||
0.0.0.0 10000verges.free.fr
|
||||
@@ -90,7 +88,6 @@
|
||||
0.0.0.0 101billion.com
|
||||
0.0.0.0 101flag.ru
|
||||
0.0.0.0 101raccoon.ru
|
||||
0.0.0.0 103.hosting-5.xtream.co.il
|
||||
0.0.0.0 108shot.com
|
||||
0.0.0.0 1.114central.com
|
||||
0.0.0.0 11-15.net
|
||||
@@ -101,7 +98,6 @@
|
||||
0.0.0.0 123boy.free.fr
|
||||
0.0.0.0 123branlemoi.free.fr
|
||||
0.0.0.0 123cha.com
|
||||
0.0.0.0 123ero.nl
|
||||
0.0.0.0 123.fluxads.com
|
||||
0.0.0.0 123kia.free.fr
|
||||
0.0.0.0 123kuma.com
|
||||
@@ -123,12 +119,10 @@
|
||||
0.0.0.0 13tabs.com
|
||||
0.0.0.0 14b.info
|
||||
0.0.0.0 14teen.com
|
||||
0.0.0.0 156002.com
|
||||
0.0.0.0 15bb51.info
|
||||
0.0.0.0 15x.info
|
||||
0.0.0.0 166f.com
|
||||
0.0.0.0 16aq.cn
|
||||
0.0.0.0 17990.vicp.net
|
||||
0.0.0.0 17chezhan.com
|
||||
0.0.0.0 17youzi.com
|
||||
0.0.0.0 1-800onlinecasino.com
|
||||
@@ -149,7 +143,6 @@
|
||||
0.0.0.0 1ejaculationinterne.com
|
||||
0.0.0.0 1forced.com
|
||||
0.0.0.0 1-free-share-buttons.com
|
||||
0.0.0.0 1hour.info
|
||||
0.0.0.0 1hwy.com
|
||||
0.0.0.0 1kinobig.ru
|
||||
0.0.0.0 1lesbiansex.com
|
||||
@@ -173,7 +166,6 @@
|
||||
0.0.0.0 20pascals.nl
|
||||
0.0.0.0 22kkkk.com
|
||||
0.0.0.0 24695.com
|
||||
0.0.0.0 247locksmith-tucson.com
|
||||
0.0.0.0 247lyrics.com
|
||||
0.0.0.0 24-ak.ru
|
||||
0.0.0.0 24holdem.com
|
||||
@@ -183,10 +175,7 @@
|
||||
0.0.0.0 2560.fd.mobile.tv.sms13.de
|
||||
0.0.0.0 257639.com
|
||||
0.0.0.0 259572.com
|
||||
0.0.0.0 25cat.tk
|
||||
0.0.0.0 267932.com
|
||||
0.0.0.0 271395.com
|
||||
0.0.0.0 272351.com
|
||||
0.0.0.0 289931.com
|
||||
0.0.0.0 2anal.net
|
||||
0.0.0.0 2cam.eu
|
||||
@@ -295,7 +284,6 @@
|
||||
0.0.0.0 5wh.co.zw
|
||||
0.0.0.0 5yfi7sy.com
|
||||
0.0.0.0 6000518.com
|
||||
0.0.0.0 600co.info
|
||||
0.0.0.0 60secpanic.com
|
||||
0.0.0.0 61kx.uk-insolvencydirect.com
|
||||
0.0.0.0 65xps.com
|
||||
@@ -306,7 +294,6 @@
|
||||
0.0.0.0 69er.de
|
||||
0.0.0.0 69lingerie.com
|
||||
0.0.0.0 69net.de
|
||||
0.0.0.0 69proof.com
|
||||
0.0.0.0 69tubex.com
|
||||
0.0.0.0 6amateure.net
|
||||
0.0.0.0 6e.co.kr
|
||||
@@ -320,7 +307,6 @@
|
||||
0.0.0.0 77sky.de
|
||||
0.0.0.0 78tdd75.com
|
||||
0.0.0.0 791026.com
|
||||
0.0.0.0 7cfmnf.top
|
||||
0.0.0.0 7fb.ru
|
||||
0.0.0.0 7gfs.com
|
||||
0.0.0.0 7minuteworkout.com
|
||||
@@ -392,7 +378,6 @@
|
||||
0.0.0.0 aarbur.com
|
||||
0.0.0.0 aaronabel.com
|
||||
0.0.0.0 aaronautosandtrucks.com
|
||||
0.0.0.0 aarpadvantages.co
|
||||
0.0.0.0 aashima.goyal.com.au
|
||||
0.0.0.0 aashyamayro.com
|
||||
0.0.0.0 a.avalhukof.com
|
||||
@@ -423,7 +408,6 @@
|
||||
0.0.0.0 absolute-live.com
|
||||
0.0.0.0 ab.teenx.free.fr
|
||||
0.0.0.0 acads.net
|
||||
0.0.0.0 account.maximus.co
|
||||
0.0.0.0 account.paypal-inc.tribesiren.com
|
||||
0.0.0.0 acenar.com
|
||||
0.0.0.0 acheterviagrafr24.com
|
||||
@@ -443,7 +427,6 @@
|
||||
0.0.0.0 acrowiswhite.com
|
||||
0.0.0.0 actionmobilemarine.net
|
||||
0.0.0.0 actionnooz.com
|
||||
0.0.0.0 activecampaign.dreamhosters.com
|
||||
0.0.0.0 activeideas.net
|
||||
0.0.0.0 activepr.ru
|
||||
0.0.0.0 activewatch.ro
|
||||
@@ -525,8 +508,6 @@
|
||||
0.0.0.0 allanimehentai.com
|
||||
0.0.0.0 allbestpantyhose.com
|
||||
0.0.0.0 allboard.xobor.de
|
||||
0.0.0.0 allboys.buckshost.com
|
||||
0.0.0.0 allbritishescorts.com
|
||||
0.0.0.0 allcredits.su
|
||||
0.0.0.0 allergiques.com
|
||||
0.0.0.0 allergycenter.info
|
||||
@@ -541,7 +522,6 @@
|
||||
0.0.0.0 amateursconvert.com
|
||||
0.0.0.0 amateursexdvd.com
|
||||
0.0.0.0 amateursexplace.com
|
||||
0.0.0.0 amateursexvideo.de
|
||||
0.0.0.0 amateurs.jerkr.com
|
||||
0.0.0.0 amateurspain.com
|
||||
0.0.0.0 amateurtour.biz
|
||||
@@ -553,7 +533,6 @@
|
||||
0.0.0.0 amatvideo.free.fr
|
||||
0.0.0.0 amospalla.es
|
||||
0.0.0.0 amphorasf.com
|
||||
0.0.0.0 amplitude-peinture.fr
|
||||
0.0.0.0 ampower.me
|
||||
0.0.0.0 amt-k.ru
|
||||
0.0.0.0 amung.us
|
||||
@@ -574,7 +553,6 @@
|
||||
0.0.0.0 analsexhard.com
|
||||
0.0.0.0 analsexphoto.yourfreesites.com
|
||||
0.0.0.0 anal-videos-photos.com
|
||||
0.0.0.0 analytics.cliqz.com
|
||||
0.0.0.0 ananashotel.com
|
||||
0.0.0.0 anatomytrains.co.uk
|
||||
0.0.0.0 anbstudios.com
|
||||
@@ -603,7 +581,6 @@
|
||||
0.0.0.0 anticodistretto.com
|
||||
0.0.0.0 anticosm.com
|
||||
0.0.0.0 antifa.co.at
|
||||
0.0.0.0 anti-virus-removal.info
|
||||
0.0.0.0 apepix.com
|
||||
0.0.0.0 aphrodisia01.free.fr
|
||||
0.0.0.0 appyaviator.com
|
||||
@@ -651,7 +628,6 @@
|
||||
0.0.0.0 cindyintim.de
|
||||
0.0.0.0 cinedaily.com
|
||||
0.0.0.0 cineface.com
|
||||
0.0.0.0 cineitalia.top
|
||||
0.0.0.0 cinema3satu.com
|
||||
0.0.0.0 cinemabio.com
|
||||
0.0.0.0 cinematraffic.com
|
||||
@@ -665,7 +641,6 @@
|
||||
0.0.0.0 communitypetclinicmanteca.com
|
||||
0.0.0.0 companies-catalog.com
|
||||
0.0.0.0 company.com.ph
|
||||
0.0.0.0 companycreators.co.uk
|
||||
0.0.0.0 compassenergyservices.com
|
||||
0.0.0.0 compitte.com
|
||||
0.0.0.0 compositefarming.com
|
||||
@@ -691,12 +666,10 @@
|
||||
0.0.0.0 cookevegas.com
|
||||
0.0.0.0 cookielawblog.wordpress.com
|
||||
0.0.0.0 cookingmeat.ru
|
||||
0.0.0.0 cookingyourspanish.com
|
||||
0.0.0.0 cooknfit.com
|
||||
0.0.0.0 coolbar.pro
|
||||
0.0.0.0 coolemailnames.com
|
||||
0.0.0.0 creativemindhacks.com
|
||||
0.0.0.0 creatives.adbetclickin.pink
|
||||
0.0.0.0 creativeteam.it
|
||||
0.0.0.0 crystalslot.com
|
||||
0.0.0.0 cs1g.com
|
||||
@@ -745,7 +718,6 @@
|
||||
0.0.0.0 familyholiday.ml
|
||||
0.0.0.0 familyhomefinance.com.au
|
||||
0.0.0.0 famir.com
|
||||
0.0.0.0 famosasdesnudasx.com
|
||||
0.0.0.0 fd1.eye.to
|
||||
0.0.0.0 fd2.eye.to
|
||||
0.0.0.0 fd4.eye.to
|
||||
@@ -788,7 +760,6 @@
|
||||
0.0.0.0 grabbersex.com
|
||||
0.0.0.0 grabraeuber.de
|
||||
0.0.0.0 gracecore.com
|
||||
0.0.0.0 graffcolor.net
|
||||
0.0.0.0 grafit.pl
|
||||
0.0.0.0 gratis-sexkontakte.com
|
||||
0.0.0.0 gratis.sms.senden.sms13.de
|
||||
@@ -831,7 +802,6 @@
|
||||
0.0.0.0 hustoon.over-blog.com
|
||||
0.0.0.0 hut1.ru
|
||||
0.0.0.0 hvd-store.com
|
||||
0.0.0.0 hvetdfqh.sufx.net
|
||||
0.0.0.0 h-villamotel.com
|
||||
0.0.0.0 hybrid.ru
|
||||
0.0.0.0 hydropneuengg.com
|
||||
@@ -850,7 +820,6 @@
|
||||
0.0.0.0 i-c-c-c.com
|
||||
0.0.0.0 ichgcp.com
|
||||
0.0.0.0 icipourtoi.com
|
||||
0.0.0.0 ici-sexe.tk
|
||||
0.0.0.0 iclsas.com
|
||||
0.0.0.0 ico.re
|
||||
0.0.0.0 idas-sex-story.gocunt.com
|
||||
@@ -858,7 +827,6 @@
|
||||
0.0.0.0 idc.com.ua
|
||||
0.0.0.0 idealtits.net
|
||||
0.0.0.0 ideas.com.uy
|
||||
0.0.0.0 ideationary.com
|
||||
0.0.0.0 ideawheel.com
|
||||
0.0.0.0 idecoideas.com
|
||||
0.0.0.0 ideibiznesa2015.ru
|
||||
@@ -872,12 +840,8 @@
|
||||
0.0.0.0 iframes.pornprosnetwork.com
|
||||
0.0.0.0 imageprostyle-communication.fr
|
||||
0.0.0.0 imap.dpsl.net
|
||||
0.0.0.0 imdaginea.cf
|
||||
0.0.0.0 indetiske.ya.ru
|
||||
0.0.0.0 index.buckshost.com
|
||||
0.0.0.0 inleadership.co.nz
|
||||
0.0.0.0 kabey.000webhostapp.com
|
||||
0.0.0.0 keepcolletive.com
|
||||
0.0.0.0 kiwi237au.tk
|
||||
0.0.0.0 ladsblue.com
|
||||
0.0.0.0 library.cowley.edu
|
||||
@@ -886,13 +850,11 @@
|
||||
0.0.0.0 maincert.com
|
||||
0.0.0.0 matureporno.info
|
||||
0.0.0.0 maxxisproduct.com
|
||||
0.0.0.0 myblogregistercm.tk
|
||||
0.0.0.0 nomuos.it
|
||||
0.0.0.0 prizesforyou.com
|
||||
0.0.0.0 prizesfu74.life
|
||||
0.0.0.0 saveriopiazza.it
|
||||
0.0.0.0 sistemacentral.xpg.com.br
|
||||
0.0.0.0 slowmac.tech
|
||||
0.0.0.0 spacebridemag.com
|
||||
0.0.0.0 spl63.fr
|
||||
0.0.0.0 ssl.eroscomix.com
|
||||
@@ -901,7 +863,6 @@
|
||||
0.0.0.0 tivolibasket.it
|
||||
0.0.0.0 tonivedu.it
|
||||
0.0.0.0 townhousefilms.com
|
||||
0.0.0.0 track.townhousefilms.com
|
||||
0.0.0.0 viveresaniesnelli.it
|
||||
0.0.0.0 youtubologia.it
|
||||
0.0.0.0 yuarra.pluto.ro
|
||||
|
||||
+5571
-1732
File diff suppressed because it is too large
Load Diff
+89
-157
@@ -351,7 +351,6 @@
|
||||
0.0.0.0 discoveryad.castoola.tv
|
||||
0.0.0.0 cdn.discoveryad.castoola.tv
|
||||
0.0.0.0 cdchealth.org
|
||||
0.0.0.0 url4510.cdchealth.org
|
||||
0.0.0.0 cdmgqqdqjwlo.eu
|
||||
0.0.0.0 1144133033.rsc.cdn77.org
|
||||
0.0.0.0 1493361689.rsc.cdn77.org
|
||||
@@ -534,7 +533,6 @@
|
||||
0.0.0.0 dsw44z5igdmmbo.com
|
||||
0.0.0.0 dswdsw.co
|
||||
0.0.0.0 dswdsw.org
|
||||
0.0.0.0 dswdsw.ro
|
||||
0.0.0.0 dswdsw.ru
|
||||
0.0.0.0 dswdswsrv.ru
|
||||
0.0.0.0 dswfjr.nl
|
||||
@@ -543,7 +541,6 @@
|
||||
0.0.0.0 dswfjrncj.in
|
||||
0.0.0.0 dswfjrsitejfnsite.com
|
||||
0.0.0.0 dswjfnnrj.in
|
||||
0.0.0.0 dswjfnsrvkcn.ca
|
||||
0.0.0.0 dswkcnfjrfjrkcn.us
|
||||
0.0.0.0 dswkcnpbnmainsrv.ro
|
||||
0.0.0.0 dswkcnyhdservsrv.ru
|
||||
@@ -567,13 +564,9 @@
|
||||
0.0.0.0 dswsite.com
|
||||
0.0.0.0 dswsite.info
|
||||
0.0.0.0 dswsite.nl
|
||||
0.0.0.0 dswsitemain.in
|
||||
0.0.0.0 dswsiteserv.nl
|
||||
0.0.0.0 dswsitesitemainjfn.ro
|
||||
0.0.0.0 dswsrv.co
|
||||
0.0.0.0 dswsrvyhdyhd.fr
|
||||
0.0.0.0 dswyhd.nl
|
||||
0.0.0.0 dswyhdpbnyhd.com
|
||||
0.0.0.0 lay.dubya.us
|
||||
0.0.0.0 goodattack.duckdns.org
|
||||
0.0.0.0 megasena1.duckdns.org
|
||||
@@ -581,7 +574,6 @@
|
||||
0.0.0.0 exchange.dumb1.com
|
||||
0.0.0.0 dylerays.tk
|
||||
0.0.0.0 designer.dynamic-dns.net
|
||||
0.0.0.0 roots.dynamic-dns.net
|
||||
0.0.0.0 app.dynamicrosoft.com
|
||||
0.0.0.0 dns-info.dyndns.pro
|
||||
0.0.0.0 ftp.dns-info.dyndns.pro
|
||||
@@ -1058,7 +1050,6 @@
|
||||
0.0.0.0 feylibertad.org
|
||||
0.0.0.0 ffdgbserv.ml
|
||||
0.0.0.0 ffdpogservgbunity.ml
|
||||
0.0.0.0 ffduntnews.tk
|
||||
0.0.0.0 fgddl9szdof7.com
|
||||
0.0.0.0 fgoogle.com
|
||||
0.0.0.0 www.fgoogle.com
|
||||
@@ -1078,7 +1069,6 @@
|
||||
0.0.0.0 fjrjfnjfnikjyhd.biz
|
||||
0.0.0.0 fjrjfnserv.nl
|
||||
0.0.0.0 fjrkcnkcn.ch
|
||||
0.0.0.0 fjrkcnpowerjfnyhd.info
|
||||
0.0.0.0 fjrmain.co
|
||||
0.0.0.0 fjrmainncjdsw.in
|
||||
0.0.0.0 fjrmainpbndsw.com
|
||||
@@ -1092,28 +1082,21 @@
|
||||
0.0.0.0 fjrncj.org
|
||||
0.0.0.0 fjrncjjfnfjrserv.cn
|
||||
0.0.0.0 fjrncjservfjr.tk
|
||||
0.0.0.0 fjrncjsiteikjncj.info
|
||||
0.0.0.0 fjrncjyhdncdn.info
|
||||
0.0.0.0 fjrnrjdsw.biz
|
||||
0.0.0.0 fjrnrjmain.us
|
||||
0.0.0.0 fjrnrjncdnyhdncj.com
|
||||
0.0.0.0 fjrnrjncj.cn
|
||||
0.0.0.0 fjrpbn.in
|
||||
0.0.0.0 fjrpowerdf.ml
|
||||
0.0.0.0 fjrpowerfjr.nl
|
||||
0.0.0.0 fjrservfjrjfn.nl
|
||||
0.0.0.0 fjrservncdn.info
|
||||
0.0.0.0 fjrservncdnnrj.us
|
||||
0.0.0.0 fjrsitefjrfjrsite.co
|
||||
0.0.0.0 fjrsitejfnmainserv.ro
|
||||
0.0.0.0 fjrsitencdnmain.ca
|
||||
0.0.0.0 fjrsitenrj.in
|
||||
0.0.0.0 fjrsitesite.nl
|
||||
0.0.0.0 fjrsrvncdnnrjserv.nl
|
||||
0.0.0.0 fjrsrvsrv.in
|
||||
0.0.0.0 fjryhd.tk
|
||||
0.0.0.0 fjryhdjfnsiteserv.ch
|
||||
0.0.0.0 fjryhdncj.com
|
||||
0.0.0.0 rtb-adsterra.flshtrk.store
|
||||
0.0.0.0 www.rtb-adsterra.flshtrk.store
|
||||
0.0.0.0 foodandcot.com
|
||||
@@ -1143,12 +1126,7 @@
|
||||
0.0.0.0 www.gamblerush.com
|
||||
0.0.0.0 js34dc10.gamooga.com
|
||||
0.0.0.0 garant-help.com
|
||||
0.0.0.0 gbgbr.cn
|
||||
0.0.0.0 wow.gbhkhbm.com
|
||||
0.0.0.0 gbrgbsitenews.ml
|
||||
0.0.0.0 gbrserv.ru
|
||||
0.0.0.0 gbrtlfdpognews.us
|
||||
0.0.0.0 gbruntservffdnkg.tk
|
||||
0.0.0.0 log.getdropbox.com
|
||||
0.0.0.0 getegroup.com
|
||||
0.0.0.0 link.getmailspring.com
|
||||
@@ -1287,7 +1265,6 @@
|
||||
0.0.0.0 ikjikj.fr
|
||||
0.0.0.0 ikjikj.in
|
||||
0.0.0.0 ikjikjmainpbnpower.com
|
||||
0.0.0.0 ikjjfnikjsitedsw.nl
|
||||
0.0.0.0 ikjkcnyhd.tk
|
||||
0.0.0.0 ikjmain.com
|
||||
0.0.0.0 ikjmain.fr
|
||||
@@ -1303,22 +1280,17 @@
|
||||
0.0.0.0 ikjncjjfnjfnsite.us
|
||||
0.0.0.0 ikjncjncj.nl
|
||||
0.0.0.0 ikjnrjdswnrjkcn.us
|
||||
0.0.0.0 ikjnrjmainpbn.org
|
||||
0.0.0.0 ikjnrjsrv.ca
|
||||
0.0.0.0 ikjpbnsrv.info
|
||||
0.0.0.0 ikjpower.in
|
||||
0.0.0.0 ikjpowerdswdsw.nl
|
||||
0.0.0.0 ikjpowernrjikj.fr
|
||||
0.0.0.0 ikjpowerpowerjfnserv.org
|
||||
0.0.0.0 ikjpowersrvdswsrv.com
|
||||
0.0.0.0 ikjservncjpower.info
|
||||
0.0.0.0 ikjservpbnservncj.info
|
||||
0.0.0.0 ikjsitejfndsw.in
|
||||
0.0.0.0 ikjsitejfnsrvmain.fr
|
||||
0.0.0.0 ikjsitesitefjr.ch
|
||||
0.0.0.0 ikjsrv.nl
|
||||
0.0.0.0 ikjyhdikjdswfjr.in
|
||||
0.0.0.0 ikjyhdmain.in
|
||||
0.0.0.0 ikjyhdncdnpbnserv.in
|
||||
0.0.0.0 ikjyhdncdnpower.ch
|
||||
0.0.0.0 ikjyhdncj.nl
|
||||
@@ -1396,7 +1368,6 @@
|
||||
0.0.0.0 jfnjfn.ro
|
||||
0.0.0.0 jfnjfnservikj.com
|
||||
0.0.0.0 jfnkcn.nl
|
||||
0.0.0.0 jfnkcnikj.tk
|
||||
0.0.0.0 jfnkcnpowerjfnyhd.info
|
||||
0.0.0.0 jfnkcnservncdn.nl
|
||||
0.0.0.0 jfnmain.in
|
||||
@@ -1407,7 +1378,6 @@
|
||||
0.0.0.0 jfnncdn.nl
|
||||
0.0.0.0 jfnncdn.tk
|
||||
0.0.0.0 jfnncdnkcn.com
|
||||
0.0.0.0 jfnncjjfnikj.nl
|
||||
0.0.0.0 jfnncjnrjpower.com
|
||||
0.0.0.0 jfnncjyhdkcn.nl
|
||||
0.0.0.0 jfnnrj.nl
|
||||
@@ -1416,12 +1386,8 @@
|
||||
0.0.0.0 jfnnrjsrv.org
|
||||
0.0.0.0 jfnnrjsrvyhd.org
|
||||
0.0.0.0 jfnnrjyhd.nl
|
||||
0.0.0.0 jfnnsjpower.ru
|
||||
0.0.0.0 jfnpowerdsw.tk
|
||||
0.0.0.0 jfnpowerikj.nl
|
||||
0.0.0.0 jfnpowerservkcn.nl
|
||||
0.0.0.0 jfnpowerservkcnpower.in
|
||||
0.0.0.0 jfnpowerservpbn.org
|
||||
0.0.0.0 jfnservjfnncdnserv.ru
|
||||
0.0.0.0 jfnservkcnkcnpbn.in
|
||||
0.0.0.0 jfnservncjsite.in
|
||||
@@ -1430,7 +1396,6 @@
|
||||
0.0.0.0 jfnsrvsrvncdnnrj.ch
|
||||
0.0.0.0 jfnyhdkcn.com
|
||||
0.0.0.0 jfnyhdpowernrjncdn.in
|
||||
0.0.0.0 jfnyhdservyhdyhd.nl
|
||||
0.0.0.0 jfnyhdsite.us
|
||||
0.0.0.0 jfraction.al
|
||||
0.0.0.0 jintsung.cn
|
||||
@@ -1492,7 +1457,6 @@
|
||||
0.0.0.0 kcnfjr.info
|
||||
0.0.0.0 kcnfjrikj.nl
|
||||
0.0.0.0 kcnfjrncj.in
|
||||
0.0.0.0 kcnfjrncjpowermain.info
|
||||
0.0.0.0 kcnfjrpowerikj.nl
|
||||
0.0.0.0 kcnfjrservkcn.in
|
||||
0.0.0.0 kcnikj.ca
|
||||
@@ -1522,7 +1486,6 @@
|
||||
0.0.0.0 kcnnrjikjmainncdn.fr
|
||||
0.0.0.0 kcnnrjjfnsrv.info
|
||||
0.0.0.0 kcnnrjncjncjkcn.in
|
||||
0.0.0.0 kcnnrjyhdjfn.in
|
||||
0.0.0.0 kcnnrjyhdkcn.nl
|
||||
0.0.0.0 kcnpbn.co
|
||||
0.0.0.0 kcnpbnpower.com
|
||||
@@ -1530,12 +1493,10 @@
|
||||
0.0.0.0 kcnpbnyhd.fr
|
||||
0.0.0.0 kcnpecdbnserv.org
|
||||
0.0.0.0 kcnpowerjfn.ml
|
||||
0.0.0.0 kcnpowernrj.com
|
||||
0.0.0.0 kcnpowerpbn.nl
|
||||
0.0.0.0 kcnserv.nl
|
||||
0.0.0.0 kcnservncdnkcnikj.cn
|
||||
0.0.0.0 kcnservyhd.in
|
||||
0.0.0.0 kcnsitedswkcn.tk
|
||||
0.0.0.0 kcnsitefjrsrvikj.in
|
||||
0.0.0.0 kcnsitemain.ca
|
||||
0.0.0.0 kcnsrvsitesite.us
|
||||
@@ -1601,34 +1562,26 @@
|
||||
0.0.0.0 mail-auth.online
|
||||
0.0.0.0 mail-google.email
|
||||
0.0.0.0 email.gov.in.maildrive.email
|
||||
0.0.0.0 maindf.ml
|
||||
0.0.0.0 maindswikj.co
|
||||
0.0.0.0 maindswqeffd.ch
|
||||
0.0.0.0 mainffd.ch
|
||||
0.0.0.0 mainfjrpbn.nl
|
||||
0.0.0.0 mainfjryhdyhdsrv.ro
|
||||
0.0.0.0 maingbmrnpogtlfd.co
|
||||
0.0.0.0 mainikjmainnrj.com
|
||||
0.0.0.0 mainikjnrj.fr
|
||||
0.0.0.0 mainjfn.cn
|
||||
0.0.0.0 mainjfn.nl
|
||||
0.0.0.0 mainkcnkcnnrjdsw.biz
|
||||
0.0.0.0 mainkcnservdswserv.tk
|
||||
0.0.0.0 mainkcnservfjryhd.in
|
||||
0.0.0.0 mainkcnservjfn.ch
|
||||
0.0.0.0 mainkcnsrvmainncj.biz
|
||||
0.0.0.0 mainmainjfnmain.tk
|
||||
0.0.0.0 mainmainncjnrjpbn.fr
|
||||
0.0.0.0 mainncdnikjyhd.nl
|
||||
0.0.0.0 mainncdnncj.in
|
||||
0.0.0.0 mainnchdnmainmainncj.tk
|
||||
0.0.0.0 mainncjpbnmain.ro
|
||||
0.0.0.0 mainncjservsite.info
|
||||
0.0.0.0 mainnrjfjrfjr.fr
|
||||
0.0.0.0 mainpbn.nl
|
||||
0.0.0.0 mainpbn.org
|
||||
0.0.0.0 mainpbnpower.info
|
||||
0.0.0.0 mainpogsitetlfdserv.cn
|
||||
0.0.0.0 mainpowerncjncjpower.nl
|
||||
0.0.0.0 mainpoweryhdpowersrv.nl
|
||||
0.0.0.0 mainservncjkcn.co
|
||||
@@ -1816,9 +1769,7 @@
|
||||
0.0.0.0 ncdndswjfnsite.com
|
||||
0.0.0.0 ncdndswncjpower.fr
|
||||
0.0.0.0 ncdnfjr.nl
|
||||
0.0.0.0 ncdnfjrncdn.nl
|
||||
0.0.0.0 ncdnikjnrjkcn.nl
|
||||
0.0.0.0 ncdnikjyhdfjr.tk
|
||||
0.0.0.0 ncdnjfnyhdyhd.biz
|
||||
0.0.0.0 ncdnkcnfjr.tk
|
||||
0.0.0.0 ncdnkcnikjyhd.ru
|
||||
@@ -1827,7 +1778,6 @@
|
||||
0.0.0.0 ncdnmainpower.cn
|
||||
0.0.0.0 ncdnmainsrvkcn.nl
|
||||
0.0.0.0 ncdnncdn.nl
|
||||
0.0.0.0 ncdnncdnfjrjfn.nl
|
||||
0.0.0.0 ncdnncdnserv.cn
|
||||
0.0.0.0 ncdnncjnrjmainmain.us
|
||||
0.0.0.0 ncdnnrjikjpower.nl
|
||||
@@ -1838,25 +1788,18 @@
|
||||
0.0.0.0 ncdnpowerpower.ca
|
||||
0.0.0.0 ncdnpowerpowersrv.nl
|
||||
0.0.0.0 ncdnpowersrvjfndsw.com
|
||||
0.0.0.0 ncdnservfjrnrjncdn.us
|
||||
0.0.0.0 ncdnservpowerncjfjr.tk
|
||||
0.0.0.0 ncdnservsrvyhd.nl
|
||||
0.0.0.0 ncdnsitepbnservkcn.info
|
||||
0.0.0.0 ncdnsrv.in
|
||||
0.0.0.0 ncdnsrv.ro
|
||||
0.0.0.0 ncdnsrvmaindsw.fr
|
||||
0.0.0.0 ncdnsrvncjsrvpbn.biz
|
||||
0.0.0.0 ncdnsrvsrvncj.nl
|
||||
0.0.0.0 ncdnyhd.nl
|
||||
0.0.0.0 ncdnyhd.tk
|
||||
0.0.0.0 ncdnyhdjfnyhd.biz
|
||||
0.0.0.0 ncdnyhdsrvsite.biz
|
||||
0.0.0.0 nchdndfyhdjfnserv.tk
|
||||
0.0.0.0 nchdnpower.ru
|
||||
0.0.0.0 nchdnservfjrnsj.tk
|
||||
0.0.0.0 nchdnsite.ml
|
||||
0.0.0.0 ncjdsw.in
|
||||
0.0.0.0 ncjfjr.in
|
||||
0.0.0.0 ncjfjr.org
|
||||
0.0.0.0 ncjfjrncdn.nl
|
||||
0.0.0.0 ncjfjrpbnfjrnrj.nl
|
||||
@@ -1871,15 +1814,11 @@
|
||||
0.0.0.0 ncjmainpbnncj.ro
|
||||
0.0.0.0 ncjmainpbnpbn.in
|
||||
0.0.0.0 ncjncdnkcnserv.cn
|
||||
0.0.0.0 ncjncdnpbnsite.tk
|
||||
0.0.0.0 ncjncdnsrv.cn
|
||||
0.0.0.0 ncjncj.nl
|
||||
0.0.0.0 ncjncjfjr.info
|
||||
0.0.0.0 ncjncjmain.ch
|
||||
0.0.0.0 ncjncjncdnjfnjfn.com
|
||||
0.0.0.0 ncjncjncjncdnsrv.nl
|
||||
0.0.0.0 ncjncjpowerncj.nl
|
||||
0.0.0.0 ncjncjyhdpowerserv.in
|
||||
0.0.0.0 ncjnrjmain.cn
|
||||
0.0.0.0 ncjnrjsrvsitepower.tk
|
||||
0.0.0.0 ncjpbn.in
|
||||
@@ -1890,12 +1829,10 @@
|
||||
0.0.0.0 ncjpower.ro
|
||||
0.0.0.0 ncjpower.ru
|
||||
0.0.0.0 ncjpower.us
|
||||
0.0.0.0 ncjpowerdsw.us
|
||||
0.0.0.0 ncjpowerjfn.in
|
||||
0.0.0.0 ncjpowerkcn.fr
|
||||
0.0.0.0 ncjpowernrj.ro
|
||||
0.0.0.0 ncjpowernrjjfnnrj.in
|
||||
0.0.0.0 ncjserv.tk
|
||||
0.0.0.0 ncjservjfnkcnpbn.info
|
||||
0.0.0.0 ncjservsrvkcn.nl
|
||||
0.0.0.0 ncjservyhdsrv.info
|
||||
@@ -1913,7 +1850,6 @@
|
||||
0.0.0.0 newlimitedoffer.com
|
||||
0.0.0.0 www.newlimitedoffer.com
|
||||
0.0.0.0 newsgbr.nl
|
||||
0.0.0.0 newsmrn.tk
|
||||
0.0.0.0 cloud.newsofnp.com
|
||||
0.0.0.0 ssl.newsofnp.com
|
||||
0.0.0.0 newtontool.ca
|
||||
@@ -1945,14 +1881,11 @@
|
||||
0.0.0.0 nrjdswyhdkcnpbn.org
|
||||
0.0.0.0 nrjfjr.nl
|
||||
0.0.0.0 nrjfjrdsw.nl
|
||||
0.0.0.0 nrjfjrnrjncdn.nl
|
||||
0.0.0.0 nrjikjkcnncjpbn.ca
|
||||
0.0.0.0 nrjjfnikjserv.org
|
||||
0.0.0.0 nrjjfnncdndswfjr.tk
|
||||
0.0.0.0 nrjjfnpower.cn
|
||||
0.0.0.0 nrjkcn.in
|
||||
0.0.0.0 nrjkcnpowernrj.info
|
||||
0.0.0.0 nrjmainjfn.com
|
||||
0.0.0.0 nrjmainncjjfn.nl
|
||||
0.0.0.0 nrjncdn.com
|
||||
0.0.0.0 nrjncdnfjrfjryhd.nl
|
||||
@@ -1960,7 +1893,6 @@
|
||||
0.0.0.0 nrjncdnfjrncdnserv.nl
|
||||
0.0.0.0 nrjncdnmainncdnncdn.in
|
||||
0.0.0.0 nrjncj.info
|
||||
0.0.0.0 nrjncjsite.in
|
||||
0.0.0.0 nrjnrj.fr
|
||||
0.0.0.0 nrjnrjfjr.info
|
||||
0.0.0.0 nrjpbnikjdsw.cn
|
||||
@@ -2063,11 +1995,8 @@
|
||||
0.0.0.0 pbnncjpowerikj.fr
|
||||
0.0.0.0 pbnnrjdswdsw.fr
|
||||
0.0.0.0 pbnnrjjfnsrv.com
|
||||
0.0.0.0 pbnnrjsitesite.nl
|
||||
0.0.0.0 pbnpbn.us
|
||||
0.0.0.0 pbnpbnnrj.com
|
||||
0.0.0.0 pbnpbnsrvdsw.nl
|
||||
0.0.0.0 pbnpbnyhdkcn.nl
|
||||
0.0.0.0 pbnpowerdsw.us
|
||||
0.0.0.0 pbnpowermain.nl
|
||||
0.0.0.0 pbnpowerncj.tk
|
||||
@@ -2077,15 +2006,12 @@
|
||||
0.0.0.0 pbnsite.ch
|
||||
0.0.0.0 pbnsite.in
|
||||
0.0.0.0 pbnsite.us
|
||||
0.0.0.0 pbnsitencdndswpbn.in
|
||||
0.0.0.0 pbnsrvjfnjfnncdn.in
|
||||
0.0.0.0 pbnsrvncdn.us
|
||||
0.0.0.0 pbnyhdncdnmainsrv.ru
|
||||
0.0.0.0 pbnyhdpbn.fr
|
||||
0.0.0.0 pbnyhdpbnsitekcn.nl
|
||||
0.0.0.0 pbnyhdpowerncjjfn.com
|
||||
0.0.0.0 pecdbnfjriwjdfyhd.ml
|
||||
0.0.0.0 pecdbnjfnpowerpower.tk
|
||||
0.0.0.0 www.performanceadexchange.com
|
||||
0.0.0.0 pervas.top
|
||||
0.0.0.0 petitelady.top
|
||||
@@ -2107,11 +2033,7 @@
|
||||
0.0.0.0 www.playamo30.com
|
||||
0.0.0.0 plkyjbew.com
|
||||
0.0.0.0 pmtonline.su
|
||||
0.0.0.0 pogdswqe.ml
|
||||
0.0.0.0 pogffdserv.ch
|
||||
0.0.0.0 pogsite.tk
|
||||
0.0.0.0 pogunitypogffdnkg.org
|
||||
0.0.0.0 pogunt.tk
|
||||
0.0.0.0 analytics.pokki.com
|
||||
0.0.0.0 analysis.polarisoffice.com
|
||||
0.0.0.0 app.poorgoddaay.com
|
||||
@@ -2122,7 +2044,6 @@
|
||||
0.0.0.0 powerad.ai
|
||||
0.0.0.0 powerdswpbnnrj.biz
|
||||
0.0.0.0 powerdswyhd.in
|
||||
0.0.0.0 powerfjr.info
|
||||
0.0.0.0 powerikjfjr.info
|
||||
0.0.0.0 powerikjpbnnrjncdn.nl
|
||||
0.0.0.0 powerikjsitenrjncj.fr
|
||||
@@ -2137,10 +2058,6 @@
|
||||
0.0.0.0 powermainsitefjrnrj.in
|
||||
0.0.0.0 powerncdn.tk
|
||||
0.0.0.0 powerncdnservsrvdsw.info
|
||||
0.0.0.0 powerncdnsitepoweryhd.info
|
||||
0.0.0.0 powerncj.cn
|
||||
0.0.0.0 powerncjkcn.info
|
||||
0.0.0.0 powerncjkcnsrv.nl
|
||||
0.0.0.0 powerncjpbn.in
|
||||
0.0.0.0 powernrjnrj.fr
|
||||
0.0.0.0 powernrjpowerjfn.org
|
||||
@@ -2149,7 +2066,6 @@
|
||||
0.0.0.0 powerpbn.nl
|
||||
0.0.0.0 powerpbnkcn.us
|
||||
0.0.0.0 powerpbnnrjjfn.in
|
||||
0.0.0.0 powerpbnservyhd.nl
|
||||
0.0.0.0 powerpbnservyhdikj.fr
|
||||
0.0.0.0 powerpower.fr
|
||||
0.0.0.0 powerpowerjfn.nl
|
||||
@@ -2158,11 +2074,9 @@
|
||||
0.0.0.0 powerpoweryhdsrvncdn.us
|
||||
0.0.0.0 powerservdswservpower.in
|
||||
0.0.0.0 powerservmain.org
|
||||
0.0.0.0 powerservnrjpower.in
|
||||
0.0.0.0 powersite.nl
|
||||
0.0.0.0 powersitemainservfjr.org
|
||||
0.0.0.0 powersitepbnserv.biz
|
||||
0.0.0.0 powersrv.info
|
||||
0.0.0.0 powertradeprofit.com
|
||||
0.0.0.0 www.powertradeprofit.com
|
||||
0.0.0.0 poweryhd.co
|
||||
@@ -2294,10 +2208,8 @@
|
||||
0.0.0.0 ubntrooters.serveuser.com
|
||||
0.0.0.0 root20system20macosxdriver.serveusers.com
|
||||
0.0.0.0 servfjrmainmainsrv.nl
|
||||
0.0.0.0 servfjrmainyhd.com
|
||||
0.0.0.0 servfjrncdn.org
|
||||
0.0.0.0 servfjrpbndsw.ru
|
||||
0.0.0.0 servgbffdtlfd.ml
|
||||
0.0.0.0 service-updater.com
|
||||
0.0.0.0 servicesbooster.com
|
||||
0.0.0.0 servicesbooster.org
|
||||
@@ -2311,7 +2223,6 @@
|
||||
0.0.0.0 serviziopostale.site
|
||||
0.0.0.0 servjfnfjrkcn.ch
|
||||
0.0.0.0 servjfnikjjfn.ch
|
||||
0.0.0.0 servjfniwjsitencj.ml
|
||||
0.0.0.0 servkcn.ca
|
||||
0.0.0.0 servkcnkcn.info
|
||||
0.0.0.0 servkcnsrv.info
|
||||
@@ -2319,15 +2230,12 @@
|
||||
0.0.0.0 servncdnsite.fr
|
||||
0.0.0.0 servncjmain.org
|
||||
0.0.0.0 servnrjncdnikjsrv.in
|
||||
0.0.0.0 servnrjsrvncdn.co
|
||||
0.0.0.0 servpbnkcnjfnmain.in
|
||||
0.0.0.0 servpbnkcnserv.nl
|
||||
0.0.0.0 servpbnncdnkcndsw.biz
|
||||
0.0.0.0 servpbnservdswserv.ru
|
||||
0.0.0.0 servpecdbnfjr.ml
|
||||
0.0.0.0 servpower.in
|
||||
0.0.0.0 servpowerdswncjncj.info
|
||||
0.0.0.0 servserv.in
|
||||
0.0.0.0 servserv.nl
|
||||
0.0.0.0 servservjfndswikj.ru
|
||||
0.0.0.0 servservkcn.in
|
||||
@@ -2338,12 +2246,9 @@
|
||||
0.0.0.0 servsitepower.ro
|
||||
0.0.0.0 servsrv.fr
|
||||
0.0.0.0 servsrvfjrncjpower.info
|
||||
0.0.0.0 servsrvfjrsitenrj.nl
|
||||
0.0.0.0 servsrvsrvpbnserv.in
|
||||
0.0.0.0 servunity.tk
|
||||
0.0.0.0 servuntmainnews.nl
|
||||
0.0.0.0 servyhdncjpecdbn.ml
|
||||
0.0.0.0 servyhdsitepbnsrv.co
|
||||
0.0.0.0 sex-and-flirt.com
|
||||
0.0.0.0 www.sex-and-flirt.com
|
||||
0.0.0.0 sfkkxudmge.eu
|
||||
@@ -2354,7 +2259,6 @@
|
||||
0.0.0.0 sirdexs.com
|
||||
0.0.0.0 sitedswikj.com
|
||||
0.0.0.0 sitedswikj.ru
|
||||
0.0.0.0 sitedswmainikjkcn.org
|
||||
0.0.0.0 sitedswncdnikj.biz
|
||||
0.0.0.0 sitedswncjdswyhd.ro
|
||||
0.0.0.0 siteffd.ml
|
||||
@@ -2372,10 +2276,8 @@
|
||||
0.0.0.0 sitejfn.nl
|
||||
0.0.0.0 sitejfndsw.com
|
||||
0.0.0.0 sitekcndswncdnnrj.info
|
||||
0.0.0.0 sitekcnfjrpowerfjr.nl
|
||||
0.0.0.0 sitekcnncdnservsrv.nl
|
||||
0.0.0.0 sitemain.tk
|
||||
0.0.0.0 sitemaindswnrj.nl
|
||||
0.0.0.0 sitemainncdnncjncj.com
|
||||
0.0.0.0 sitemainpbn.us
|
||||
0.0.0.0 sitemaintlfdgbrmrn.nl
|
||||
@@ -2393,11 +2295,9 @@
|
||||
0.0.0.0 sitenrjdsw.ch
|
||||
0.0.0.0 sitenrjkcn.ch
|
||||
0.0.0.0 sitenrjmain.nl
|
||||
0.0.0.0 sitepbnjfnmainfjr.info
|
||||
0.0.0.0 sitepbnkcnsrvjfn.fr
|
||||
0.0.0.0 sitepbnservkcn.info
|
||||
0.0.0.0 sitepbnsrvserv.cn
|
||||
0.0.0.0 sitepowermainpower.co
|
||||
0.0.0.0 sitepowersrv.fr
|
||||
0.0.0.0 specialsections.siteseer.ca
|
||||
0.0.0.0 siteservdswkcnfjr.cn
|
||||
@@ -2410,7 +2310,6 @@
|
||||
0.0.0.0 sitesitesiteikjjfn.co
|
||||
0.0.0.0 sitesrvncdnmain.biz
|
||||
0.0.0.0 sitesrvservfjrsrv.ru
|
||||
0.0.0.0 siteyhd.in
|
||||
0.0.0.0 skategirlchina.com
|
||||
0.0.0.0 slack-app.net
|
||||
0.0.0.0 slickjs.org
|
||||
@@ -2434,8 +2333,6 @@
|
||||
0.0.0.0 srvdswpowernrjikj.ch
|
||||
0.0.0.0 srvfjrkcnikj.co
|
||||
0.0.0.0 srvfjrncjyhdfjr.nl
|
||||
0.0.0.0 srvikjdsw.tk
|
||||
0.0.0.0 srvikjdswmainfjr.com
|
||||
0.0.0.0 srvikjikj.info
|
||||
0.0.0.0 srvjfnjfnikj.info
|
||||
0.0.0.0 srvkcn.info
|
||||
@@ -2444,9 +2341,7 @@
|
||||
0.0.0.0 srvkcnsite.ro
|
||||
0.0.0.0 srvkcnyhd.org
|
||||
0.0.0.0 srvmaindswnrjpbn.nl
|
||||
0.0.0.0 srvmainkcnsite.biz
|
||||
0.0.0.0 srvmainpbn.info
|
||||
0.0.0.0 srvncdnikj.org
|
||||
0.0.0.0 srvncdnkcnkcn.in
|
||||
0.0.0.0 srvncdnpbn.org
|
||||
0.0.0.0 srvncdnsrvserv.us
|
||||
@@ -2454,20 +2349,16 @@
|
||||
0.0.0.0 srvncjmain.ca
|
||||
0.0.0.0 srvncjservnrj.us
|
||||
0.0.0.0 srvncjsrvpbnpbn.org
|
||||
0.0.0.0 srvnrj.us
|
||||
0.0.0.0 srvnrjikjpbn.cn
|
||||
0.0.0.0 srvnrjserv.ca
|
||||
0.0.0.0 srvnrjservpbnkcn.nl
|
||||
0.0.0.0 srvnrjsite.co
|
||||
0.0.0.0 srvpbn.info
|
||||
0.0.0.0 srvpbnkcnsrv.info
|
||||
0.0.0.0 srvpower.info
|
||||
0.0.0.0 srvpowerpbn.us
|
||||
0.0.0.0 srvservfjr.tk
|
||||
0.0.0.0 srvservpbnikjdsw.cn
|
||||
0.0.0.0 srvservsrvnrjpower.cn
|
||||
0.0.0.0 srvsiteservncj.ro
|
||||
0.0.0.0 srvsitesrvdswkcn.nl
|
||||
0.0.0.0 srvsitesrvnrj.ro
|
||||
0.0.0.0 srvsrvsitencj.in
|
||||
0.0.0.0 srvyhd.tk
|
||||
@@ -2559,7 +2450,6 @@
|
||||
0.0.0.0 tlfdmrnpog.tk
|
||||
0.0.0.0 tlfdnkgsitepog.ml
|
||||
0.0.0.0 tlfdsitegb.us
|
||||
0.0.0.0 tlfdunity.com
|
||||
0.0.0.0 tlfduntnkgtlfd.in
|
||||
0.0.0.0 top5value.com
|
||||
0.0.0.0 m.topiccore.com
|
||||
@@ -2635,7 +2525,6 @@
|
||||
0.0.0.0 alog.umengcloud.com
|
||||
0.0.0.0 unclebillswv.com
|
||||
0.0.0.0 linux.unitys3d.com
|
||||
0.0.0.0 unityuntgbrffd.ml
|
||||
0.0.0.0 updata.sh
|
||||
0.0.0.0 update-wind.com
|
||||
0.0.0.0 updatemanagir.us
|
||||
@@ -2779,8 +2668,6 @@
|
||||
0.0.0.0 www.zeus.ad.intl.xiaomi.com
|
||||
0.0.0.0 api.hybrid.intl.xiaomi.com
|
||||
0.0.0.0 www.api.hybrid.intl.xiaomi.com
|
||||
0.0.0.0 abtest.mistat.intl.xiaomi.com
|
||||
0.0.0.0 www.abtest.mistat.intl.xiaomi.com
|
||||
0.0.0.0 data.mistat.intl.xiaomi.com
|
||||
0.0.0.0 www.data.mistat.intl.xiaomi.com
|
||||
0.0.0.0 storeconfig.mistat.intl.xiaomi.com
|
||||
@@ -2794,7 +2681,6 @@
|
||||
0.0.0.0 data.mistat.xiaomi.com
|
||||
0.0.0.0 www.data.mistat.xiaomi.com
|
||||
0.0.0.0 a.stat.xiaomi.com
|
||||
0.0.0.0 www.a.stat.xiaomi.com
|
||||
0.0.0.0 analytics.xl.pt
|
||||
0.0.0.0 xm0siulufost.com
|
||||
0.0.0.0 xmeeting.com
|
||||
@@ -2815,7 +2701,6 @@
|
||||
0.0.0.0 xn--srahah-bua.pl
|
||||
0.0.0.0 xn--yotu-1ra.be
|
||||
0.0.0.0 xskcjzamlkxwo.gq
|
||||
0.0.0.0 qsj.xtsryh.com
|
||||
0.0.0.0 beap-bc.yahoo.com
|
||||
0.0.0.0 fc.yahoo.com
|
||||
0.0.0.0 pr-bh.ybp.yahoo.com
|
||||
@@ -2824,50 +2709,13 @@
|
||||
0.0.0.0 yandex-account-security.com
|
||||
0.0.0.0 adscan.yelabapp.com
|
||||
0.0.0.0 fresh.ygto.com
|
||||
0.0.0.0 yhddsw.biz
|
||||
0.0.0.0 yhddsw.ro
|
||||
0.0.0.0 yhddswfjr.com
|
||||
0.0.0.0 yhddswnrjjfn.nl
|
||||
0.0.0.0 yhddswsitepbn.ca
|
||||
0.0.0.0 yhdfjr.tk
|
||||
0.0.0.0 yhdfjrkcnyhdserv.co
|
||||
0.0.0.0 yhdfjrncdnncj.nl
|
||||
0.0.0.0 yhdfjrncdnserv.nl
|
||||
0.0.0.0 yhdikj.in
|
||||
0.0.0.0 yhdjfn.ru
|
||||
0.0.0.0 yhdjfnjfn.ro
|
||||
0.0.0.0 yhdjfnncjkcn.nl
|
||||
0.0.0.0 yhdjfnservjfn.info
|
||||
0.0.0.0 yhdjfnsite.nl
|
||||
0.0.0.0 yhdkcn.info
|
||||
0.0.0.0 yhdmain.in
|
||||
0.0.0.0 yhdncdnfjr.in
|
||||
0.0.0.0 yhdncdnikjjfn.fr
|
||||
0.0.0.0 yhdncdnnrj.in
|
||||
0.0.0.0 yhdncj.biz
|
||||
0.0.0.0 yhdncj.ch
|
||||
0.0.0.0 yhdncjfjrnrj.co
|
||||
0.0.0.0 yhdncjncdn.ro
|
||||
0.0.0.0 yhdncjsitekcn.info
|
||||
0.0.0.0 yhdnrjncdndswnrj.nl
|
||||
0.0.0.0 yhdnrjncj.cn
|
||||
0.0.0.0 yhdpbn.com
|
||||
0.0.0.0 yhdpbn.fr
|
||||
0.0.0.0 yhdpbndswjfn.ru
|
||||
0.0.0.0 yhdpbnpbnncdn.org
|
||||
0.0.0.0 yhdpowerserv.in
|
||||
0.0.0.0 yhdserv.in
|
||||
0.0.0.0 yhdservncj.ca
|
||||
0.0.0.0 yhdservpowerncjkcn.nl
|
||||
0.0.0.0 yhdservsitesrvkcn.nl
|
||||
0.0.0.0 yhdsite.com
|
||||
0.0.0.0 yhdsiteikjncdnncdn.com
|
||||
0.0.0.0 yhdsitesrvservpower.fr
|
||||
0.0.0.0 yhdsrvncdnnrj.com
|
||||
0.0.0.0 yhdsrvpbn.us
|
||||
0.0.0.0 yhdsrvyhdpower.org
|
||||
0.0.0.0 yhdyhd.ro
|
||||
0.0.0.0 yhdyhdfjr.tk
|
||||
0.0.0.0 yip.su
|
||||
0.0.0.0 www.yip.su
|
||||
0.0.0.0 zh.yomobi.net
|
||||
@@ -2906,9 +2754,93 @@
|
||||
0.0.0.0 alibaba.zzux.com
|
||||
0.0.0.0 browserservice.zzux.com
|
||||
|
||||
# Added July 23, 2020
|
||||
0.0.0.0 api.fouanalytics.com
|
||||
0.0.0.0 adsbydomain.fouanalytics.com
|
||||
|
||||
# Added July 24, 2020
|
||||
0.0.0.0 pub.trads.io
|
||||
0.0.0.0 pub.trads.io
|
||||
|
||||
# Added July 30, 2020
|
||||
0.0.0.0 public.servenobid.com
|
||||
0.0.0.0 ads.servenobid.com
|
||||
|
||||
# Added August 3, 2020
|
||||
0.0.0.0 instui201.info
|
||||
|
||||
# Added August 4, 2020
|
||||
0.0.0.0 api.fouanalytics.com
|
||||
|
||||
# Added August 6, 2020
|
||||
0.0.0.0 pixel.runative-syndicate.com
|
||||
|
||||
# Added August 10, 2020
|
||||
0.0.0.0 api.purpleads.io
|
||||
0.0.0.0 cdn.purpleads.io
|
||||
0.0.0.0 creatives.purpleads.io
|
||||
|
||||
# Added August 12, 2020
|
||||
0.0.0.0 servsave.com
|
||||
0.0.0.0 www.servsave.com
|
||||
0.0.0.0 us-west-2.kinesis.hpanalytics.net
|
||||
|
||||
# Added August 15, 2020
|
||||
0.0.0.0 free-dating-girls.online
|
||||
0.0.0.0 administration.ap45.hetznir.ventanasyaluminios.com.mx
|
||||
|
||||
# Added August 16, 2020
|
||||
0.0.0.0 ap45.hetznir.ventanasyaluminios.com.mx
|
||||
0.0.0.0 hetznir.ventanasyaluminios.com.mx
|
||||
0.0.0.0 ventanasyaluminios.com.mx
|
||||
|
||||
# Added August 17, 2020
|
||||
0.0.0.0 korfo.org
|
||||
0.0.0.0 www.ventanasyaluminios.com.mx
|
||||
0.0.0.0 mkt.ventanasyaluminios.com.mx
|
||||
|
||||
# Added August 24, 2020
|
||||
0.0.0.0 collect.installeranalytics.com
|
||||
|
||||
# Added October 2, 2020
|
||||
|
||||
# Added October 19, 2020
|
||||
0.0.0.0 psozyhotho.pro
|
||||
0.0.0.0 remove-ads.xyz
|
||||
0.0.0.0 400.route.to.adtracker.network
|
||||
0.0.0.0 www.prioritisemyhealth.com
|
||||
|
||||
# Added October 23, 2020
|
||||
0.0.0.0 n.gameads.io
|
||||
0.0.0.0 cdn.gameads.io
|
||||
0.0.0.0 api.gameads.io
|
||||
0.0.0.0 banner.gameads.io
|
||||
0.0.0.0 node.gameads.io
|
||||
0.0.0.0 panel.gameads.io
|
||||
0.0.0.0 shapez.gameads.io
|
||||
|
||||
# Added November 15, 2020
|
||||
0.0.0.0 api.datatrics.com
|
||||
0.0.0.0 api04.datatrics.com
|
||||
0.0.0.0 api03.datatrics.com
|
||||
0.0.0.0 app.datatrics.com
|
||||
0.0.0.0 images.datatrics.com
|
||||
0.0.0.0 network.datatrics.com
|
||||
0.0.0.0 tr-v2.datatrics.com
|
||||
0.0.0.0 tr.datatrics.com
|
||||
0.0.0.0 tr-255418.datatrics.com
|
||||
0.0.0.0 tr-255768.datatrics.com
|
||||
0.0.0.0 tr-256089.datatrics.com
|
||||
0.0.0.0 tr-op.datatrics.com
|
||||
0.0.0.0 tr-reshift.datatrics.com
|
||||
0.0.0.0 tracker.datatrics.com
|
||||
0.0.0.0 usersync.datatrics.com
|
||||
0.0.0.0 status.datatrics.com
|
||||
0.0.0.0 mautic.datatrics.com
|
||||
0.0.0.0 magento01.datatrics.com
|
||||
0.0.0.0 woocommerce01.datatrics.com
|
||||
0.0.0.0 ecommerce.datatrics.com
|
||||
0.0.0.0 travel.datatrics.com
|
||||
0.0.0.0 link.datatrics.com
|
||||
|
||||
# Added November 19, 2020
|
||||
0.0.0.0 opengapps.com
|
||||
|
||||
# Added November 22, 2020
|
||||
0.0.0.0 pamsg.online
|
||||
0.0.0.0 www.pamsg.online
|
||||
+711
-574
File diff suppressed because it is too large
Load Diff
+2487
-7794
File diff suppressed because it is too large
Load Diff
@@ -2299,7 +2299,6 @@
|
||||
0.0.0.0 www.stop-sign.com
|
||||
0.0.0.0 www.stripteas.com
|
||||
0.0.0.0 www.sttvisa.com
|
||||
0.0.0.0 www.sugarsync.com
|
||||
0.0.0.0 www.sunidaytravel.co.uk
|
||||
0.0.0.0 www.sunonsunday.com
|
||||
0.0.0.0 www.super8service.de
|
||||
|
||||
+221
-120
@@ -1,7 +1,7 @@
|
||||
# Title: hostsVN
|
||||
# Last modified: 15 Jul 2020 16:09 UTC+7
|
||||
# Version: 2007151609
|
||||
# Blocked: 1,379 domains
|
||||
# Last modified: 02 Dec 2020 14:36 UTC+7
|
||||
# Version: 2012021436
|
||||
# Blocked: 1,472 domains
|
||||
# Only include advertisers in Vietnam
|
||||
# Homepage: https://bigdargon.github.io/hostsVN/
|
||||
# GitHub: https://github.com/bigdargon/hostsVN
|
||||
@@ -86,8 +86,6 @@
|
||||
0.0.0.0 b.logging.admicro.vn
|
||||
0.0.0.0 banners.admicro.vn
|
||||
0.0.0.0 benk.logging.admicro.vn
|
||||
0.0.0.0 beta.admicro.vn
|
||||
0.0.0.0 beta.sspapi.admicro.vn
|
||||
0.0.0.0 bi.admicro.vn
|
||||
0.0.0.0 boxapp.admicro.vn
|
||||
0.0.0.0 boxpr.admicro.vn
|
||||
@@ -226,6 +224,9 @@
|
||||
#[novaonads]
|
||||
0.0.0.0 novaonads.com
|
||||
0.0.0.0 www.novaonads.com
|
||||
0.0.0.0 novaon.vn
|
||||
0.0.0.0 www.novaon.vn
|
||||
#[novaon.asia]
|
||||
0.0.0.0 novaon.asia
|
||||
0.0.0.0 cms.novaon.asia
|
||||
0.0.0.0 crowd.novaon.asia
|
||||
@@ -237,8 +238,7 @@
|
||||
0.0.0.0 phi.novaon.asia
|
||||
0.0.0.0 report.novaon.asia
|
||||
0.0.0.0 www.novaon.asia
|
||||
0.0.0.0 novaon.vn
|
||||
0.0.0.0 www.novaon.vn
|
||||
#[novaonx.com]
|
||||
0.0.0.0 novaonx.com
|
||||
0.0.0.0 accounts.novaonx.com
|
||||
0.0.0.0 crm.novaonx.com
|
||||
@@ -246,7 +246,6 @@
|
||||
0.0.0.0 chatbot-staging.novaonx.com
|
||||
0.0.0.0 chatbottudong.novaonx.com
|
||||
0.0.0.0 chatbotthoitrang.novaonx.com
|
||||
0.0.0.0 dns.novaonx.com
|
||||
0.0.0.0 drone.novaonx.com
|
||||
0.0.0.0 git.novaonx.com
|
||||
0.0.0.0 landingpage.novaonx.com
|
||||
@@ -327,7 +326,7 @@
|
||||
0.0.0.0 st.core.polyad.net
|
||||
0.0.0.0 st.html.polyad.net
|
||||
0.0.0.0 st.polyad.net
|
||||
#[ambientplatform]
|
||||
#[ambientplatform.vn]
|
||||
0.0.0.0 ambientplatform.vn
|
||||
0.0.0.0 campaigns.ambientplatform.vn
|
||||
0.0.0.0 cdn.ambientplatform.vn
|
||||
@@ -340,12 +339,63 @@
|
||||
0.0.0.0 media.m.ambientplatform.vn
|
||||
0.0.0.0 metrics.m.ambientplatform.vn
|
||||
0.0.0.0 rd.ambientplatform.vn
|
||||
#[ants]
|
||||
#[gammaplatform.com]
|
||||
0.0.0.0 app.gammaplatform.com
|
||||
0.0.0.0 clk.gammaplatform.com
|
||||
0.0.0.0 cm.gammaplatform.com
|
||||
0.0.0.0 cm-supply-web.gammaplatform.com
|
||||
0.0.0.0 d.gammaplatform.com
|
||||
0.0.0.0 gammaplatform.com
|
||||
0.0.0.0 hb.gammaplatform.com
|
||||
0.0.0.0 imp.gammaplatform.com
|
||||
0.0.0.0 imp2.gammaplatform.com
|
||||
0.0.0.0 in-view.gammaplatform.com
|
||||
0.0.0.0 login.gammaplatform.com
|
||||
0.0.0.0 static.gammaplatform.com
|
||||
0.0.0.0 stc.gammaplatform.com
|
||||
0.0.0.0 t.gammaplatform.com
|
||||
0.0.0.0 tag.gammaplatform.com
|
||||
0.0.0.0 track.gammaplatform.com
|
||||
0.0.0.0 www.gammaplatform.com
|
||||
#[gammassp.com]
|
||||
0.0.0.0 gammassp.com
|
||||
0.0.0.0 test-places.gammassp.com
|
||||
0.0.0.0 www.gammassp.com
|
||||
#[serving-system.com]
|
||||
0.0.0.0 b.serving-system.com
|
||||
0.0.0.0 optimize.serving-system.com
|
||||
0.0.0.0 serving-system.com
|
||||
0.0.0.0 ut-static.serving-system.com
|
||||
0.0.0.0 ut.serving-system.com
|
||||
#[ambient-platform.com]
|
||||
0.0.0.0 ambient-platform.com
|
||||
0.0.0.0 analytics.ambient-platform.com
|
||||
0.0.0.0 campaigns.ambient-platform.com
|
||||
0.0.0.0 cdn-media.ambient-platform.com
|
||||
0.0.0.0 cdn-media.m.ambient-platform.com
|
||||
0.0.0.0 cdn-media-m.ambient-platform.com
|
||||
0.0.0.0 cli.ambient-platform.com
|
||||
0.0.0.0 cli.m.ambient-platform.com
|
||||
0.0.0.0 conv.ambient-platform.com
|
||||
0.0.0.0 delivery.ambient-platform.com
|
||||
0.0.0.0 delivery.m.ambient-platform.com
|
||||
0.0.0.0 delivery-m.ambient-platform.com
|
||||
0.0.0.0 imp.ambient-platform.com
|
||||
0.0.0.0 imp.m.ambient-platform.com
|
||||
0.0.0.0 imp-m.ambient-platform.com
|
||||
0.0.0.0 local-media.ambient-platform.com
|
||||
0.0.0.0 local-media.m.ambient-platform.com
|
||||
0.0.0.0 metrics.ambient-platform.com
|
||||
0.0.0.0 retg.ambient-platform.com
|
||||
0.0.0.0 static.ambient-platform.com
|
||||
0.0.0.0 www.ambient-platform.com
|
||||
#[ants.vn]
|
||||
0.0.0.0 a.ants.vn
|
||||
0.0.0.0 abs.ants.vn
|
||||
0.0.0.0 ad.ants.vn
|
||||
0.0.0.0 ads.ants.vn
|
||||
0.0.0.0 adx.ants.vn
|
||||
0.0.0.0 antalyser.ants.vn
|
||||
0.0.0.0 ants.vn
|
||||
0.0.0.0 api-app.ants.vn
|
||||
0.0.0.0 app.ants.vn
|
||||
@@ -355,19 +405,58 @@
|
||||
0.0.0.0 babe.ants.vn
|
||||
0.0.0.0 crm.ants.vn
|
||||
0.0.0.0 d.ants.vn
|
||||
0.0.0.0 developers.ants.vn
|
||||
0.0.0.0 dsp-d.ants.vn
|
||||
0.0.0.0 e.ants.vn
|
||||
0.0.0.0 insight.ants.vn
|
||||
0.0.0.0 ma.ants.vn
|
||||
0.0.0.0 m-a.ants.vn
|
||||
0.0.0.0 ogs.ants.vn
|
||||
0.0.0.0 oms-t.ants.vn
|
||||
0.0.0.0 p.ants.vn
|
||||
0.0.0.0 prebid.ants.vn
|
||||
0.0.0.0 schemas.ants.vn
|
||||
0.0.0.0 staging-d.ants.vn
|
||||
0.0.0.0 staging-d-tiki.ants.vn
|
||||
0.0.0.0 st-au.ants.vn
|
||||
0.0.0.0 t.ants.vn
|
||||
0.0.0.0 t.d.ants.vn
|
||||
0.0.0.0 tiki.ants.vn
|
||||
0.0.0.0 www.ants.vn
|
||||
#[anthill.vn]
|
||||
0.0.0.0 a.anthill.vn
|
||||
0.0.0.0 analytics.anthill.vn
|
||||
0.0.0.0 anthill.vn
|
||||
0.0.0.0 atrack-a.anthill.vn
|
||||
0.0.0.0 c0.anthill.vn
|
||||
0.0.0.0 c0.st.anthill.vn
|
||||
0.0.0.0 c0-vcdn.anthill.vn
|
||||
0.0.0.0 d.anthill.vn
|
||||
0.0.0.0 e.anthill.vn
|
||||
0.0.0.0 e-vcdn.anthill.vn
|
||||
0.0.0.0 i0.anthill.vn
|
||||
0.0.0.0 i0-vcdn.anthill.vn
|
||||
0.0.0.0 id.anthill.vn
|
||||
0.0.0.0 origin-c0.anthill.vn
|
||||
0.0.0.0 origin-e.anthill.vn
|
||||
0.0.0.0 origin-st-a.anthill.vn
|
||||
0.0.0.0 p.anthill.vn
|
||||
0.0.0.0 st.a.anthill.vn
|
||||
0.0.0.0 st.anthill.vn
|
||||
0.0.0.0 st-a.anthill.vn
|
||||
0.0.0.0 st-a1.anthill.vn
|
||||
0.0.0.0 staging-e.anthill.vn
|
||||
0.0.0.0 staging-e-vcdn.anthill.vn
|
||||
0.0.0.0 st-a-id.anthill.vn
|
||||
0.0.0.0 st-analytics.anthill.vn
|
||||
0.0.0.0 st-ssp.anthill.vn
|
||||
0.0.0.0 st-vcdn.anthill.vn
|
||||
0.0.0.0 v0.anthill.vn
|
||||
0.0.0.0 v0-vcdn.anthill.vn
|
||||
0.0.0.0 v3-ads-st-vcdn.anthill.vn
|
||||
0.0.0.0 v3-st-vcdn.anthill.vn
|
||||
0.0.0.0 vcdn.anthill.vn
|
||||
0.0.0.0 www.anthill.vn
|
||||
#[adtima.vn]
|
||||
0.0.0.0 admin.billing.adtima.vn
|
||||
0.0.0.0 adtima.vn
|
||||
@@ -411,27 +500,43 @@
|
||||
0.0.0.0 log.news.zing.vn
|
||||
0.0.0.0 logv2.mp3.zing.vn
|
||||
0.0.0.0 tracking.playzing.g6.zing.vn
|
||||
#[brand.zing.vn]
|
||||
0.0.0.0 adtima.brand.zing.vn
|
||||
0.0.0.0 adtimabox.brand.zing.vn
|
||||
0.0.0.0 app.brand.zing.vn
|
||||
0.0.0.0 banner.brand.zing.vn
|
||||
0.0.0.0 brand.zing.vn
|
||||
0.0.0.0 campaign.brand.zing.vn
|
||||
0.0.0.0 interactive.brand.zing.vn
|
||||
0.0.0.0 media.brand.zing.vn
|
||||
0.0.0.0 notify.brand.zing.vn
|
||||
0.0.0.0 stc.interactive.brand.zing.vn
|
||||
0.0.0.0 streaming.interactive.brand.zing.vn
|
||||
0.0.0.0 zevent.brand.zing.vn
|
||||
#[zalo.me]
|
||||
0.0.0.0 ads.platform.zalo.me
|
||||
0.0.0.0 ads.zalo.me
|
||||
0.0.0.0 px.za.zalo.me
|
||||
0.0.0.0 sp.zalo.me
|
||||
#[zaloapp.com]
|
||||
0.0.0.0 ads.zaloapp.com
|
||||
0.0.0.0 centralized.zaloapp.com
|
||||
0.0.0.0 discovery.api.zaloapp.com
|
||||
0.0.0.0 log.api.zaloapp.com
|
||||
0.0.0.0 log.o2o.service.zaloapp.com
|
||||
0.0.0.0 photo-ads.zaloapp.com
|
||||
0.0.0.0 px.za.zaloapp.com
|
||||
0.0.0.0 static-ads.zaloapp.com
|
||||
0.0.0.0 stats.zaloapp.com
|
||||
0.0.0.0 stc.za.zaloapp.com
|
||||
0.0.0.0 wg.zaloapp.com
|
||||
0.0.0.0 zminer.zaloapp.com
|
||||
0.0.0.0 ztevents.zaloapp.com
|
||||
#[zadn.vn]
|
||||
0.0.0.0 adtima-common.zadn.vn
|
||||
0.0.0.0 adtima-media-td.zadn.vn
|
||||
0.0.0.0 adtima-media.zadn.vn
|
||||
0.0.0.0 adtima-static-td.zadn.vn
|
||||
0.0.0.0 adtima-static.zadn.vn
|
||||
0.0.0.0 api.sdk.zadn.vn
|
||||
0.0.0.0 log.sdk.zadn.vn
|
||||
0.0.0.0 zalo-ads-240-td.zadn.vn
|
||||
0.0.0.0 zalo-ads-240.zadn.vn
|
||||
@@ -450,51 +555,6 @@
|
||||
0.0.0.0 log.zingnews.vn
|
||||
0.0.0.0 log.zingtv.vn
|
||||
0.0.0.0 zlog.zingmp3.vn
|
||||
#[anthill]
|
||||
0.0.0.0 a.anthill.vn
|
||||
0.0.0.0 anthill.vn
|
||||
0.0.0.0 atrack-a.anthill.vn
|
||||
0.0.0.0 c0.anthill.vn
|
||||
0.0.0.0 c0.st.anthill.vn
|
||||
0.0.0.0 c0-vcdn.anthill.vn
|
||||
0.0.0.0 d.anthill.vn
|
||||
0.0.0.0 e.anthill.vn
|
||||
0.0.0.0 e-vcdn.anthill.vn
|
||||
0.0.0.0 i0.anthill.vn
|
||||
0.0.0.0 i0-vcdn.anthill.vn
|
||||
0.0.0.0 origin-c0.anthill.vn
|
||||
0.0.0.0 origin-e.anthill.vn
|
||||
0.0.0.0 origin-st-a.anthill.vn
|
||||
0.0.0.0 p.anthill.vn
|
||||
0.0.0.0 st.a.anthill.vn
|
||||
0.0.0.0 st.anthill.vn
|
||||
0.0.0.0 st-a.anthill.vn
|
||||
0.0.0.0 staging-e.anthill.vn
|
||||
0.0.0.0 staging-e-vcdn.anthill.vn
|
||||
0.0.0.0 st-a-id.anthill.vn
|
||||
0.0.0.0 st-analytics.anthill.vn
|
||||
0.0.0.0 st-vcdn.anthill.vn
|
||||
0.0.0.0 v0.anthill.vn
|
||||
0.0.0.0 v0-vcdn.anthill.vn
|
||||
0.0.0.0 v3-ads-st-vcdn.anthill.vn
|
||||
0.0.0.0 v3-st-vcdn.anthill.vn
|
||||
0.0.0.0 vcdn.anthill.vn
|
||||
0.0.0.0 www.anthill.vn
|
||||
#[gammaplatform]
|
||||
0.0.0.0 app.gammaplatform.com
|
||||
0.0.0.0 clk.gammaplatform.com
|
||||
0.0.0.0 cm.gammaplatform.com
|
||||
0.0.0.0 cm-supply-web.gammaplatform.com
|
||||
0.0.0.0 gammaplatform.com
|
||||
0.0.0.0 hb.gammaplatform.com
|
||||
0.0.0.0 imp.gammaplatform.com
|
||||
0.0.0.0 in-view.gammaplatform.com
|
||||
0.0.0.0 static.gammaplatform.com
|
||||
0.0.0.0 stc.gammaplatform.com
|
||||
0.0.0.0 t.gammaplatform.com
|
||||
0.0.0.0 tag.gammaplatform.com
|
||||
0.0.0.0 track.gammaplatform.com
|
||||
0.0.0.0 www.gammaplatform.com
|
||||
#[yomedia]
|
||||
0.0.0.0 ad-deliver.yomedia.vn
|
||||
0.0.0.0 analytics.yomedia.vn
|
||||
@@ -525,28 +585,6 @@
|
||||
0.0.0.0 wifiads.cleverads.vn
|
||||
0.0.0.0 www.cleverads.vn
|
||||
0.0.0.0 youtube.cleverads.vn
|
||||
#[ambient-platform]
|
||||
0.0.0.0 ambient-platform.com
|
||||
0.0.0.0 analytics.ambient-platform.com
|
||||
0.0.0.0 campaigns.ambient-platform.com
|
||||
0.0.0.0 cdn-media.ambient-platform.com
|
||||
0.0.0.0 cdn-media.m.ambient-platform.com
|
||||
0.0.0.0 cdn-media-m.ambient-platform.com
|
||||
0.0.0.0 cli.ambient-platform.com
|
||||
0.0.0.0 cli.m.ambient-platform.com
|
||||
0.0.0.0 conv.ambient-platform.com
|
||||
0.0.0.0 delivery.ambient-platform.com
|
||||
0.0.0.0 delivery.m.ambient-platform.com
|
||||
0.0.0.0 delivery-m.ambient-platform.com
|
||||
0.0.0.0 imp.ambient-platform.com
|
||||
0.0.0.0 imp.m.ambient-platform.com
|
||||
0.0.0.0 local-media.ambient-platform.com
|
||||
0.0.0.0 local-media.m.ambient-platform.com
|
||||
0.0.0.0 member.ambient-platform.com
|
||||
0.0.0.0 metrics.ambient-platform.com
|
||||
0.0.0.0 retg.ambient-platform.com
|
||||
0.0.0.0 static.ambient-platform.com
|
||||
0.0.0.0 www.ambient-platform.com
|
||||
#[klick]
|
||||
0.0.0.0 adv.klick.vn
|
||||
0.0.0.0 demo.klick.vn
|
||||
@@ -637,7 +675,6 @@
|
||||
0.0.0.0 uptime.adpia.vn
|
||||
0.0.0.0 www.adpia.vn
|
||||
#[younetmedia.com]
|
||||
0.0.0.0 beta.younetmedia.com
|
||||
0.0.0.0 digital.younetmedia.com
|
||||
0.0.0.0 facebookid.younetmedia.com
|
||||
0.0.0.0 gandalf.younetmedia.com
|
||||
@@ -743,7 +780,6 @@
|
||||
0.0.0.0 sg.cityads.com
|
||||
0.0.0.0 tinkoff.cityads.com
|
||||
0.0.0.0 us-geo.cityads.com
|
||||
0.0.0.0 userdocs.cityads.com
|
||||
0.0.0.0 wp-cdn.cityads.com
|
||||
0.0.0.0 www.cityads.com
|
||||
0.0.0.0 cityadstrack.com
|
||||
@@ -754,7 +790,6 @@
|
||||
0.0.0.0 adsota.com
|
||||
0.0.0.0 agency.adsota.com
|
||||
0.0.0.0 app.adsota.com
|
||||
0.0.0.0 dashboard.adsota.com
|
||||
0.0.0.0 highlandscoffee.adsota.com
|
||||
0.0.0.0 static.adsota.com
|
||||
0.0.0.0 track.adsota.com
|
||||
@@ -762,8 +797,6 @@
|
||||
#[masoffer.net]
|
||||
0.0.0.0 api.app.masoffer.net
|
||||
0.0.0.0 app.masoffer.net
|
||||
0.0.0.0 beta-go.masoffer.net
|
||||
0.0.0.0 beta.go.masoffer.net
|
||||
0.0.0.0 cdn.masoffer.net
|
||||
0.0.0.0 img.masoffer.net
|
||||
0.0.0.0 m.masoffer.net
|
||||
@@ -780,7 +813,6 @@
|
||||
0.0.0.0 indo.autoads.asia
|
||||
0.0.0.0 mantis.autoads.asia
|
||||
0.0.0.0 pixel.autoads.asia
|
||||
0.0.0.0 testcert.autoads.asia
|
||||
0.0.0.0 tracking.autoads.asia
|
||||
0.0.0.0 www.autoads.asia
|
||||
0.0.0.0 xacthuc.autoads.asia
|
||||
@@ -921,15 +953,6 @@
|
||||
0.0.0.0 publishers.adasiaholdings.com
|
||||
0.0.0.0 tags.adasiaholdings.com
|
||||
0.0.0.0 www.adasiaholdings.com
|
||||
#[aiservice.vn]
|
||||
0.0.0.0 aiservice.vn
|
||||
0.0.0.0 boxpr.aiservice.vn
|
||||
0.0.0.0 news.aiservice.vn
|
||||
0.0.0.0 newstesting.aiservice.vn
|
||||
0.0.0.0 nspapi.aiservice.vn
|
||||
0.0.0.0 ntimg.aiservice.vn
|
||||
0.0.0.0 recsys.aiservice.vn
|
||||
0.0.0.0 snews.aiservice.vn
|
||||
#[adsplay]
|
||||
0.0.0.0 admin.adsplay.net
|
||||
0.0.0.0 adsplay.net
|
||||
@@ -1070,6 +1093,19 @@
|
||||
0.0.0.0 vl6.adsparc.com
|
||||
0.0.0.0 vls.adsparc.com
|
||||
0.0.0.0 www.adsparc.com
|
||||
#[adsparc.net]
|
||||
0.0.0.0 adsmt1.adsparc.net
|
||||
0.0.0.0 adsparc.net
|
||||
0.0.0.0 adsuite.adsparc.net
|
||||
0.0.0.0 adsvr.adsparc.net
|
||||
0.0.0.0 adsvr2.adsparc.net
|
||||
0.0.0.0 demo.adsparc.net
|
||||
0.0.0.0 hi-cdn.adsparc.net
|
||||
0.0.0.0 payouts.adsparc.net
|
||||
0.0.0.0 pb.adsparc.net
|
||||
0.0.0.0 pixel.adsparc.net
|
||||
0.0.0.0 pubs.adsparc.net
|
||||
0.0.0.0 www.adsparc.net
|
||||
#[amcdn.vn]
|
||||
0.0.0.0 amcdn.vn
|
||||
0.0.0.0 static.amcdn.vn
|
||||
@@ -1093,6 +1129,7 @@
|
||||
0.0.0.0 media3.adrealclick.com
|
||||
0.0.0.0 media5.adrealclick.com
|
||||
0.0.0.0 s.adrealclick.com
|
||||
0.0.0.0 stats.adrealclick.com
|
||||
0.0.0.0 www.adrealclick.com
|
||||
#[cdnstoremedia.com]
|
||||
0.0.0.0 cdnstoremedia.com
|
||||
@@ -1144,8 +1181,6 @@
|
||||
0.0.0.0 schemas.adflex.vn
|
||||
0.0.0.0 sdk.adflex.vn
|
||||
0.0.0.0 static2.adflex.vn
|
||||
0.0.0.0 status.adflex.vn
|
||||
0.0.0.0 status-cpo.adflex.vn
|
||||
0.0.0.0 tmp.adflex.vn
|
||||
0.0.0.0 track.adflex.vn
|
||||
0.0.0.0 tracking.adflex.vn
|
||||
@@ -1194,22 +1229,6 @@
|
||||
0.0.0.0 rec.donglogs.com
|
||||
0.0.0.0 scripts.donglogs.com
|
||||
0.0.0.0 www.donglogs.com
|
||||
#[123c.vn]
|
||||
0.0.0.0 123c.vn
|
||||
0.0.0.0 b.123c.vn
|
||||
0.0.0.0 b.staging.123c.vn
|
||||
0.0.0.0 d.123c.vn
|
||||
0.0.0.0 dev.d.123c.vn
|
||||
0.0.0.0 failover.123c.vn
|
||||
0.0.0.0 hit.123c.vn
|
||||
0.0.0.0 l.123c.vn
|
||||
0.0.0.0 qos-talk.123c.vn
|
||||
0.0.0.0 qos-zdn.123c.vn
|
||||
0.0.0.0 st.123c.vn
|
||||
0.0.0.0 stats.123c.vn
|
||||
0.0.0.0 t.123c.vn
|
||||
0.0.0.0 trk.123c.vn
|
||||
0.0.0.0 trk.staging.123c.vn
|
||||
#[nanda.vn]
|
||||
0.0.0.0 ai.nanda.vn
|
||||
0.0.0.0 analytics.nanda.vn
|
||||
@@ -1260,13 +1279,52 @@
|
||||
0.0.0.0 clickbuy.bz
|
||||
0.0.0.0 lp.clickbuy.bz
|
||||
0.0.0.0 www.clickbuy.bz
|
||||
#[oncustomer.asia]
|
||||
0.0.0.0 api-internal.oncustomer.asia
|
||||
0.0.0.0 app.oncustomer.asia
|
||||
0.0.0.0 company.oncustomer.asia
|
||||
0.0.0.0 hook.oncustomer.asia
|
||||
0.0.0.0 livechat.oncustomer.asia
|
||||
0.0.0.0 oncall.oncustomer.asia
|
||||
0.0.0.0 oncustomer.asia
|
||||
0.0.0.0 push.oncustomer.asia
|
||||
0.0.0.0 reports-api.oncustomer.asia
|
||||
0.0.0.0 style.oncustomer.asia
|
||||
0.0.0.0 widget.oncustomer.asia
|
||||
0.0.0.0 widget-1.oncustomer.asia
|
||||
0.0.0.0 widget-2.oncustomer.asia
|
||||
#[pushtimize.com]
|
||||
0.0.0.0 adv.pushtimize.com
|
||||
0.0.0.0 cdn01.pushtimize.com
|
||||
0.0.0.0 feed.pushtimize.com
|
||||
0.0.0.0 pushtimize.com
|
||||
#[anymind360.com]
|
||||
0.0.0.0 anymind360.com
|
||||
0.0.0.0 stg.anymind360.com
|
||||
#[smartconvert.co]
|
||||
0.0.0.0 cworth.smartconvert.co
|
||||
0.0.0.0 growth.smartconvert.co
|
||||
0.0.0.0 plo.smartconvert.co
|
||||
0.0.0.0 promo.smartconvert.co
|
||||
0.0.0.0 promo-stage.smartconvert.co
|
||||
0.0.0.0 promo-staging.smartconvert.co
|
||||
0.0.0.0 promo-v2.smartconvert.co
|
||||
0.0.0.0 recsite.smartconvert.co
|
||||
0.0.0.0 site-dev.smartconvert.co
|
||||
0.0.0.0 smartconvert.co
|
||||
0.0.0.0 st.smartconvert.co
|
||||
0.0.0.0 worth.smartconvert.co
|
||||
0.0.0.0 wsite.smartconvert.co
|
||||
0.0.0.0 www.smartconvert.co
|
||||
# --- Block adsVN ---
|
||||
0.0.0.0 703531862.vws.vegacdn.vn
|
||||
0.0.0.0 ad-admin.vnay.vn
|
||||
0.0.0.0 ad.24h.com.vn
|
||||
0.0.0.0 ad.accesstrade.vn
|
||||
0.0.0.0 ad.icheck.com.vn
|
||||
0.0.0.0 ad.lapa.pub
|
||||
0.0.0.0 ad.mwork.vn
|
||||
0.0.0.0 ad.qtcs.com.vn
|
||||
0.0.0.0 ad.sunflower.vn
|
||||
0.0.0.0 ad.vkool.net
|
||||
0.0.0.0 adadmin.headlines.pw
|
||||
@@ -1281,14 +1339,18 @@
|
||||
0.0.0.0 adpostback.headlines.pw
|
||||
0.0.0.0 ads-cdn.fptplay.net
|
||||
0.0.0.0 ads.baodatviet.vn
|
||||
0.0.0.0 ads.baotainguyenmoitruong.vn
|
||||
0.0.0.0 ads.bkitsoftware.com
|
||||
0.0.0.0 ads.careerbuilder.vn
|
||||
0.0.0.0 ads.fptplay.net.vn
|
||||
0.0.0.0 ads.home.vn
|
||||
0.0.0.0 ads.ictnews.vn
|
||||
0.0.0.0 ads.khoahocdoisong.vn
|
||||
0.0.0.0 ads.nghenhinvietnam.vn
|
||||
0.0.0.0 ads.phunuonline.com.vn
|
||||
0.0.0.0 ads.phunusuckhoe.vn
|
||||
0.0.0.0 ads.phunuvagiadinh.vn
|
||||
0.0.0.0 ads.thegioitiepthi.vn
|
||||
0.0.0.0 ads.thesaigontimes.vn
|
||||
0.0.0.0 ads.tiki.vn
|
||||
0.0.0.0 ads.vietbao.vn
|
||||
@@ -1297,6 +1359,7 @@
|
||||
0.0.0.0 ads1.careerbuilder.vn
|
||||
0.0.0.0 adserver.lag.vn
|
||||
0.0.0.0 adserver.luzu.vn
|
||||
0.0.0.0 adsgo.nhipcaudautu.vn
|
||||
0.0.0.0 adsplus.vn
|
||||
0.0.0.0 adsv2.autodaily.vn
|
||||
0.0.0.0 adsweb.vn
|
||||
@@ -1305,6 +1368,9 @@
|
||||
0.0.0.0 adv.baotintuc.vn
|
||||
0.0.0.0 advert-admin.vnay.vn
|
||||
0.0.0.0 advertisement-nhatanh.com
|
||||
0.0.0.0 advserver.cgv.vn
|
||||
0.0.0.0 adx.baolongan.vn
|
||||
0.0.0.0 adx.edutimes.com.vn
|
||||
0.0.0.0 adx.kul.vn
|
||||
0.0.0.0 adx.xemvtv.net
|
||||
0.0.0.0 affiliate.k4.tinhte.vn
|
||||
@@ -1318,11 +1384,17 @@
|
||||
0.0.0.0 api.nas.nct.vn
|
||||
0.0.0.0 apia.headlines.pw
|
||||
0.0.0.0 apinas.nct.vn
|
||||
0.0.0.0 as.gamevui.com
|
||||
0.0.0.0 avoadsservices.com
|
||||
0.0.0.0 banhtv.org
|
||||
0.0.0.0 banner.5giay.vn
|
||||
0.0.0.0 banner.vietnamfinance.vn
|
||||
0.0.0.0 bgadx.com
|
||||
0.0.0.0 boxpr.aiservice.vn
|
||||
0.0.0.0 cdn-ads.thesaigontimes.vn
|
||||
0.0.0.0 cdnasset.dantri.com.vn
|
||||
0.0.0.0 chiasephim.xyz
|
||||
0.0.0.0 click-ads.saoteen.net
|
||||
0.0.0.0 clipbongda.info
|
||||
0.0.0.0 clix.vn
|
||||
0.0.0.0 core.vnecdn.com
|
||||
@@ -1330,6 +1402,7 @@
|
||||
0.0.0.0 crocopop.com
|
||||
0.0.0.0 delecpuzz.com
|
||||
0.0.0.0 delivery.senvangvn.com
|
||||
0.0.0.0 delivery.vtc.vn
|
||||
0.0.0.0 delivery.vtcnew.com.vn
|
||||
0.0.0.0 deltago.com
|
||||
0.0.0.0 demopage.me
|
||||
@@ -1344,6 +1417,7 @@
|
||||
0.0.0.0 landingpagelagi.vn
|
||||
0.0.0.0 lottery.headlines.pw
|
||||
0.0.0.0 lottery.vntoday.news
|
||||
0.0.0.0 marketing.hub-js.com
|
||||
0.0.0.0 mega1.yeah1.com
|
||||
0.0.0.0 microad.vn
|
||||
0.0.0.0 mobileads.dieuviet.com
|
||||
@@ -1353,6 +1427,7 @@
|
||||
0.0.0.0 phimmedia03.com
|
||||
0.0.0.0 polyad.galaxypub.vn
|
||||
0.0.0.0 qc.designervn.net
|
||||
0.0.0.0 qcv5.blogtruyen.vn
|
||||
0.0.0.0 quangcao.24h.com.vn
|
||||
0.0.0.0 quangcao.baovannghe.com.vn
|
||||
0.0.0.0 quangcao.thanhnien.vn
|
||||
@@ -1381,11 +1456,13 @@
|
||||
0.0.0.0 vietdorje.com
|
||||
0.0.0.0 vinaads.vn
|
||||
0.0.0.0 vnd247.vn
|
||||
0.0.0.0 vtvcab.xyz
|
||||
0.0.0.0 widget.headlines.pw
|
||||
0.0.0.0 www.adsweb.vn
|
||||
0.0.0.0 www.adt.com.vn
|
||||
0.0.0.0 www.advertisement-nhatanh.com
|
||||
0.0.0.0 www.alivar.vn
|
||||
0.0.0.0 www.avoadsservices.com
|
||||
0.0.0.0 www.banhtv.org
|
||||
0.0.0.0 www.chiasephim.xyz
|
||||
0.0.0.0 www.delecpuzz.com
|
||||
@@ -1395,32 +1472,44 @@
|
||||
0.0.0.0 www.sbbanner.com
|
||||
0.0.0.0 www.vietbuzzad.com
|
||||
0.0.0.0 www.vietdorje.com
|
||||
0.0.0.0 www.vtvcab.xyz
|
||||
# --- Block trackingVN ---
|
||||
0.0.0.0 addlog.thuvienphapluat.vn
|
||||
0.0.0.0 admin.phunusuckhoe.vn
|
||||
0.0.0.0 alexajstrack.com
|
||||
0.0.0.0 analytics.bkav.com
|
||||
0.0.0.0 analytics.easyvideo.vn
|
||||
0.0.0.0 analytics.explus.vn
|
||||
0.0.0.0 analytics.hub-js.com
|
||||
0.0.0.0 analytics.sohatv.vn
|
||||
0.0.0.0 analytics.thethao247.org
|
||||
0.0.0.0 analytics.tiki.vn
|
||||
0.0.0.0 analytics.videocloud.top
|
||||
0.0.0.0 analytics.vietnamfinance.vn
|
||||
0.0.0.0 analytics.vnreview.vn
|
||||
0.0.0.0 apl.headlines.pw
|
||||
0.0.0.0 counter.ntdvn.com
|
||||
0.0.0.0 deqik.com
|
||||
0.0.0.0 elogs.vnexpress.net
|
||||
0.0.0.0 event.headlines.pw
|
||||
0.0.0.0 event.vntoday.news
|
||||
0.0.0.0 fa.fpt.shop
|
||||
0.0.0.0 follow.vnay.vn
|
||||
0.0.0.0 hit.123c.vn
|
||||
0.0.0.0 invite.baomoi.com
|
||||
0.0.0.0 la.vietid.net
|
||||
0.0.0.0 lg.lotus.vn
|
||||
0.0.0.0 log-collector.shopee.vn
|
||||
0.0.0.0 log.anninhthudo.vn
|
||||
0.0.0.0 log.baodatviet.vn
|
||||
0.0.0.0 log.baodauthau.vn
|
||||
0.0.0.0 log.baomoi.com
|
||||
0.0.0.0 log.baonghean.vn
|
||||
0.0.0.0 log.baophapluat.vn
|
||||
0.0.0.0 log.batdongsan.com.vn
|
||||
0.0.0.0 log.daidoanket.vn
|
||||
0.0.0.0 log.dantocmiennui.vn
|
||||
0.0.0.0 log.doanhnhan.vn
|
||||
0.0.0.0 log.giaoduc.net.vn
|
||||
0.0.0.0 log.infonet.vn
|
||||
0.0.0.0 log.kienthuc.net.vn
|
||||
@@ -1430,8 +1519,11 @@
|
||||
0.0.0.0 log.tapchitaichinh.vn
|
||||
0.0.0.0 log.thanhnien.vn
|
||||
0.0.0.0 log.tienphong.vn
|
||||
0.0.0.0 log.tinnhanhchungkhoan.vn
|
||||
0.0.0.0 log.vietnamdaily.net.vn
|
||||
0.0.0.0 log.vietnamfinance.vn
|
||||
0.0.0.0 log.vietnamplus.vn
|
||||
0.0.0.0 log.viettimes.vn
|
||||
0.0.0.0 log.vnay.vn
|
||||
0.0.0.0 log.vntoday.news
|
||||
0.0.0.0 log.vov.vn
|
||||
@@ -1440,16 +1532,21 @@
|
||||
0.0.0.0 logging.galaxypub.vn
|
||||
0.0.0.0 logs.giaoducthoidai.vn
|
||||
0.0.0.0 logs.thethaovanhoa.vn
|
||||
0.0.0.0 logs1.reatimes.vn
|
||||
0.0.0.0 logsbin.dantri.com.vn
|
||||
0.0.0.0 lp.baomoi.com
|
||||
0.0.0.0 logscafef.channelvn.net
|
||||
0.0.0.0 newlog.daidoanket.vn
|
||||
0.0.0.0 nstat.headlines.pw
|
||||
0.0.0.0 report.vnay.vn
|
||||
0.0.0.0 s.baomoi.xdn.vn
|
||||
0.0.0.0 s.kenh14.vn
|
||||
0.0.0.0 s.soha.vn
|
||||
0.0.0.0 s.tuoitre.vn
|
||||
0.0.0.0 sharefb.cnnd.vn
|
||||
0.0.0.0 stat.headlines.pw
|
||||
0.0.0.0 staticad.thethao247.vn
|
||||
0.0.0.0 statistics.vov.vn
|
||||
0.0.0.0 stats.123c.vn
|
||||
0.0.0.0 stats.bizweb.vn
|
||||
0.0.0.0 stats.dongphim.net
|
||||
0.0.0.0 stats.petrotimes.vn
|
||||
@@ -1459,32 +1556,36 @@
|
||||
0.0.0.0 thongke.24h.com.vn
|
||||
0.0.0.0 thongke.baotintuc.vn
|
||||
0.0.0.0 thongke99.baogiaothong.vn
|
||||
0.0.0.0 tka.tiki.vn
|
||||
0.0.0.0 track-srv.vietnamnet.vn
|
||||
0.0.0.0 track.accesstrade.vn
|
||||
0.0.0.0 track.icheck.com.vn
|
||||
0.0.0.0 track.lapa.pub
|
||||
0.0.0.0 track.pregmomvietnam.com
|
||||
0.0.0.0 track.sendo.vn
|
||||
0.0.0.0 tracker.bongngo.store
|
||||
0.0.0.0 tracker.phunuvagiadinh.vn
|
||||
0.0.0.0 tracker.tintucvietnam.vn
|
||||
0.0.0.0 tracking.appwifi.com
|
||||
0.0.0.0 tracking.meete.co
|
||||
0.0.0.0 tracking.dantri.com.vn
|
||||
0.0.0.0 tracking.vht.com.vn
|
||||
0.0.0.0 tracking.vietbao.vn
|
||||
0.0.0.0 tracking.vtc.vn
|
||||
0.0.0.0 tracking.vtcnew.com.vn
|
||||
0.0.0.0 trackingapi.foody.vn
|
||||
0.0.0.0 trackity.tiki.vn
|
||||
0.0.0.0 trending.vn
|
||||
0.0.0.0 trk.123c.vn
|
||||
0.0.0.0 trk.staging.123c.vn
|
||||
0.0.0.0 userstats.shopee.vn
|
||||
0.0.0.0 vn.alexajstrack.com
|
||||
0.0.0.0 vtrack.vht.com.vn
|
||||
0.0.0.0 web.stagingf8.pycogroup.com
|
||||
0.0.0.0 widget.nhaccuatui.com
|
||||
0.0.0.0 widget.sbz.vn
|
||||
0.0.0.0 widget.subiz.xyz
|
||||
# --- Block scamVN ---
|
||||
0.0.0.0 celerantatters.com
|
||||
0.0.0.0 fuckbookvietnam.com
|
||||
0.0.0.0 hashearog.com
|
||||
0.0.0.0 quangcaotructuyen247.com
|
||||
0.0.0.0 rituationscardb.info
|
||||
0.0.0.0 sacchaeleduk.com
|
||||
0.0.0.0 www.fuckbookvietnam.com
|
||||
0.0.0.0 www.quangcaotructuyen247.com
|
||||
0.0.0.0 smilitygorb.club
|
||||
0.0.0.0 ucesreferre.club
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"name": "Malware Domain List",
|
||||
"description": "Malware Domain List is a non-commercial community project.",
|
||||
"homeurl": "https://www.malwaredomainlist.com/",
|
||||
"frequency": "weekly",
|
||||
"issues": "https://www.malwaredomainlist.com/contact.php",
|
||||
"url": "https://www.malwaredomainlist.com/hostslist/hosts.txt",
|
||||
"license": "'can be used for free by anyone'"
|
||||
}
|
||||
+2
-755
File diff suppressed because it is too large
Load Diff
+176
-67
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -455,7 +455,6 @@
|
||||
0.0.0.0 android.public.astrsk.net
|
||||
0.0.0.0 androidads20.adcolony.com
|
||||
0.0.0.0 androidsdk.ads.mp.mydas.mobi
|
||||
0.0.0.0 animate.adobe.com
|
||||
0.0.0.0 aniview.com
|
||||
0.0.0.0 anonymousdemographics.com
|
||||
0.0.0.0 antennash.com
|
||||
@@ -503,6 +502,7 @@
|
||||
0.0.0.0 app-install-world.com
|
||||
0.0.0.0 app-measurement.com
|
||||
0.0.0.0 app.adjust.com
|
||||
0.0.0.0 app.adjust.net.in
|
||||
0.0.0.0 appad.click
|
||||
0.0.0.0 appad02.mbsp.jp
|
||||
0.0.0.0 appier.mobi
|
||||
|
||||
+128
-67
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+8798
-6386
File diff suppressed because it is too large
Load Diff
@@ -6504,7 +6504,6 @@
|
||||
0.0.0.0 javzz.net
|
||||
0.0.0.0 www.javzz.net
|
||||
0.0.0.0 jdforum.net
|
||||
0.0.0.0 www.jdownloader.org
|
||||
0.0.0.0 jennahaze.com
|
||||
0.0.0.0 jennavirgin.com
|
||||
0.0.0.0 www.jennavirgin.com
|
||||
@@ -10017,7 +10016,6 @@
|
||||
0.0.0.0 rapid-xxx.com
|
||||
0.0.0.0 www.rapid-xxx.com
|
||||
0.0.0.0 rapidcityfcc.com
|
||||
0.0.0.0 rapidgator.net
|
||||
0.0.0.0 rarbg.com
|
||||
0.0.0.0 static.rarbg.com
|
||||
0.0.0.0 www.rarbg.com
|
||||
@@ -12501,6 +12499,7 @@
|
||||
0.0.0.0 ukradena-videa.cz
|
||||
0.0.0.0 www.ukradena-videa.cz
|
||||
0.0.0.0 ukrainian-nude-girls.com
|
||||
0.0.0.0 ukrafoto.com
|
||||
0.0.0.0 ulporno.com
|
||||
0.0.0.0 ultimate-erotic.com
|
||||
0.0.0.0 ads.ultimatesurrender.com
|
||||
@@ -14497,3 +14496,128 @@
|
||||
0.0.0.0 nudostar.com
|
||||
0.0.0.0 hentairead.com
|
||||
0.0.0.0 xscandals.com/
|
||||
0.0.0.0 pornkai.com
|
||||
0.0.0.0 sanctuary.in.net
|
||||
0.0.0.0 www.funeralofsmiles.com
|
||||
0.0.0.0 literotica.com
|
||||
0.0.0.0 shop.literotica.com
|
||||
0.0.0.0 www.literoticavod.com
|
||||
0.0.0.0 vipcams.literotica.com
|
||||
0.0.0.0 forum.literotica.com
|
||||
0.0.0.0 21naturals.com
|
||||
0.0.0.0 www.crazyexgfs.com
|
||||
0.0.0.0 www.indianpornvideo.org
|
||||
0.0.0.0 www.pornvideom.net
|
||||
0.0.0.0 www.wyav.tv
|
||||
0.0.0.0 www.aa-club.com.cn
|
||||
0.0.0.0 www.girlsofdesire.org
|
||||
0.0.0.0 www.porn5f.com
|
||||
0.0.0.0 www.52av.one
|
||||
0.0.0.0 porn18.cc
|
||||
0.0.0.0 www.yanzhao1.com
|
||||
0.0.0.0 babes.com
|
||||
0.0.0.0 brazzerscontent.com
|
||||
0.0.0.0 hdpornhub.co
|
||||
0.0.0.0 homemadegirlsporn.com
|
||||
0.0.0.0 hotgaylist.com
|
||||
0.0.0.0 icfcdn.com
|
||||
0.0.0.0 mojoporntube.com
|
||||
0.0.0.0 mypornhub.com
|
||||
0.0.0.0 peeperz.com
|
||||
0.0.0.0 phncdn.com
|
||||
0.0.0.0 playboytv.com
|
||||
0.0.0.0 pornflip.com
|
||||
0.0.0.0 pornhub.net.co
|
||||
0.0.0.0 pornhubuk.com
|
||||
0.0.0.0 porniq.com
|
||||
0.0.0.0 pornoscraper.com
|
||||
0.0.0.0 sexdesant.com
|
||||
0.0.0.0 sextube.com
|
||||
0.0.0.0 skipthegames.com
|
||||
0.0.0.0 txxxsite.com
|
||||
0.0.0.0 wareporn.com
|
||||
0.0.0.0 whynotbi.com
|
||||
0.0.0.0 xnxxii.com
|
||||
0.0.0.0 xvideos-cdn.com
|
||||
0.0.0.0 younggirlsfreeporn.com
|
||||
0.0.0.0 akssexy.com
|
||||
0.0.0.0 avizoone.com
|
||||
0.0.0.0 bia2sh.com
|
||||
0.0.0.0 bigsex.tv
|
||||
0.0.0.0 bokeptantetoge.icu
|
||||
0.0.0.0 bootytape.com
|
||||
0.0.0.0 carnedelmercado.com
|
||||
0.0.0.0 clearsexy.xyz
|
||||
0.0.0.0 dastan-sexy.net
|
||||
0.0.0.0 dastanhisexy.cc
|
||||
0.0.0.0 feengly.wordpress.com
|
||||
0.0.0.0 gedich.com
|
||||
0.0.0.0 halohul.com
|
||||
0.0.0.0 imagetwist.com
|
||||
0.0.0.0 irannaz.com
|
||||
0.0.0.0 iranx.net
|
||||
0.0.0.0 iranxvid.com
|
||||
0.0.0.0 irxclip.com
|
||||
0.0.0.0 javuncensored1080.com
|
||||
0.0.0.0 jendekhane.com
|
||||
0.0.0.0 kartalboy1.wordpress.com
|
||||
0.0.0.0 kir2kos.cc
|
||||
0.0.0.0 kir2kos.net
|
||||
0.0.0.0 klipis.net
|
||||
0.0.0.0 looti.net
|
||||
0.0.0.0 looti.org
|
||||
0.0.0.0 luticlip.com
|
||||
0.0.0.0 narenjitube.blogspot.com
|
||||
0.0.0.0 newsalloy.com
|
||||
0.0.0.0 patogh.me
|
||||
0.0.0.0 porncrash.net
|
||||
0.0.0.0 pornjav.online
|
||||
0.0.0.0 pornofilmer.icu
|
||||
0.0.0.0 qombol.com
|
||||
0.0.0.0 reachporn.com
|
||||
0.0.0.0 rs-intrad.com
|
||||
0.0.0.0 sex021.com
|
||||
0.0.0.0 sex021.net
|
||||
0.0.0.0 sexiranian.party
|
||||
0.0.0.0 sexiseks.com
|
||||
0.0.0.0 shahvani.com
|
||||
0.0.0.0 shahvani.me
|
||||
0.0.0.0 shahvatnak.com
|
||||
0.0.0.0 shahvatnakchat.chatovod.com
|
||||
0.0.0.0 smutcinema.com
|
||||
0.0.0.0 solihinzubir.com
|
||||
0.0.0.0 uplooti.com
|
||||
0.0.0.0 xxx.bootytape.com
|
||||
|
||||
0.0.0.0 www.searchcelebrityhd.com
|
||||
0.0.0.0 lustcinema.com
|
||||
0.0.0.0 www.pascalssubsluts.com
|
||||
0.0.0.0 lp.21naturals.com
|
||||
0.0.0.0 www.bestpornbabes.com
|
||||
0.0.0.0 www.azporncomics.com
|
||||
0.0.0.0 jodic-forum.org
|
||||
0.0.0.0 www.viewgals.com
|
||||
|
||||
0.0.0.0 khazarmilkers.com
|
||||
0.0.0.0 kissjav.com
|
||||
|
||||
0.0.0.0 kinkymarie.com
|
||||
0.0.0.0 rule34hentai.net
|
||||
0.0.0.0 kingcomix.com
|
||||
0.0.0.0 porngifmag.com
|
||||
0.0.0.0 pornwithtext.com
|
||||
0.0.0.0 gfycatporntube.com
|
||||
0.0.0.0 blackedjav.com
|
||||
0.0.0.0 hentaimama.io
|
||||
|
||||
0.0.0.0 jjgirls.com
|
||||
0.0.0.0 sexverhalen.com
|
||||
|
||||
0.0.0.0 hdstream.xxx
|
||||
0.0.0.0 hdjerk.com
|
||||
0.0.0.0 hdselection.com
|
||||
0.0.0.0 besthdxxx.com
|
||||
0.0.0.0 sexable.tv
|
||||
0.0.0.0 xxxshame.com
|
||||
0.0.0.0 megasexpov.com
|
||||
0.0.0.0 facialcumshot.info
|
||||
|
||||
@@ -1,8 +1,18 @@
|
||||
0.0.0.0 002.pinknotora.net
|
||||
0.0.0.0 85tube.com
|
||||
0.0.0.0 ac-pink.net
|
||||
0.0.0.0 actionjav.com
|
||||
0.0.0.0 adult-gazou.me
|
||||
0.0.0.0 ancensored.com
|
||||
0.0.0.0 antenna.i-like-movie.net
|
||||
0.0.0.0 asexon.com
|
||||
0.0.0.0 asiamoviepass.com
|
||||
0.0.0.0 asianscandal.net
|
||||
0.0.0.0 asianstreetmeat.com
|
||||
0.0.0.0 av-photograph.com
|
||||
0.0.0.0 avcrempie.com
|
||||
0.0.0.0 avli.me
|
||||
0.0.0.0 avwend.com
|
||||
0.0.0.0 azzporn.com
|
||||
0.0.0.0 babarooba.x.fc2.com
|
||||
0.0.0.0 bakufu.jp
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hosts",
|
||||
"version": "2.7.2",
|
||||
"version": "3.2.9",
|
||||
"description": "Extending and consolidating hosts files from several well-curated sources like adaway.org, mvps.org, malwaredomainlist.com, someonewhocares.org, and potentially others. You can optionally invoke extensions to block additional sites by category.",
|
||||
"main": "",
|
||||
"private": true,
|
||||
@@ -35,6 +35,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/StevenBlack/hosts#readme",
|
||||
"devDependencies": {
|
||||
"release-it": "^12.6.3"
|
||||
"release-it": "^14.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
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.
|
||||
|
||||
* Last updated: **July 25 2020**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 57,717 entries.
|
||||
* Last updated: **December 02 2020**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 58,229 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -37,22 +37,22 @@ with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 57,717 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 58,659 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,041 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 77,449 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,474 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 60,983 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 78,391 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 61,416 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 79,773 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 62,798 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 80,205 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 80,715 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 63,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 81,147 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 82,529 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 83,471 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 58,229 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 60,424 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 60,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 80,286 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 60,987 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 62,748 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 82,481 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 63,182 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 82,610 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 63,311 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 83,043 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 84,805 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 65,506 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 85,238 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 85,367 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 87,562 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -74,7 +74,6 @@ add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.ht
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -95,7 +94,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -105,7 +125,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -116,10 +138,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -363,13 +381,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -448,6 +459,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+27
-13
@@ -63,7 +63,28 @@ folder tree, where you will find the data for `fakenews`, `social`, `gambling`,
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
|
||||
|
||||
### Option 1: Generate in a Docker container
|
||||
|
||||
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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 like this:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Access the terminal like this:
|
||||
|
||||
```
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -73,7 +94,9 @@ 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](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
To run unit tests, in the top-level directory, run:
|
||||
### Common steps regardless of your development environment.
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
```sh
|
||||
python3 testUpdateHostsFile.py
|
||||
@@ -84,10 +107,6 @@ local `data/` subfolder. The script will prompt you whether it should fetch upd
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
```sh
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
@@ -331,13 +350,6 @@ Open a command prompt with administrator privileges and run this command:
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```bat
|
||||
sc config "Dnscache" start=disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
@@ -416,6 +428,8 @@ devices under a variety of operating systems.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
+1
-2
@@ -1,3 +1,2 @@
|
||||
lxml>=4.2.4,<=5.0
|
||||
beautifulsoup4>=4.6.1,<=5.0
|
||||
requests>=2.20
|
||||
flake8>=3.8,<=4.0
|
||||
|
||||
+32
-106
@@ -17,6 +17,8 @@ import unittest
|
||||
import unittest.mock as mock
|
||||
from io import BytesIO, StringIO
|
||||
|
||||
import requests
|
||||
|
||||
import updateHostsFile
|
||||
from updateHostsFile import (
|
||||
Colors,
|
||||
@@ -476,9 +478,6 @@ class TestPromptForMove(Base):
|
||||
self.assert_called_once(mock_query)
|
||||
mock_move.assert_not_called()
|
||||
|
||||
mock_query.reset_mock()
|
||||
mock_move.reset_mock()
|
||||
|
||||
@mock.patch("updateHostsFile.move_hosts_file_into_place", return_value=0)
|
||||
@mock.patch("updateHostsFile.query_yes_no", return_value=True)
|
||||
def testPromptMove(self, mock_query, mock_move):
|
||||
@@ -490,9 +489,6 @@ class TestPromptForMove(Base):
|
||||
self.assert_called_once(mock_query)
|
||||
self.assert_called_once(mock_move)
|
||||
|
||||
mock_query.reset_mock()
|
||||
mock_move.reset_mock()
|
||||
|
||||
|
||||
# End Prompt the User
|
||||
|
||||
@@ -1412,77 +1408,6 @@ class TestRemoveOldHostsFile(BaseMockDir):
|
||||
# End File Logic
|
||||
|
||||
|
||||
# Helper Functions
|
||||
def mock_url_open(url):
|
||||
"""
|
||||
Mock of `urlopen` that returns the url in a `BytesIO` stream.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
url : str
|
||||
The URL associated with the file to open.
|
||||
|
||||
Returns
|
||||
-------
|
||||
bytes_stream : BytesIO
|
||||
The `url` input wrapped in a `BytesIO` stream.
|
||||
"""
|
||||
|
||||
return BytesIO(url)
|
||||
|
||||
|
||||
def mock_url_open_fail(_):
|
||||
"""
|
||||
Mock of `urlopen` that fails with an Exception.
|
||||
"""
|
||||
|
||||
raise Exception()
|
||||
|
||||
|
||||
def mock_url_open_read_fail(_):
|
||||
"""
|
||||
Mock of `urlopen` that returns an object that fails on `read`.
|
||||
|
||||
Returns
|
||||
-------
|
||||
file_mock : mock.Mock
|
||||
A mock of a file object that fails when reading.
|
||||
"""
|
||||
|
||||
def fail_read():
|
||||
raise Exception()
|
||||
|
||||
m = mock.Mock()
|
||||
|
||||
m.read = fail_read
|
||||
return m
|
||||
|
||||
|
||||
def mock_url_open_decode_fail(_):
|
||||
"""
|
||||
Mock of `urlopen` that returns an object that fails on during decoding
|
||||
the output of `urlopen`.
|
||||
|
||||
Returns
|
||||
-------
|
||||
file_mock : mock.Mock
|
||||
A mock of a file object that fails when decoding the output.
|
||||
"""
|
||||
|
||||
def fail_decode(_):
|
||||
raise Exception()
|
||||
|
||||
def read():
|
||||
s = mock.Mock()
|
||||
s.decode = fail_decode
|
||||
|
||||
return s
|
||||
|
||||
m = mock.Mock()
|
||||
m.read = read
|
||||
return m
|
||||
|
||||
|
||||
class DomainToIDNA(Base):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(DomainToIDNA, self).__init__(*args, **kwargs)
|
||||
@@ -1622,44 +1547,45 @@ class DomainToIDNA(Base):
|
||||
|
||||
|
||||
class GetFileByUrl(BaseStdout):
|
||||
@mock.patch("updateHostsFile.urlopen", side_effect=mock_url_open)
|
||||
def test_read_url(self, _):
|
||||
url = b"www.google.com"
|
||||
def test_basic(self):
|
||||
raw_resp_content = "hello, ".encode("ascii") + "world".encode("utf-8")
|
||||
resp_obj = requests.Response()
|
||||
resp_obj.__setstate__({"_content": raw_resp_content})
|
||||
|
||||
expected = "www.google.com"
|
||||
actual = get_file_by_url(url, delay=0)
|
||||
expected = "hello, world"
|
||||
|
||||
self.assertEqual(actual, expected)
|
||||
with mock.patch("requests.get", return_value=resp_obj):
|
||||
actual = get_file_by_url("www.test-url.com")
|
||||
|
||||
@mock.patch("updateHostsFile.urlopen", side_effect=mock_url_open_fail)
|
||||
def test_read_url_fail(self, _):
|
||||
url = b"www.google.com"
|
||||
self.assertIsNone(get_file_by_url(url, delay=0))
|
||||
self.assertEqual(expected, actual)
|
||||
|
||||
expected = "Problem getting file:"
|
||||
output = sys.stdout.getvalue()
|
||||
def test_with_idna(self):
|
||||
raw_resp_content = b"www.huala\xc3\xb1e.cl"
|
||||
resp_obj = requests.Response()
|
||||
resp_obj.__setstate__({"_content": raw_resp_content})
|
||||
|
||||
self.assertIn(expected, output)
|
||||
expected = "www.xn--hualae-0wa.cl"
|
||||
|
||||
@mock.patch("updateHostsFile.urlopen", side_effect=mock_url_open_read_fail)
|
||||
def test_read_url_read_fail(self, _):
|
||||
url = b"www.google.com"
|
||||
self.assertIsNone(get_file_by_url(url, delay=0))
|
||||
with mock.patch("requests.get", return_value=resp_obj):
|
||||
actual = get_file_by_url("www.test-url.com")
|
||||
|
||||
expected = "Problem getting file:"
|
||||
output = sys.stdout.getvalue()
|
||||
self.assertEqual(expected, actual)
|
||||
|
||||
self.assertIn(expected, output)
|
||||
def test_connect_unknown_domain(self):
|
||||
test_url = "http://doesnotexist.google.com" # leads to exception: ConnectionError
|
||||
with mock.patch("requests.get", side_effect=requests.exceptions.ConnectionError):
|
||||
return_value = get_file_by_url(test_url)
|
||||
self.assertIsNone(return_value)
|
||||
printed_output = sys.stdout.getvalue()
|
||||
self.assertEqual(printed_output, "Error retrieving data from {}\n".format(test_url))
|
||||
|
||||
@mock.patch("updateHostsFile.urlopen", side_effect=mock_url_open_decode_fail)
|
||||
def test_read_url_decode_fail(self, _):
|
||||
url = b"www.google.com"
|
||||
self.assertIsNone(get_file_by_url(url, delay=0))
|
||||
|
||||
expected = "Problem getting file:"
|
||||
output = sys.stdout.getvalue()
|
||||
|
||||
self.assertIn(expected, output)
|
||||
def test_invalid_url(self):
|
||||
test_url = "http://fe80::5054:ff:fe5a:fc0" # leads to exception: InvalidURL
|
||||
with mock.patch("requests.get", side_effect=requests.exceptions.ConnectionError):
|
||||
return_value = get_file_by_url(test_url)
|
||||
self.assertIsNone(return_value)
|
||||
printed_output = sys.stdout.getvalue()
|
||||
self.assertEqual(printed_output, "Error retrieving data from {}\n".format(test_url))
|
||||
|
||||
|
||||
class TestWriteData(Base):
|
||||
|
||||
+29
-29
@@ -21,17 +21,20 @@ import tempfile
|
||||
import time
|
||||
from glob import glob
|
||||
|
||||
import lxml # noqa: F401
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
# Detecting Python 3 for version-dependent implementations
|
||||
PY3 = sys.version_info >= (3, 0)
|
||||
|
||||
if PY3:
|
||||
from urllib.request import urlopen
|
||||
else:
|
||||
if not PY3:
|
||||
raise Exception("We do not support Python 2 anymore.")
|
||||
|
||||
|
||||
try:
|
||||
import requests
|
||||
except ImportError:
|
||||
raise ImportError("This project's dependencies have changed. The Requests library ("
|
||||
"https://requests.readthedocs.io/en/master/) is now required.")
|
||||
|
||||
|
||||
# Syntactic sugar for "sudo" command in UNIX / Linux
|
||||
if platform.system() == "OpenBSD":
|
||||
SUDO = ["/usr/bin/doas"]
|
||||
@@ -772,7 +775,7 @@ def create_initial_file():
|
||||
):
|
||||
|
||||
start = "# Start {}\n\n".format(os.path.basename(os.path.dirname(source)))
|
||||
end = "# End {}\n\n".format(os.path.basename(os.path.dirname(source)))
|
||||
end = "\n# End {}\n\n".format(os.path.basename(os.path.dirname(source)))
|
||||
|
||||
with open(source, "r", encoding="UTF-8") as curFile:
|
||||
write_data(merge_file, start + curFile.read() + end)
|
||||
@@ -1469,40 +1472,37 @@ def maybe_copy_example_file(file_path):
|
||||
shutil.copyfile(example_file_path, file_path)
|
||||
|
||||
|
||||
def get_file_by_url(url, retries=3, delay=10):
|
||||
def get_file_by_url(url, params=None, **kwargs):
|
||||
"""
|
||||
Get a file data located at a particular URL.
|
||||
Retrieve the contents of the hosts file at the URL, then pass it through domain_to_idna().
|
||||
|
||||
Parameters are passed to the requests.get() function.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
url : str
|
||||
The URL at which to access the data.
|
||||
url : str or bytes
|
||||
URL for the new Request object.
|
||||
params :
|
||||
Dictionary, list of tuples or bytes to send in the query string for the Request.
|
||||
kwargs :
|
||||
Optional arguments that request takes.
|
||||
|
||||
Returns
|
||||
-------
|
||||
url_data : str or None
|
||||
The data retrieved at that URL from the file. Returns None if the
|
||||
attempted retrieval is unsuccessful.
|
||||
|
||||
Note
|
||||
----
|
||||
- BeautifulSoup is used in this case to avoid having to search in which
|
||||
format we have to encode or decode data before parsing it to UTF-8.
|
||||
"""
|
||||
|
||||
while retries:
|
||||
try:
|
||||
with urlopen(url) as f:
|
||||
soup = BeautifulSoup(f.read(), "lxml").get_text()
|
||||
return "\n".join(list(map(domain_to_idna, soup.split("\n"))))
|
||||
except Exception as e:
|
||||
if 'failure in name resolution' in str(e):
|
||||
print('No internet connection! Retrying in {} seconds'.format(delay))
|
||||
time.sleep(delay)
|
||||
retries -= 1
|
||||
continue
|
||||
break
|
||||
print("Problem getting file: ", url)
|
||||
try:
|
||||
req = requests.get(url=url, params=params, **kwargs)
|
||||
except requests.exceptions.RequestException:
|
||||
print("Error retrieving data from {}".format(url))
|
||||
return None
|
||||
|
||||
req.encoding = req.apparent_encoding
|
||||
res_text = "\n".join([domain_to_idna(line) for line in req.text.split("\n")])
|
||||
return res_text
|
||||
|
||||
|
||||
def write_data(f, data):
|
||||
|
||||
@@ -49,7 +49,7 @@ if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
|
||||
|
||||
:UpdateHosts
|
||||
:: Update hosts file
|
||||
python updateHostsFile.py --auto --minimise
|
||||
py updateHostsFile.py --auto --minimise
|
||||
|
||||
:: Copy over the new hosts file in-place
|
||||
copy /y /v hosts "%WINDIR%\System32\drivers\etc\"
|
||||
|
||||
Reference in New Issue
Block a user