mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-09-25 22:05:28 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15ea6d0f6d | ||
|
|
0cee7eb988 | ||
|
|
0692e44515 | ||
|
|
69ea323cf6 | ||
|
|
a3abfc86d6 | ||
|
|
626711d2ba | ||
|
|
56f6051c2e | ||
|
|
1f52e1fd6e | ||
|
|
a204d5a1e9 | ||
|
|
f6d8977748 | ||
|
|
458804c51c | ||
|
|
2741273b20 | ||
|
|
38ab6803b0 | ||
|
|
575813f15f | ||
|
|
92ffe9fc14 | ||
|
|
b19a01ef73 | ||
|
|
bee8521bc6 | ||
|
|
5e4813cf9b | ||
|
|
69fa29ffaa | ||
|
|
5e6f3d86b6 | ||
|
|
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 | ||
|
|
9adfcd4ea4 | ||
|
|
1531b62139 | ||
|
|
3788f5845f | ||
|
|
178ea64f2d | ||
|
|
6940b842e7 | ||
|
|
8b4c837d59 | ||
|
|
58b36a7e01 | ||
|
|
d14541971b | ||
|
|
fdd7e3f34a | ||
|
|
bfe24eb87b | ||
|
|
5cf23a4cc3 | ||
|
|
337e5ada28 | ||
|
|
55f05d275c | ||
|
|
84fc36e3b8 | ||
|
|
3cbdc64998 | ||
|
|
afce9ec8f5 | ||
|
|
0f0465919a | ||
|
|
ca3a99a049 | ||
|
|
bdab2fbf78 | ||
|
|
f11b0c6cb3 | ||
|
|
a09e408c8a | ||
|
|
323174e45d | ||
|
|
2abefc7cfa | ||
|
|
abf763e9a0 | ||
|
|
b8b067b6ab | ||
|
|
c756858a1b | ||
|
|
82791b30c4 | ||
|
|
aea2e921b5 | ||
|
|
de3a3d9cb9 | ||
|
|
4f93a59b8b | ||
|
|
c9986cc960 | ||
|
|
f26168194b | ||
|
|
0a96dcad34 | ||
|
|
0f727b8bed | ||
|
|
12ee4e0218 | ||
|
|
be57b6208b | ||
|
|
aa5637dc7f | ||
|
|
bc8e4c92b8 | ||
|
|
bb1b8e81ae | ||
|
|
9e3db93d92 | ||
|
|
43fe30181b | ||
|
|
c2ebad946e | ||
|
|
73479bc632 | ||
|
|
ddafbadaf6 | ||
|
|
cf92814f1d | ||
|
|
a9a4aa2fe7 | ||
|
|
a907bc6477 | ||
|
|
6337998706 | ||
|
|
fd5fd3f05d | ||
|
|
6906938b48 | ||
|
|
5bab40d686 | ||
|
|
ad45f75de2 | ||
|
|
7fcfacf7d0 | ||
|
|
32fe8e0862 | ||
|
|
541841e8c6 | ||
|
|
8847a730e6 | ||
|
|
719cc0b086 | ||
|
|
490e4f835c | ||
|
|
fab5809c97 |
+1
-1
@@ -16,6 +16,6 @@ newPRWelcomeComment: >
|
||||
|
||||
# Comment to be posted to on pull requests merged by a first time user
|
||||
firstPRMergeComment: >
|
||||
Congratulations on merging your first pull request! 🎉🎉🎉
|
||||
Congratulations on merging your first pull request here! 🎉🎉🎉 You are now in our [list of contributors](https://github.com/StevenBlack/hosts/graphs/contributors). Welcome!
|
||||
|
||||
# It is recommend to include as many gifs and emojis as possible!
|
||||
+29
-16
@@ -10,8 +10,16 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python: [3.5, 3.6, 3.7, 3.8]
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
python:
|
||||
- 3.5
|
||||
- 3.6
|
||||
- 3.7
|
||||
- 3.8
|
||||
- 3.9
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
@@ -23,23 +31,28 @@ jobs:
|
||||
python-version: ${{ matrix.python }}
|
||||
architecture: "x64"
|
||||
|
||||
- run: python --version
|
||||
- run: pip --version
|
||||
|
||||
- name: Get pip cache directory
|
||||
id: pip-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(pip cache dir)"
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/miniconda3
|
||||
key: ${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('ci/*.sh') }}
|
||||
restore-keys: ${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('ci/*.sh') }}
|
||||
path: ${{ steps.pip-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
|
||||
${{ runner.os }}-python-v${{ matrix.python }}-
|
||||
|
||||
- name: Install conda
|
||||
env:
|
||||
PYTHON_VERSION: ${{ matrix.python }}
|
||||
run: |
|
||||
export PATH="$HOME/miniconda3/bin:$PATH"
|
||||
ci/install_conda.sh
|
||||
ci/setup_conda_env.sh
|
||||
- name: Install Python dependencies
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Run lint
|
||||
run: flake8
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
export PATH="$HOME/miniconda3/bin:$PATH"
|
||||
ci/lint.sh
|
||||
ci/test.sh
|
||||
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
|
||||
+23700
-21337
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 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 82,879 entries.
|
||||
* Last updated: **December 31 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,795 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -102,7 +104,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 +135,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 +148,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]
|
||||
```
|
||||
@@ -195,15 +216,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -253,8 +277,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -368,13 +391,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 +469,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.
|
||||
@@ -467,6 +485,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+23698
-21337
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 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,123 entries.
|
||||
* Last updated: **December 31 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 85,037 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -100,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:
|
||||
|
||||
@@ -110,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
|
||||
@@ -121,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]
|
||||
```
|
||||
@@ -193,15 +214,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -251,8 +275,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -366,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:
|
||||
@@ -451,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.
|
||||
@@ -465,6 +483,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+14874
-15027
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 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,317 entries.
|
||||
* Last updated: **December 31 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,737 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -98,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:
|
||||
|
||||
@@ -108,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
|
||||
@@ -119,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]
|
||||
```
|
||||
@@ -191,15 +212,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -249,8 +273,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -364,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:
|
||||
@@ -449,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.
|
||||
@@ -463,6 +481,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+14872
-15027
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 60,560 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 62,978 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -96,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:
|
||||
|
||||
@@ -106,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
|
||||
@@ -117,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]
|
||||
```
|
||||
@@ -189,15 +210,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -247,8 +271,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -362,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:
|
||||
@@ -447,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.
|
||||
@@ -461,6 +479,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+23701
-21338
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 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 80,555 entries.
|
||||
* Last updated: **December 31 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,471 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -101,7 +103,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 +134,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 +147,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]
|
||||
```
|
||||
@@ -194,15 +215,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -252,8 +276,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -367,13 +390,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 +468,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.
|
||||
@@ -466,6 +484,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+23699
-21338
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 77,799 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 82,713 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -99,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:
|
||||
|
||||
@@ -109,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
|
||||
@@ -120,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]
|
||||
```
|
||||
@@ -192,15 +213,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -250,8 +274,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -365,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:
|
||||
@@ -450,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.
|
||||
@@ -464,6 +482,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+14874
-15027
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 60,993 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 63,413 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -97,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:
|
||||
|
||||
@@ -107,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
|
||||
@@ -118,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]
|
||||
```
|
||||
@@ -190,15 +211,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -248,8 +272,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -363,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:
|
||||
@@ -448,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.
|
||||
@@ -462,6 +480,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+14872
-15027
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 58,236 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 60,654 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -95,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:
|
||||
|
||||
@@ -105,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
|
||||
@@ -116,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]
|
||||
```
|
||||
@@ -188,15 +209,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -246,8 +270,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -361,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:
|
||||
@@ -446,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.
|
||||
@@ -460,6 +478,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+22447
-21337
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 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 81,937 entries.
|
||||
* Last updated: **December 31 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,600 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -101,7 +103,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 +134,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 +147,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]
|
||||
```
|
||||
@@ -194,15 +215,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -252,8 +276,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -367,13 +390,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 +468,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.
|
||||
@@ -466,6 +484,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+22445
-21337
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 79,181 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 82,842 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -99,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:
|
||||
|
||||
@@ -109,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
|
||||
@@ -120,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]
|
||||
```
|
||||
@@ -192,15 +213,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -250,8 +274,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -365,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:
|
||||
@@ -450,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.
|
||||
@@ -464,6 +482,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+13621
-15027
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 62,375 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 63,542 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -97,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:
|
||||
|
||||
@@ -107,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
|
||||
@@ -118,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]
|
||||
```
|
||||
@@ -190,15 +211,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -248,8 +272,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -363,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:
|
||||
@@ -448,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.
|
||||
@@ -462,6 +480,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+13619
-15027
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 59,618 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 60,783 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -95,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:
|
||||
|
||||
@@ -105,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
|
||||
@@ -116,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]
|
||||
```
|
||||
@@ -188,15 +209,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -246,8 +270,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -361,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:
|
||||
@@ -446,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.
|
||||
@@ -460,6 +478,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+22447
-21337
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 79,613 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 83,276 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -100,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:
|
||||
|
||||
@@ -110,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
|
||||
@@ -121,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]
|
||||
```
|
||||
@@ -193,15 +214,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -251,8 +275,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -366,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:
|
||||
@@ -451,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.
|
||||
@@ -465,6 +483,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+22445
-21337
File diff suppressed because it is too large
Load Diff
+61
-41
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 76,857 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 80,518 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -98,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:
|
||||
|
||||
@@ -108,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
|
||||
@@ -119,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]
|
||||
```
|
||||
@@ -191,15 +212,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -249,8 +273,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -364,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:
|
||||
@@ -449,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.
|
||||
@@ -463,6 +481,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+13621
-15027
File diff suppressed because it is too large
Load Diff
+61
-41
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 60,051 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 61,218 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -96,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:
|
||||
|
||||
@@ -106,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
|
||||
@@ -117,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]
|
||||
```
|
||||
@@ -189,15 +210,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -247,8 +271,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -362,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:
|
||||
@@ -447,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.
|
||||
@@ -461,6 +479,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -d "$HOME/miniconda3" ] && [ -e "$HOME/miniconda3/bin/conda" ]; then
|
||||
echo "Miniconda install already present in cache: $HOME/miniconda3"
|
||||
rm -rf "$HOME"/miniconda3/envs/hosts # Just in case...
|
||||
else
|
||||
echo "Installing Miniconda..."
|
||||
rm -rf "$HOME"/miniconda3 # Just in case...
|
||||
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
wget -nv https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
|
||||
else
|
||||
wget -nv https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
|
||||
fi
|
||||
|
||||
bash miniconda.sh -b -p "$HOME/miniconda3"
|
||||
fi
|
||||
|
||||
echo "Configuring Miniconda..."
|
||||
conda config --set ssl_verify false
|
||||
conda config --set always_yes true --set changeps1 false
|
||||
|
||||
echo "Updating Miniconda"
|
||||
conda update conda
|
||||
conda update --all
|
||||
conda info -a
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Linting repository..."
|
||||
source activate hosts
|
||||
|
||||
flake8 --max-line-length 120
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Creating a Python $PYTHON_VERSION environment"
|
||||
conda create -n hosts python="$PYTHON_VERSION"
|
||||
source activate hosts
|
||||
|
||||
echo "Installing packages..."
|
||||
conda install flake8 beautifulsoup4 lxml
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Running unit tests..."
|
||||
source activate hosts
|
||||
|
||||
python --version
|
||||
python testUpdateHostsFile.py
|
||||
@@ -6,7 +6,7 @@
|
||||
# #
|
||||
# ___ __ __ ___ __ __ __ #
|
||||
# / _ )___ ____/ /__/ / / _ )___ __ _____ / // /__ ___ / /____ #
|
||||
# / _ / _ `/ _ / _ / / _ / _ \/ // /_ / / _ / _ \(_- __(_-< #
|
||||
# / _ / _ `/ _ / _ / / _ / _ \/ // /_ / / _ / _ \(_-</ __(_-< #
|
||||
# /____/\_,_/\_,_/\_,_/ /____/\___/\_, //__/ /_//_/\___/___/\__/___/ #
|
||||
# /___/ #
|
||||
##################################################################################
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
##### Version Information #
|
||||
###################################################
|
||||
### Version: V1.2020.06.8378
|
||||
### Version: V1.2020.12.8472
|
||||
##### 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
|
||||
@@ -57,10 +56,6 @@
|
||||
0.0.0.0 00it.com
|
||||
0.0.0.0 00sexus.com
|
||||
0.0.0.0 00webcams.com
|
||||
0.0.0.0 012br.com
|
||||
0.0.0.0 013sv.com
|
||||
0.0.0.0 015gf.com
|
||||
0.0.0.0 016ih.com
|
||||
0.0.0.0 017gj.com
|
||||
0.0.0.0 01apple.com
|
||||
0.0.0.0 01-sex-amateur.info
|
||||
@@ -75,7 +70,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,19 +84,15 @@
|
||||
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
|
||||
0.0.0.0 11235813.webzdarma.cz
|
||||
0.0.0.0 11pikachu.ru
|
||||
0.0.0.0 121phonesex.co.uk
|
||||
0.0.0.0 123any.com
|
||||
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
|
||||
0.0.0.0 123laceypink.com
|
||||
@@ -123,12 +113,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 +137,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 +160,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,13 +169,9 @@
|
||||
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
|
||||
0.0.0.0 2cam.nl
|
||||
0.0.0.0 2daytrendingnews.com
|
||||
0.0.0.0 2gay.net
|
||||
@@ -295,7 +277,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
|
||||
@@ -304,9 +285,7 @@
|
||||
0.0.0.0 66av.cc
|
||||
0.0.0.0 69boysex.com
|
||||
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 +299,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
|
||||
@@ -370,16 +348,12 @@
|
||||
0.0.0.0 a-5.info
|
||||
0.0.0.0 a85.info
|
||||
0.0.0.0 a94.info
|
||||
0.0.0.0 aa08daf7e13b6345e09e92f771507fa5f4.com
|
||||
0.0.0.0 aa14ab57a3339c4064bd9ae6fad7495b5f.com
|
||||
0.0.0.0 aa625d84f1587749c1ab011d6f269f7d64.com
|
||||
0.0.0.0 aa81bf391151884adfa3dd677e41f94be1.com
|
||||
0.0.0.0 aa9bd78f328a6a41279d0fad0a88df1901.com
|
||||
0.0.0.0 aa9d046aab36af4ff182f097f840430d51.com
|
||||
0.0.0.0 aaannuairex.com
|
||||
0.0.0.0 aaaurgentcare.net
|
||||
0.0.0.0 aab94f698f36684c5a852a2ef272e031bb.com
|
||||
0.0.0.0 aac500b7a15b2646968f6bd8c6305869d7.com
|
||||
0.0.0.0 aac52006ec82a24e08b665f4db2b5013f7.com
|
||||
0.0.0.0 aad1f4acb0a373420d9b0c4202d38d94fa.com
|
||||
0.0.0.0 aadroid.net
|
||||
@@ -392,7 +366,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
|
||||
@@ -410,7 +383,6 @@
|
||||
0.0.0.0 abdicted.com
|
||||
0.0.0.0 abdl-adult-baby-phone-sex.info
|
||||
0.0.0.0 abdlphone.com
|
||||
0.0.0.0 abeggs.com
|
||||
0.0.0.0 abetran.com
|
||||
0.0.0.0 abetting.net
|
||||
0.0.0.0 ablefull.com
|
||||
@@ -423,7 +395,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 +414,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 +495,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 +509,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
|
||||
@@ -549,11 +516,8 @@
|
||||
0.0.0.0 amatrice-partouzeuse.com
|
||||
0.0.0.0 amatrices-sexy.fr
|
||||
0.0.0.0 amatrixe.free.fr
|
||||
0.0.0.0 amatueranal.com
|
||||
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 +538,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
|
||||
@@ -584,7 +547,6 @@
|
||||
0.0.0.0 an-donut.com
|
||||
0.0.0.0 andrewrobertsllc.info
|
||||
0.0.0.0 android-style.com
|
||||
0.0.0.0 android-systems.ru
|
||||
0.0.0.0 anduongjsc.com
|
||||
0.0.0.0 andydill.com
|
||||
0.0.0.0 anews.cc
|
||||
@@ -604,7 +566,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
|
||||
@@ -652,7 +613,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
|
||||
@@ -666,7 +626,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
|
||||
@@ -692,12 +651,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
|
||||
@@ -724,7 +681,6 @@
|
||||
0.0.0.0 eurospanker.com
|
||||
0.0.0.0 eurovisions.free.fr
|
||||
0.0.0.0 eu-survey.com
|
||||
0.0.0.0 euuaa.com
|
||||
0.0.0.0 event-tracking.com
|
||||
0.0.0.0 everestclick.com
|
||||
0.0.0.0 every-day.net
|
||||
@@ -746,7 +702,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
|
||||
@@ -765,7 +720,6 @@
|
||||
0.0.0.0 freehostservers.com
|
||||
0.0.0.0 freeindiangals.com
|
||||
0.0.0.0 freeuploader.ml
|
||||
0.0.0.0 freudebote.de
|
||||
0.0.0.0 fx.gtop.ro
|
||||
0.0.0.0 girlporn.ru
|
||||
0.0.0.0 globetrotting-culture.ru
|
||||
@@ -783,14 +737,12 @@
|
||||
0.0.0.0 goforexvps.com
|
||||
0.0.0.0 gofun.info
|
||||
0.0.0.0 go-gal.com
|
||||
0.0.0.0 go.game2me.cn
|
||||
0.0.0.0 gotporn.info
|
||||
0.0.0.0 gotwebsite1.com
|
||||
0.0.0.0 gov.yanao.ru
|
||||
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
|
||||
@@ -826,14 +778,12 @@
|
||||
0.0.0.0 hunger.xyz
|
||||
0.0.0.0 hunks-hardcore.com
|
||||
0.0.0.0 hunks-naked.com
|
||||
0.0.0.0 hunktoons.com
|
||||
0.0.0.0 hunshop.natureflower.com
|
||||
0.0.0.0 hunt4porn.com
|
||||
0.0.0.0 hustlervip.net
|
||||
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
|
||||
@@ -852,7 +802,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
|
||||
@@ -860,7 +809,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
|
||||
@@ -874,12 +822,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
|
||||
@@ -888,13 +832,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
|
||||
@@ -903,7 +845,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
|
||||
|
||||
+6989
-2783
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,6 @@
|
||||
"homeurl": "https://kadantiscam.netlify.app/",
|
||||
"frequency": "frequently",
|
||||
"issues": "https://github.com/PolishFiltersTeam/KADhosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt",
|
||||
"url": "https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt",
|
||||
"license": "CC BY-SA 4.0"
|
||||
}
|
||||
|
||||
+1472
-1410
File diff suppressed because it is too large
Load Diff
+1109
-735
File diff suppressed because it is too large
Load Diff
+2454
-7902
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
|
||||
|
||||
+295
-139
@@ -1,7 +1,7 @@
|
||||
# Title: hostsVN
|
||||
# Last modified: 27 Jun 2020 21:10 UTC+7
|
||||
# Version: 2006272110
|
||||
# Blocked: 1,368 domains
|
||||
# Last modified: 30 Dec 2020 20:43 UTC+7
|
||||
# Version: 2012302043
|
||||
# Blocked: 1,509 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
|
||||
@@ -99,14 +97,9 @@
|
||||
0.0.0.0 code.admicro.vn
|
||||
0.0.0.0 content-ml.admicro.vn
|
||||
0.0.0.0 contract.admicro.vn
|
||||
0.0.0.0 contracttest.admicro.vn
|
||||
0.0.0.0 cpd.admicro.vn
|
||||
0.0.0.0 chamcong.admicro.vn
|
||||
0.0.0.0 chamcongtest.admicro.vn
|
||||
0.0.0.0 defaultdsp.admicro.vn
|
||||
0.0.0.0 demo.admicro.vn
|
||||
0.0.0.0 demo-adopt.admicro.vn
|
||||
0.0.0.0 dev.email-analytics.admicro.vn
|
||||
0.0.0.0 display.admicro.vn
|
||||
0.0.0.0 dl.logging.admicro.vn
|
||||
0.0.0.0 drive.admicro.vn
|
||||
@@ -115,7 +108,6 @@
|
||||
0.0.0.0 ea.logging.admicro.vn
|
||||
0.0.0.0 e-learning.admicro.vn
|
||||
0.0.0.0 enterpriseapi.admicro.vn
|
||||
0.0.0.0 erptest.admicro.vn
|
||||
0.0.0.0 f.admicro.vn
|
||||
0.0.0.0 file.admicro.vn
|
||||
0.0.0.0 fingerprint.admicro.vn
|
||||
@@ -127,7 +119,6 @@
|
||||
0.0.0.0 img.admicro.vn
|
||||
0.0.0.0 in.admicro.vn
|
||||
0.0.0.0 ir.admicro.vn
|
||||
0.0.0.0 ketoan.admicro.vn
|
||||
0.0.0.0 kpi.admicro.vn
|
||||
0.0.0.0 lab.admicro.vn
|
||||
0.0.0.0 layout.admicro.vn
|
||||
@@ -159,7 +150,6 @@
|
||||
0.0.0.0 publisher.admicro.vn
|
||||
0.0.0.0 redmine.admicro.vn
|
||||
0.0.0.0 remarketing.admicro.vn
|
||||
0.0.0.0 sale.test.admicro.vn
|
||||
0.0.0.0 saledev.admicro.vn
|
||||
0.0.0.0 snews.admicro.vn
|
||||
0.0.0.0 sso.admicro.vn
|
||||
@@ -226,6 +216,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 +230,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 +238,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
|
||||
@@ -257,23 +248,27 @@
|
||||
#[coccoc]
|
||||
0.0.0.0 ads-target.coccoc.com
|
||||
0.0.0.0 banners-gallery.coccoc.com
|
||||
0.0.0.0 catalog.qc.coccoc.com
|
||||
0.0.0.0 cdn-qc.coccoc.com
|
||||
0.0.0.0 cdn.comedia.coccoc.com
|
||||
0.0.0.0 metrics.coccoc.com
|
||||
0.0.0.0 nt-cdn.coccoc.com
|
||||
0.0.0.0 qc-static.coccoc.com
|
||||
0.0.0.0 shop-cdn.coccoc.com
|
||||
0.0.0.0 shopping.coccoc.com
|
||||
#[qc.coccoc.com]
|
||||
0.0.0.0 catalog.qc.coccoc.com
|
||||
0.0.0.0 cdn.qc.coccoc.com
|
||||
0.0.0.0 context.qc.coccoc.com
|
||||
0.0.0.0 cp.qc.coccoc.com
|
||||
0.0.0.0 display.qc.coccoc.com
|
||||
0.0.0.0 metrics.coccoc.com
|
||||
0.0.0.0 nt-cdn.coccoc.com
|
||||
0.0.0.0 ntrb.qc.coccoc.com
|
||||
0.0.0.0 qc-static.coccoc.com
|
||||
0.0.0.0 qc.coccoc.com
|
||||
0.0.0.0 searcher.qc.coccoc.com
|
||||
0.0.0.0 shop-cdn.coccoc.com
|
||||
0.0.0.0 shopping.coccoc.com
|
||||
0.0.0.0 qccoccocmedia.vn
|
||||
0.0.0.0 ssp.qc.coccoc.com
|
||||
#[qc.coccoc.vn]
|
||||
0.0.0.0 qc.coccoc.vn
|
||||
0.0.0.0 qccoccocmedia.vn
|
||||
#[itim.vn]
|
||||
0.0.0.0 itim.vn
|
||||
0.0.0.0 spell.itim.vn
|
||||
#[rungrinh.vn]
|
||||
@@ -309,7 +304,6 @@
|
||||
0.0.0.0 pub.lavanetwork.net
|
||||
0.0.0.0 revive.lavanetwork.net
|
||||
0.0.0.0 slv1.lavanetwork.net
|
||||
0.0.0.0 test.lavanetwork.net
|
||||
0.0.0.0 video.lavanetwork.net
|
||||
0.0.0.0 www.lavanetwork.net
|
||||
0.0.0.0 xaxis.lavanetwork.net
|
||||
@@ -327,7 +321,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 +334,72 @@
|
||||
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
|
||||
#[ambientdsp.com]
|
||||
0.0.0.0 ambientdsp.com
|
||||
0.0.0.0 clk.ambientdsp.com
|
||||
0.0.0.0 cm.ambientdsp.com
|
||||
0.0.0.0 imp.ambientdsp.com
|
||||
0.0.0.0 metrics.ambientdsp.com
|
||||
0.0.0.0 static.ambientdsp.com
|
||||
0.0.0.0 trk.ambientdsp.com
|
||||
0.0.0.0 www.ambientdsp.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 +409,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,26 +504,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
|
||||
@@ -449,51 +559,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
|
||||
@@ -524,28 +589,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
|
||||
@@ -636,7 +679,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
|
||||
@@ -656,7 +698,6 @@
|
||||
0.0.0.0 smtp6.younetmedia.com
|
||||
0.0.0.0 socialheat.younetmedia.com
|
||||
0.0.0.0 static.younetmedia.com
|
||||
0.0.0.0 testing.younetmedia.com
|
||||
0.0.0.0 www.younetmedia.com
|
||||
0.0.0.0 younetmedia.com
|
||||
#[mangoads.vn]
|
||||
@@ -742,7 +783,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
|
||||
@@ -753,7 +793,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
|
||||
@@ -761,8 +800,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
|
||||
@@ -779,7 +816,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
|
||||
@@ -896,12 +932,13 @@
|
||||
0.0.0.0 static.dable.io
|
||||
0.0.0.0 thumb.dable.io
|
||||
0.0.0.0 www.dable.io
|
||||
#[adbro]
|
||||
#[adbro.me]
|
||||
0.0.0.0 adbro.me
|
||||
0.0.0.0 api.adbro.me
|
||||
0.0.0.0 apis.adbro.me
|
||||
0.0.0.0 cdn.adbro.me
|
||||
0.0.0.0 portal.adbro.me
|
||||
0.0.0.0 tag.adbro.me
|
||||
#[adasiaholdings]
|
||||
0.0.0.0 adasiaholdings.com
|
||||
0.0.0.0 adnetwork.adasiaholdings.com
|
||||
@@ -919,15 +956,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
|
||||
@@ -1068,6 +1096,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
|
||||
@@ -1091,6 +1132,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
|
||||
@@ -1142,8 +1184,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
|
||||
@@ -1192,22 +1232,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
|
||||
@@ -1253,13 +1277,74 @@
|
||||
0.0.0.0 clevernet.vn
|
||||
0.0.0.0 m.clevernet.vn
|
||||
0.0.0.0 www.clevernet.vn
|
||||
#[clickbuy.bz]
|
||||
0.0.0.0 ads.clickbuy.bz
|
||||
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
|
||||
#[flygame.io]
|
||||
0.0.0.0 api.flygame.io
|
||||
0.0.0.0 flygame.io
|
||||
0.0.0.0 game.flygame.io
|
||||
0.0.0.0 images.flygame.io
|
||||
0.0.0.0 inapi.flygame.io
|
||||
0.0.0.0 ingame.flygame.io
|
||||
0.0.0.0 lottery.flygame.io
|
||||
0.0.0.0 stat.flygame.io
|
||||
0.0.0.0 thapi.flygame.io
|
||||
0.0.0.0 thgame.flygame.io
|
||||
0.0.0.0 www.flygame.io
|
||||
#[kabbmedia.com]
|
||||
0.0.0.0 ads.kabbmedia.com
|
||||
0.0.0.0 delivery.kabbmedia.com
|
||||
0.0.0.0 images.kabbmedia.com
|
||||
0.0.0.0 kabbmedia.com
|
||||
# --- 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
|
||||
@@ -1268,25 +1353,40 @@
|
||||
0.0.0.0 adclient.vietnamnetjsc.vn
|
||||
0.0.0.0 adfox.vn
|
||||
0.0.0.0 adjusts.info
|
||||
0.0.0.0 adm.phunuvagiadinh.vn
|
||||
0.0.0.0 admedia.com.vn
|
||||
0.0.0.0 admin.sothuchi.vn
|
||||
0.0.0.0 adpostback.headlines.pw
|
||||
0.0.0.0 ads-cdn.fptplay.net
|
||||
0.0.0.0 ads.1thegioi.vn
|
||||
0.0.0.0 ads.baobinhduong.vn
|
||||
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.kiemsat.vn
|
||||
0.0.0.0 ads.lamchame.vn
|
||||
0.0.0.0 ads.laodongnghean.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.thitruongtaichinhtiente.vn
|
||||
0.0.0.0 ads.tiki.vn
|
||||
0.0.0.0 ads.vietbao.vn
|
||||
0.0.0.0 ads.vkool.info
|
||||
0.0.0.0 ads.vovlive.vn
|
||||
0.0.0.0 ads.xemphimso.com
|
||||
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
|
||||
@@ -1295,10 +1395,14 @@
|
||||
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
|
||||
0.0.0.0 ailamtrieuphu.com
|
||||
0.0.0.0 ak9.6895588.com
|
||||
0.0.0.0 alivar.com.vn
|
||||
0.0.0.0 alivar.vn
|
||||
0.0.0.0 amobi.vn
|
||||
@@ -1308,11 +1412,18 @@
|
||||
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 cdn2.cache.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
|
||||
@@ -1320,10 +1431,12 @@
|
||||
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
|
||||
0.0.0.0 dt.vnecdn.com
|
||||
0.0.0.0 ff.imacdn.com
|
||||
0.0.0.0 financial-agent.headlines.pw
|
||||
0.0.0.0 fptad.com
|
||||
0.0.0.0 genmonet.com
|
||||
@@ -1334,15 +1447,18 @@
|
||||
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
|
||||
0.0.0.0 myad.vn
|
||||
0.0.0.0 ng-vn-notice.gameitop.com
|
||||
0.0.0.0 nspapi.aiservice.vn
|
||||
0.0.0.0 offerwall.headlines.pw
|
||||
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
|
||||
@@ -1361,9 +1477,11 @@
|
||||
0.0.0.0 sv-api-lottery.headlines.pw
|
||||
0.0.0.0 sv-static-lottery.headlines.pw
|
||||
0.0.0.0 sv-static1-lottery.headlines.pw
|
||||
0.0.0.0 syncwowsails.com
|
||||
0.0.0.0 toppage.vn
|
||||
0.0.0.0 trenddigital.vn
|
||||
0.0.0.0 truoctran.com
|
||||
0.0.0.0 tulipluv.xyz
|
||||
0.0.0.0 tvnotice.kg.garena.vn
|
||||
0.0.0.0 upfile16.mediaphim.com
|
||||
0.0.0.0 user.headlines.pw
|
||||
@@ -1371,11 +1489,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
|
||||
@@ -1383,62 +1503,90 @@
|
||||
0.0.0.0 www.microad.vn
|
||||
0.0.0.0 www.realclick.vn
|
||||
0.0.0.0 www.sbbanner.com
|
||||
0.0.0.0 www.tulipluv.xyz
|
||||
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 analytic.baodantoc.vn
|
||||
0.0.0.0 analytics.bkav.com
|
||||
0.0.0.0 analytics.bkav.com.vn
|
||||
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 cnnd.vn
|
||||
0.0.0.0 clientinfo.phimmoizz.net
|
||||
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
|
||||
0.0.0.0 log.ngaynay.vn
|
||||
0.0.0.0 log.nhipcaudautu.vn
|
||||
0.0.0.0 log.sggp.org.vn
|
||||
0.0.0.0 log.tapchimattran.vn
|
||||
0.0.0.0 log.tapchitaichinh.vn
|
||||
0.0.0.0 log.thanhnien.vn
|
||||
0.0.0.0 log.theleader.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
|
||||
0.0.0.0 log4x.nixcdn.com
|
||||
0.0.0.0 logg4u.cnnd.vn
|
||||
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 static.subiz.com
|
||||
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
|
||||
@@ -1448,31 +1596,39 @@
|
||||
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.fado.vn
|
||||
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.fado.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 bloodleian.club
|
||||
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
-1236
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,347 @@
|
||||
#######################################################################
|
||||
# The list contains uniques domains collected over #
|
||||
# the last 7 days by OSINT.digitalside.it and shared in piHole format.#
|
||||
# The list is released without any warranty to the end users. #
|
||||
# INFO: info@digitalside.it #
|
||||
# PGP key ID: 30B31BDA #
|
||||
# PGP fingerprint: 0B4C F801 E8FF E9A3 A602 D2C7 9C36 93B2 30B3 1BDA #
|
||||
# Every link reported should be considered harmefull and should #
|
||||
# result in an unwanted malware download. Use this file carrefully #
|
||||
# Generated at: 2020-12-31 08:13:50 #
|
||||
#######################################################################
|
||||
0.0.0.0 00zyku.com
|
||||
0.0.0.0 91damimi.com
|
||||
0.0.0.0 aagzz.com
|
||||
0.0.0.0 aaskuu.com
|
||||
0.0.0.0 abissnet.net
|
||||
0.0.0.0 abrillofurniture.com
|
||||
0.0.0.0 admin.erapor.smk-alasror.net
|
||||
0.0.0.0 ads.adwords-com.promotion.adwords-fr-en.eu.home.login.peggycross.com
|
||||
0.0.0.0 aeropilates.cl
|
||||
0.0.0.0 agrabadgroup.com
|
||||
0.0.0.0 alabamaballdrop.com
|
||||
0.0.0.0 alkamefood.com
|
||||
0.0.0.0 alkhayyatbusiness.com
|
||||
0.0.0.0 allcannabismeds.com
|
||||
0.0.0.0 allstagingwork.com
|
||||
0.0.0.0 alrlawsv.com
|
||||
0.0.0.0 alsaudiacuttingmaster.com
|
||||
0.0.0.0 aluminio-manuelzamora.es
|
||||
0.0.0.0 amarguwahati.com
|
||||
0.0.0.0 amruthaprojects.com
|
||||
0.0.0.0 andeanreach.com
|
||||
0.0.0.0 angelsllimargas.com
|
||||
0.0.0.0 angiearm.top
|
||||
0.0.0.0 anjumanclick.com
|
||||
0.0.0.0 apiat.org
|
||||
0.0.0.0 arefhasan.com
|
||||
0.0.0.0 artas.biz
|
||||
0.0.0.0 asawaja.bijukonix.online
|
||||
0.0.0.0 astrologiaexistencial.com
|
||||
0.0.0.0 athenaat.com
|
||||
0.0.0.0 aulavirtual.neptalireyes.org
|
||||
0.0.0.0 awakenservers.com
|
||||
0.0.0.0 bandarabbad.com
|
||||
0.0.0.0 batdongsanvip.com.vn
|
||||
0.0.0.0 bayern-sperrmuellabholung.com
|
||||
0.0.0.0 beidou.run
|
||||
0.0.0.0 bharattimeslive.com
|
||||
0.0.0.0 binatones.gq
|
||||
0.0.0.0 blog.oyinblogs.com
|
||||
0.0.0.0 bohler-edelstahl-at.com
|
||||
0.0.0.0 bookallon.com
|
||||
0.0.0.0 bot.lobodomarketingonline.com
|
||||
0.0.0.0 brinde-top.lobodomarketingonline.com
|
||||
0.0.0.0 busandvanrentalmalaysia.com
|
||||
0.0.0.0 cahyaproperty.bbtbatam.com
|
||||
0.0.0.0 cashyinvestment.org
|
||||
0.0.0.0 catchpoolshetlands.co.uk
|
||||
0.0.0.0 cbt2.smk-alasror.net
|
||||
0.0.0.0 cdn.app.yourwebdesignguys.com
|
||||
0.0.0.0 cdn.i-xinnuo.com
|
||||
0.0.0.0 chile.micorredora.email
|
||||
0.0.0.0 coastlinepoolspa.com
|
||||
0.0.0.0 codsambal.com
|
||||
0.0.0.0 contractrequest.nirmal-co.xyz
|
||||
0.0.0.0 countrynavigator.com
|
||||
0.0.0.0 crudtest.srintegrated.com
|
||||
0.0.0.0 csarad.com
|
||||
0.0.0.0 csgcargo.com
|
||||
0.0.0.0 cyber.searchkero.com
|
||||
0.0.0.0 d-cem.com
|
||||
0.0.0.0 decpak.com
|
||||
0.0.0.0 demondkapjesman.nl
|
||||
0.0.0.0 demo.seoexpertsinnepal.com
|
||||
0.0.0.0 depannage-vehicule-maroc.com
|
||||
0.0.0.0 dfgggloadr06.top
|
||||
0.0.0.0 dfgggloadt05.top
|
||||
0.0.0.0 dicasdecabelodabiah.com
|
||||
0.0.0.0 dieuhoaxanh.vn
|
||||
0.0.0.0 dorotheesausset.com
|
||||
0.0.0.0 down.xrpdf.com
|
||||
0.0.0.0 drchaudharisdentalclinic.com
|
||||
0.0.0.0 dream.pics
|
||||
0.0.0.0 dr-yasser.com
|
||||
0.0.0.0 du-wizards.com
|
||||
0.0.0.0 dynamicsteels.com
|
||||
0.0.0.0 elleaesthetics.com.au
|
||||
0.0.0.0 ellinismos1922.gr
|
||||
0.0.0.0 endurotanzania.co.tz
|
||||
0.0.0.0 etkindedektiflik.com
|
||||
0.0.0.0 events.ileafconnects.com
|
||||
0.0.0.0 ezi-pos.com
|
||||
0.0.0.0 familylifetruth.com
|
||||
0.0.0.0 feeds.braiins-os.com
|
||||
0.0.0.0 files.catbox.moe
|
||||
0.0.0.0 firenmoske.xyz
|
||||
0.0.0.0 flow-sol.com
|
||||
0.0.0.0 fmcav.com
|
||||
0.0.0.0 fraud.bpcbankingtech.com
|
||||
0.0.0.0 freelancero.nl
|
||||
0.0.0.0 fundglobally.org
|
||||
0.0.0.0 fyadvertising.com
|
||||
0.0.0.0 gadgetbay.com
|
||||
0.0.0.0 gadgetscs.com
|
||||
0.0.0.0 gamesforconsoles2222.top
|
||||
0.0.0.0 game.vlexor.com
|
||||
0.0.0.0 genzmag.com
|
||||
0.0.0.0 geoffoglemusic.com
|
||||
0.0.0.0 giannaspsychicstudio.com
|
||||
0.0.0.0 giatot365.com
|
||||
0.0.0.0 gjorgji.com
|
||||
0.0.0.0 gods.brernbanarolle.com
|
||||
0.0.0.0 goldcoastoffice365.com
|
||||
0.0.0.0 goldenboyatl.com
|
||||
0.0.0.0 goldilockstraining.com
|
||||
0.0.0.0 gp.thetpainghtut.com
|
||||
0.0.0.0 gudafu.com
|
||||
0.0.0.0 gurucbt.smk-alasror.net
|
||||
0.0.0.0 gxd3fp7fe7cac6jzn2sac.online
|
||||
0.0.0.0 haciaelsup.com
|
||||
0.0.0.0 harmonimedia.com
|
||||
0.0.0.0 hbprivileged.com
|
||||
0.0.0.0 heartssetfree.org
|
||||
0.0.0.0 hilmagym.com
|
||||
0.0.0.0 hmhaliyikama.com
|
||||
0.0.0.0 homegym.vn
|
||||
0.0.0.0 htetkaungclinic.thetpainghtut.com
|
||||
0.0.0.0 hubinfo.co.za
|
||||
0.0.0.0 huxere.xyz
|
||||
0.0.0.0 hvbevents.com
|
||||
0.0.0.0 ibelieveonline.org
|
||||
0.0.0.0 ienglishabc.com
|
||||
0.0.0.0 ilmeteo.dev.keyformat.it
|
||||
0.0.0.0 indabol.com.bo
|
||||
0.0.0.0 indemnity360.com
|
||||
0.0.0.0 inovations.searchkero.com
|
||||
0.0.0.0 insvat.com
|
||||
0.0.0.0 iotachina.com
|
||||
0.0.0.0 iut-bethune.univ-artois.fr
|
||||
0.0.0.0 jarininternational.com
|
||||
0.0.0.0 jcteamcapital.com
|
||||
0.0.0.0 jmonedero.net
|
||||
0.0.0.0 johnhaydenwrites.com
|
||||
0.0.0.0 johnloveskim.com
|
||||
0.0.0.0 josegene.com
|
||||
0.0.0.0 juju.jebcom.de
|
||||
0.0.0.0 karsonhomecare.com
|
||||
0.0.0.0 kelaschool.com
|
||||
0.0.0.0 kelulusan.smk-alasror.net
|
||||
0.0.0.0 ketoresetme.com
|
||||
0.0.0.0 kiralikbahissitesii.com
|
||||
0.0.0.0 kkgroupbd.com
|
||||
0.0.0.0 klikcee.somee.com
|
||||
0.0.0.0 knzazmrserv194.xyz
|
||||
0.0.0.0 knzvncadvert549.xyz
|
||||
0.0.0.0 kolaycaingilizce.com
|
||||
0.0.0.0 kolerkar.com
|
||||
0.0.0.0 koofuku.com
|
||||
0.0.0.0 kos4.monster
|
||||
0.0.0.0 labtop.pe
|
||||
0.0.0.0 lainiotisllc.com
|
||||
0.0.0.0 lampoone.top
|
||||
0.0.0.0 laptop.smk-alasror.net
|
||||
0.0.0.0 leatherbond.top
|
||||
0.0.0.0 linkejet.com.br
|
||||
0.0.0.0 littleindiadirectory.com
|
||||
0.0.0.0 luoyb.com
|
||||
0.0.0.0 malaysianscoop.com
|
||||
0.0.0.0 malerei-wiesner.de
|
||||
0.0.0.0 md5.5ofj.pw
|
||||
0.0.0.0 mediatorstewart.com
|
||||
0.0.0.0 mehostin.com
|
||||
0.0.0.0 melara.app.jarcatech.com
|
||||
0.0.0.0 members.nlbformula.com
|
||||
0.0.0.0 memoria.od.ua
|
||||
0.0.0.0 messenger-courier.com
|
||||
0.0.0.0 metadorr.com
|
||||
0.0.0.0 milaskentyasamevleri.com
|
||||
0.0.0.0 mitrapack.co.id
|
||||
0.0.0.0 mnv.terasoffshore.xyz
|
||||
0.0.0.0 modernortodonti.com
|
||||
0.0.0.0 moshiresidence.com
|
||||
0.0.0.0 motobuin.eltipodelasfotos.cl
|
||||
0.0.0.0 muahangvietmy.com
|
||||
0.0.0.0 multitools.gr
|
||||
0.0.0.0 mumglobal.com
|
||||
0.0.0.0 myphamjapan.com
|
||||
0.0.0.0 mypostletter.com
|
||||
0.0.0.0 nahlasolimandesigns.com
|
||||
0.0.0.0 ncap.lbatechnologies.com
|
||||
0.0.0.0 nearlearn.com
|
||||
0.0.0.0 nec-i.com
|
||||
0.0.0.0 necla.co.ke
|
||||
0.0.0.0 nemraafrica.org
|
||||
0.0.0.0 networkwheels.co.za
|
||||
0.0.0.0 new.icfcfilm.com
|
||||
0.0.0.0 ngrehab.biz
|
||||
0.0.0.0 nhorangtreem.com
|
||||
0.0.0.0 nichimanabi.com
|
||||
0.0.0.0 nicknewsteadconstructions.com.au
|
||||
0.0.0.0 noithatcongnghieptantien.com
|
||||
0.0.0.0 nuocmambamuoi.vn
|
||||
0.0.0.0 odev.tarsusbilkoleji.com
|
||||
0.0.0.0 office.horussolution.com
|
||||
0.0.0.0 olebaby.in
|
||||
0.0.0.0 onevoice.co.in
|
||||
0.0.0.0 opheliasbrewery.com
|
||||
0.0.0.0 oteroindustrial.com
|
||||
0.0.0.0 ourteam.searchkero.com
|
||||
0.0.0.0 parakkunnathtemple.com
|
||||
0.0.0.0 paroissesaintabraham.com
|
||||
0.0.0.0 pattayastore.com
|
||||
0.0.0.0 paulscomputing.com
|
||||
0.0.0.0 penambahberatbadan.info
|
||||
0.0.0.0 phasdesign.com
|
||||
0.0.0.0 phawayagency.com
|
||||
0.0.0.0 pom-poo.hk
|
||||
0.0.0.0 post.lobodomarketingonline.com
|
||||
0.0.0.0 ppdb-legacy.man1lamongan.com
|
||||
0.0.0.0 priyabeatus.com
|
||||
0.0.0.0 procesotg.com
|
||||
0.0.0.0 radiofmlive.com
|
||||
0.0.0.0 rechargkitmail.com
|
||||
0.0.0.0 reconindia.co.in
|
||||
0.0.0.0 redmanns-way.com
|
||||
0.0.0.0 report.radikari.co.id
|
||||
0.0.0.0 resuco.net
|
||||
0.0.0.0 rsimadinah.com
|
||||
0.0.0.0 russchine2sndymapanxmenischangednetsncm.ydns.eu
|
||||
0.0.0.0 rycomputer.com
|
||||
0.0.0.0 sahla-ad.com
|
||||
0.0.0.0 sanghuangvip.com
|
||||
0.0.0.0 sarfizmir.com
|
||||
0.0.0.0 sasksseed.mymonolith.com
|
||||
0.0.0.0 sbninspections.com
|
||||
0.0.0.0 schoolbustracker.softgig.co.ke
|
||||
0.0.0.0 scope-sci.org
|
||||
0.0.0.0 secanim.daka.dk
|
||||
0.0.0.0 senturketicaret.com
|
||||
0.0.0.0 sevensteel.com.tr
|
||||
0.0.0.0 sharpelevators.in
|
||||
0.0.0.0 shgsqfdzin.ru
|
||||
0.0.0.0 shopchailo.com
|
||||
0.0.0.0 shop.eldalile.com
|
||||
0.0.0.0 shop.gulatani.com
|
||||
0.0.0.0 shop.schlachtstall.de
|
||||
0.0.0.0 siamimplement.co.th
|
||||
0.0.0.0 sibernetix.fr
|
||||
0.0.0.0 siitav.net
|
||||
0.0.0.0 sinclair-electrical.com
|
||||
0.0.0.0 sisantri.smk-alasror.net
|
||||
0.0.0.0 sistempark.net
|
||||
0.0.0.0 skyeconsultoria.com.br
|
||||
0.0.0.0 smitattorneys.co.za
|
||||
0.0.0.0 sociallit.lobodomarketingonline.com
|
||||
0.0.0.0 somatone.atakdev.com
|
||||
0.0.0.0 sportucc.com
|
||||
0.0.0.0 ssdgatewaysolutions.com
|
||||
0.0.0.0 steller-family.ru
|
||||
0.0.0.0 sureoptimize.com
|
||||
0.0.0.0 surfboarddigital.com
|
||||
0.0.0.0 suriagrofresh.com
|
||||
0.0.0.0 swiftlogisticseg.com
|
||||
0.0.0.0 talentvalue.com
|
||||
0.0.0.0 talentztech.com
|
||||
0.0.0.0 tarsusbilkoleji.com
|
||||
0.0.0.0 technohub.searchkero.com
|
||||
0.0.0.0 techworldo.com
|
||||
0.0.0.0 tecshop.website
|
||||
0.0.0.0 telelogical.com
|
||||
0.0.0.0 tenmoney.business
|
||||
0.0.0.0 testapi.app.jarcatech.com
|
||||
0.0.0.0 thebestfikrah.com
|
||||
0.0.0.0 thedesirelife.com
|
||||
0.0.0.0 theloveiskindnetwork.com
|
||||
0.0.0.0 theoakridgeinternational.com
|
||||
0.0.0.0 theo.digital
|
||||
0.0.0.0 theotokoseb.com
|
||||
0.0.0.0 theprajinshee.com
|
||||
0.0.0.0 thespaceastronauts.com
|
||||
0.0.0.0 thetradepad.co.uk
|
||||
0.0.0.0 thexanhmy.com
|
||||
0.0.0.0 tillmoon.lt
|
||||
0.0.0.0 topcell9.com
|
||||
0.0.0.0 t-o-u-c-h-s-m-a-r-t.com
|
||||
0.0.0.0 trytuc.com
|
||||
0.0.0.0 tsrv4.ws
|
||||
0.0.0.0 tube.focodahora.com
|
||||
0.0.0.0 tumsell.com
|
||||
0.0.0.0 turbo-services.com
|
||||
0.0.0.0 udesk.searchkero.com
|
||||
0.0.0.0 udre3kvzatwrx6ues4p2u.top
|
||||
0.0.0.0 uk-bet.com
|
||||
0.0.0.0 ultimatesoftwarenet.com
|
||||
0.0.0.0 umzug-angebote-vergleichen.com
|
||||
0.0.0.0 unikaryapools.com
|
||||
0.0.0.0 upcndg.org
|
||||
0.0.0.0 valenciancountry.com
|
||||
0.0.0.0 vermapaints.com
|
||||
0.0.0.0 vissermalin.com
|
||||
0.0.0.0 vstsample.com
|
||||
0.0.0.0 vyn-ascensores.com
|
||||
0.0.0.0 wcpaherrin.net
|
||||
0.0.0.0 weatherwindows.pk
|
||||
0.0.0.0 web.smarts-works.com
|
||||
0.0.0.0 wheelcomoving.com
|
||||
0.0.0.0 wi360.com
|
||||
0.0.0.0 wolffsachs.com
|
||||
0.0.0.0 worldcologistics.co.za
|
||||
0.0.0.0 www.aaskuu.com
|
||||
0.0.0.0 www.achutamanasa.com
|
||||
0.0.0.0 www.adnlight.com
|
||||
0.0.0.0 www.agnespagan.com
|
||||
0.0.0.0 www.alshuwail.com
|
||||
0.0.0.0 www.ausutra.com
|
||||
0.0.0.0 www.bereketsutesisatcisi.com
|
||||
0.0.0.0 www.bidwincash.com
|
||||
0.0.0.0 www.bmsystem.ro
|
||||
0.0.0.0 www.dr-yasser.com
|
||||
0.0.0.0 www.errepartributario.com.ar
|
||||
0.0.0.0 www.freejobalertcom.xyz
|
||||
0.0.0.0 www.geosrt.com
|
||||
0.0.0.0 www.jarininternational.com
|
||||
0.0.0.0 www.lapcare.com
|
||||
0.0.0.0 www.lixko.com
|
||||
0.0.0.0 www.looksociety.org
|
||||
0.0.0.0 www.mt4-ea.vip
|
||||
0.0.0.0 www.mypostletter.com
|
||||
0.0.0.0 www.removepctrojan.com
|
||||
0.0.0.0 www.rogerbaulenas.com
|
||||
0.0.0.0 www.savedahorses.org
|
||||
0.0.0.0 www.scooterinsurance.co.uk
|
||||
0.0.0.0 www.sinclair-electrical.com
|
||||
0.0.0.0 www.spmkomputer.com
|
||||
0.0.0.0 www.taylordbackups.com
|
||||
0.0.0.0 www.todoensaludips.com
|
||||
0.0.0.0 www.trueapparels.com
|
||||
0.0.0.0 www.ukndesw19x.com
|
||||
0.0.0.0 www.xportfreight.com
|
||||
0.0.0.0 www.zysbpt.com
|
||||
0.0.0.0 wxdgut.cn
|
||||
0.0.0.0 xiaowo.ltd
|
||||
0.0.0.0 ycspreview.com
|
||||
0.0.0.0 yurdumaku.com
|
||||
0.0.0.0 z1001.net
|
||||
0.0.0.0 zhongshixingchuang.com
|
||||
0.0.0.0 zzz111.uk
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "osint.digitalside.it",
|
||||
"description": "DigitalSide Threat-Intel malware domains list.",
|
||||
"homeurl": "https://github.com/davidonzo/Threat-Intel",
|
||||
"frequency": "daily",
|
||||
"issues": "https://github.com/davidonzo/Threat-Intel/issues",
|
||||
"url": "https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,161 @@
|
||||
0.0.0.0 cdn.engine.spotscenered.info
|
||||
0.0.0.0 a.exdynsrv.com
|
||||
0.0.0.0 cdn.izooto.com
|
||||
0.0.0.0 px-cdn.net
|
||||
0.0.0.0 px-cloud.net
|
||||
0.0.0.0 pxchk.net
|
||||
0.0.0.0 vo.msecnd.net
|
||||
0.0.0.0 a.omappapi.com
|
||||
0.0.0.0 adbserver.doceree.com
|
||||
0.0.0.0 adpushup.com
|
||||
0.0.0.0 ads-api.twitter.com
|
||||
0.0.0.0 ads.holid.io
|
||||
0.0.0.0 analyti.uber.space
|
||||
0.0.0.0 analytics.console.aws.a2z.com
|
||||
0.0.0.0 analytics.edgekey.net
|
||||
0.0.0.0 analytics.vadian.net
|
||||
0.0.0.0 analytics.write.as
|
||||
0.0.0.0 api-js.mixpanel.com
|
||||
0.0.0.0 api.airbrake.io
|
||||
0.0.0.0 api.appcues.net
|
||||
0.0.0.0 api.b2c.com
|
||||
0.0.0.0 api.btloader.com
|
||||
0.0.0.0 api2.branch.io
|
||||
0.0.0.0 backfills.ph.affinity.com
|
||||
0.0.0.0 bid.glass
|
||||
0.0.0.0 btloader.com
|
||||
0.0.0.0 buysellads.net
|
||||
0.0.0.0 by2.uservoice.com
|
||||
0.0.0.0 cdn-magiclinks.trackonomics.net
|
||||
0.0.0.0 cdn.insurads.com
|
||||
0.0.0.0 cdn.intergient.com
|
||||
0.0.0.0 cdn.paddle.com
|
||||
0.0.0.0 cdn.playwire.com
|
||||
0.0.0.0 cdn.snigelweb.com
|
||||
0.0.0.0 cdn.tech429.com
|
||||
0.0.0.0 cdn.usefathom.com
|
||||
0.0.0.0 client.px-cloud.net
|
||||
0.0.0.0 ev.kck.st
|
||||
0.0.0.0 fast.appcues.com
|
||||
0.0.0.0 gc.zgo.at
|
||||
0.0.0.0 geo-eu.snigelweb.com
|
||||
0.0.0.0 geo-us.snigelweb.com
|
||||
0.0.0.0 ip.prvtx.net
|
||||
0.0.0.0 metrics.readme.io
|
||||
0.0.0.0 pixel-static.spotify.com
|
||||
0.0.0.0 pixel.ampry.com
|
||||
0.0.0.0 pixel.spotify.com
|
||||
0.0.0.0 plus.addkt.com
|
||||
0.0.0.0 prebid-server-production.herokuapp.com
|
||||
0.0.0.0 programmatic.doceree.com
|
||||
0.0.0.0 protected-by.clarium.io
|
||||
0.0.0.0 scripts.simpleanalyticscdn.com
|
||||
0.0.0.0 server.ethicalads.io
|
||||
0.0.0.0 smetrics.cnn.com
|
||||
0.0.0.0 snigelweb-com.videoplayerhub.com
|
||||
0.0.0.0 stats.framasoft.org
|
||||
0.0.0.0 stats.kde.org
|
||||
0.0.0.0 stats.libretexts.org
|
||||
0.0.0.0 stats.nextcloud.com
|
||||
0.0.0.0 trackjs.com
|
||||
0.0.0.0 vortex.data.msn.com
|
||||
0.0.0.0 web.vortex.data.microsoft.com
|
||||
0.0.0.0 web.vortex.data.msn.com
|
||||
0.0.0.0 www.googleoptimize.com
|
||||
0.0.0.0 www.medtargetsystem.com
|
||||
0.0.0.0 ezodn.com
|
||||
0.0.0.0 go.ezodn.com
|
||||
0.0.0.0 powerad.ai
|
||||
0.0.0.0 trk.justanswer.com
|
||||
0.0.0.0 dotmetrics.net
|
||||
0.0.0.0 uk-script.dotmetrics.net
|
||||
0.0.0.0 onebauer.media
|
||||
0.0.0.0 cdn.onebauer.media
|
||||
0.0.0.0 privacy-mgmt.com
|
||||
0.0.0.0 cdn.privacy-mgmt.com
|
||||
0.0.0.0 8936704.fls.doubleclick.net
|
||||
0.0.0.0 a.et.nytimes.com
|
||||
0.0.0.0 a.opmnstr.com
|
||||
0.0.0.0 a.pub.network
|
||||
0.0.0.0 a2z.com
|
||||
0.0.0.0 abcnews.hb.omtrdc.net
|
||||
0.0.0.0 abcnews.tt.omtrdc.net
|
||||
0.0.0.0 acdn.adnxs.com
|
||||
0.0.0.0 amazonwebservices.d2.sc.omtrdc.net
|
||||
0.0.0.0 api.boxever.com
|
||||
0.0.0.0 arcpublishing.com
|
||||
0.0.0.0 ascendeum-d.openx.net
|
||||
0.0.0.0 sc.omtrdc.net
|
||||
0.0.0.0 scripttags.justuno.com
|
||||
0.0.0.0 secure-sts-prod.imrworldwide.com
|
||||
0.0.0.0 shynet.rmrm.io
|
||||
0.0.0.0 snigelweb.com
|
||||
0.0.0.0 ssl.widgets.webengage.com
|
||||
0.0.0.0 static.addtoany.com
|
||||
0.0.0.0 static.cloudflareinsights.com
|
||||
0.0.0.0 t.stripe.com
|
||||
0.0.0.0 tag.rmp.rakuten.com
|
||||
0.0.0.0 trapsaminohut.com
|
||||
0.0.0.0 trk.justanswer.com
|
||||
0.0.0.0 u.o0bc.com
|
||||
0.0.0.0 uk-script.dotmetrics.net
|
||||
0.0.0.0 uptime.com
|
||||
0.0.0.0 us-east-1.prod.pw.analytics.console.aws.a2z.com
|
||||
0.0.0.0 userreport.com
|
||||
0.0.0.0 uservoice.com
|
||||
0.0.0.0 vercel-analytics.com
|
||||
0.0.0.0 vitals.vercel-analytics.com
|
||||
0.0.0.0 vms.boldchat.com
|
||||
0.0.0.0 vo.msecnd.net
|
||||
0.0.0.0 vt.myvisualiq.net
|
||||
0.0.0.0 websites.cdn.getfeedback.com
|
||||
0.0.0.0 widget.intercom.io
|
||||
0.0.0.0 widget.uservoice.com
|
||||
0.0.0.0 widgets.webengage.com
|
||||
0.0.0.0 wmff.warnermediacdn.com
|
||||
0.0.0.0 www.datadoghq-browser-agent.com
|
||||
0.0.0.0 www.fastly-insights.com
|
||||
0.0.0.0 www.increaserev.com
|
||||
0.0.0.0 www.npttech.com
|
||||
0.0.0.0 www.stack-sonar.com
|
||||
|
||||
# www.qatarairways.com
|
||||
0.0.0.0 smetrics.qatarairways.com
|
||||
0.0.0.0 qatarairways.tt.omtrdc.net
|
||||
0.0.0.0 api.boxever.com
|
||||
|
||||
# openstax.org
|
||||
0.0.0.0 js.pulseinsights.com
|
||||
|
||||
# www.pulseinsights.com
|
||||
0.0.0.0 cmp.osano.com
|
||||
|
||||
# www.osano.com
|
||||
0.0.0.0 snap.licdn.com
|
||||
|
||||
# www.litcharts.com
|
||||
0.0.0.0 cdn.rollbar.com
|
||||
0.0.0.0 api.rollbar.com
|
||||
0.0.0.0 quantcast.mgr.consensu.org
|
||||
|
||||
# www.quizexpo.com
|
||||
0.0.0.0 demand.supply
|
||||
0.0.0.0 live.demand.supply
|
||||
|
||||
# america.aljazeera.com
|
||||
0.0.0.0 cdn.gigya.com
|
||||
|
||||
# www.cplusplus.com
|
||||
0.0.0.0 cloud.setupad.com
|
||||
0.0.0.0 node.setupad.com
|
||||
0.0.0.0 prebid-stag.setupad.net
|
||||
0.0.0.0 vendorlist.consensu.org
|
||||
|
||||
# www.jstor.org
|
||||
0.0.0.0 ja.jstor.org
|
||||
|
||||
# brilliant.org
|
||||
0.0.0.0 in.brilliant.org
|
||||
|
||||
# artixlinux.org
|
||||
0.0.0.0 stats.artixlinux.org
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "shady-hosts",
|
||||
"description": "Analytics, ad, and activity monitoring hosts",
|
||||
"homeurl": "https://github.com/shreyasminocha/shady-hosts",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/shreyasminocha/shady-hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts",
|
||||
"license": "CC0-1.0"
|
||||
}
|
||||
+214
-67
File diff suppressed because it is too large
Load Diff
+19
-3
@@ -1,4 +1,3 @@
|
||||
0.0.0.0 www.cyber-ad01.cc
|
||||
0.0.0.0 100234.advision-adnw.jp
|
||||
0.0.0.0 100291.adnico.jp
|
||||
0.0.0.0 100602.advision-adnw.jp
|
||||
@@ -307,6 +306,7 @@
|
||||
0.0.0.0 ads.mediams.mb.softbank.jp
|
||||
0.0.0.0 ads.mediasmart.es
|
||||
0.0.0.0 ads.metropolis.co.jp
|
||||
0.0.0.0 ads.missena.io
|
||||
0.0.0.0 ads.mixi.jp
|
||||
0.0.0.0 ads.mopub.com
|
||||
0.0.0.0 ads.mp.mydas.mobi
|
||||
@@ -356,6 +356,7 @@
|
||||
0.0.0.0 adtechjp.com
|
||||
0.0.0.0 adticker.net
|
||||
0.0.0.0 adtilt.com
|
||||
0.0.0.0 adtrack.appcpi.net
|
||||
0.0.0.0 adtrack.king.com
|
||||
0.0.0.0 adtracker.inmobi.com
|
||||
0.0.0.0 adtracker.jp
|
||||
@@ -434,9 +435,13 @@
|
||||
0.0.0.0 an.mainichi.jp
|
||||
0.0.0.0 ana2.tatsumi-sys.jp
|
||||
0.0.0.0 analysiswebtool.com
|
||||
0.0.0.0 analytics-ingress-global.bitmovin.com
|
||||
0.0.0.0 analytics.cocolog-nifty.com
|
||||
0.0.0.0 analytics.global.sky.com
|
||||
0.0.0.0 analytics.grupogodo.com
|
||||
0.0.0.0 analytics.ooyala.com
|
||||
0.0.0.0 analytics.qlook.net
|
||||
0.0.0.0 analytics.sleeknote.com
|
||||
0.0.0.0 analyzer.fc2.com
|
||||
0.0.0.0 analyzer2.fc2.com
|
||||
0.0.0.0 analyzer5.fc2.com
|
||||
@@ -450,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
|
||||
@@ -491,12 +495,14 @@
|
||||
0.0.0.0 api.uca.cloud.unity3d.com
|
||||
0.0.0.0 api.unthem.com
|
||||
0.0.0.0 api.webpush.jp
|
||||
0.0.0.0 apiadapter.ad5track.com
|
||||
0.0.0.0 aplkp.valuecommerce.com
|
||||
0.0.0.0 app-adforce.jp
|
||||
0.0.0.0 app-c.net
|
||||
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
|
||||
@@ -754,7 +760,6 @@
|
||||
0.0.0.0 chibauni.com
|
||||
0.0.0.0 chikayo-dsp.shinobi.jp
|
||||
0.0.0.0 ciltbakimiveguzellik.com
|
||||
0.0.0.0 cint.com
|
||||
0.0.0.0 ck.jp.ap.valuecommerce.com
|
||||
0.0.0.0 ck.storematch.jp
|
||||
0.0.0.0 cleaningmovies.analytics.qlook.net
|
||||
@@ -941,6 +946,7 @@
|
||||
0.0.0.0 erotube69.pw
|
||||
0.0.0.0 et.w.inmobi.com
|
||||
0.0.0.0 etc.atja.jp
|
||||
0.0.0.0 eu-track.inside-graph.com
|
||||
0.0.0.0 eurocentrichandbags.com
|
||||
0.0.0.0 evelynswonderland.com
|
||||
0.0.0.0 events.appsflyer.com
|
||||
@@ -989,6 +995,7 @@
|
||||
0.0.0.0 g2.072m.com
|
||||
0.0.0.0 g2.gumgum.com
|
||||
0.0.0.0 gad.shinobi.jp
|
||||
0.0.0.0 gameanalysis.appcpi.net
|
||||
0.0.0.0 gamefeat.net
|
||||
0.0.0.0 gamewallet.jp
|
||||
0.0.0.0 gardeningst.men
|
||||
@@ -1382,6 +1389,7 @@
|
||||
0.0.0.0 mb-click.jp
|
||||
0.0.0.0 mcgm.sakura.ne.jp
|
||||
0.0.0.0 mcnt.jp
|
||||
0.0.0.0 mctd22d-xfy4kdg18w8cmd9bvhsq.device.marketingcloudapis.com
|
||||
0.0.0.0 md.m-space.jp
|
||||
0.0.0.0 mdn2015x1.com
|
||||
0.0.0.0 mdpl-jp.com
|
||||
@@ -1460,6 +1468,7 @@
|
||||
0.0.0.0 mxvp-feature-toggle-prod-1.zenmxapps.com
|
||||
0.0.0.0 my-softbank-jp.com
|
||||
0.0.0.0 my.mobfox.com
|
||||
0.0.0.0 mybbc-analytics.files.bbci.co.uk
|
||||
0.0.0.0 mybgbgclojp.com
|
||||
0.0.0.0 mycdn2.co
|
||||
0.0.0.0 mydas.mobi
|
||||
@@ -1610,6 +1619,7 @@
|
||||
0.0.0.0 projectpoi.com
|
||||
0.0.0.0 promotionalads.yahoo.co.jp
|
||||
0.0.0.0 proparm.jp
|
||||
0.0.0.0 propeller-tracking.com
|
||||
0.0.0.0 prscripts.com
|
||||
0.0.0.0 ps-jp.amazon-adsystem.com
|
||||
0.0.0.0 ps-us.amazon-adsystem.com
|
||||
@@ -1752,6 +1762,7 @@
|
||||
0.0.0.0 s11.j-a-net.jp
|
||||
0.0.0.0 s13.j-a-net.jp
|
||||
0.0.0.0 s2.nend.net
|
||||
0.0.0.0 s3-analytics-events.easybrain.com
|
||||
0.0.0.0 s3.buysellads.com
|
||||
0.0.0.0 s3.mobile.val.jp
|
||||
0.0.0.0 s7.addthis.com
|
||||
@@ -1977,11 +1988,15 @@
|
||||
0.0.0.0 track.richmediaads.com
|
||||
0.0.0.0 track.somewrite.jp
|
||||
0.0.0.0 track.tenjin.io
|
||||
0.0.0.0 tracker.bt.uol.com.br
|
||||
0.0.0.0 tracker.iws.vc
|
||||
0.0.0.0 tracker.kantan-access.com
|
||||
0.0.0.0 tracker.mca-analytics.com
|
||||
0.0.0.0 tracker.publico.pt
|
||||
0.0.0.0 tracker.remp.impresa.pt
|
||||
0.0.0.0 trackfeed.com
|
||||
0.0.0.0 tracking-server-prod-1.zenmxapps.com
|
||||
0.0.0.0 tracking.yohoads.com
|
||||
0.0.0.0 trackword.net
|
||||
0.0.0.0 tradedoubler.com
|
||||
0.0.0.0 traffic-staff.com
|
||||
@@ -2086,6 +2101,7 @@
|
||||
0.0.0.0 www.buzzimpress.jp
|
||||
0.0.0.0 www.clicksgear.com
|
||||
0.0.0.0 www.clicktx.jp
|
||||
0.0.0.0 www.cyber-ad01.cc
|
||||
0.0.0.0 www.doubleclick.ne.jp
|
||||
0.0.0.0 www.g-af.com
|
||||
0.0.0.0 www.gamefeat.net
|
||||
|
||||
+186
-94
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+8797
-6275
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
|
||||
@@ -14455,3 +14454,170 @@
|
||||
0.0.0.0 sakuracircle.com
|
||||
0.0.0.0 www.redgifs.com
|
||||
0.0.0.0 monova.org
|
||||
0.0.0.0 alphaporno.com
|
||||
0.0.0.0 analdin.com
|
||||
0.0.0.0 anysex.com
|
||||
0.0.0.0 apornstories.com
|
||||
0.0.0.0 ashemaletube.com
|
||||
0.0.0.0 bemyhole.com
|
||||
0.0.0.0 bestfreetube.xxx
|
||||
0.0.0.0 bigfuck.tv
|
||||
0.0.0.0 bravoteens.com
|
||||
0.0.0.0 de.xhamster.com
|
||||
0.0.0.0 dirtypornvids.com
|
||||
0.0.0.0 fantasti.cc
|
||||
0.0.0.0 gotporn.com
|
||||
0.0.0.0 hdsex.org
|
||||
0.0.0.0 hog.tv
|
||||
0.0.0.0 keekass.com
|
||||
0.0.0.0 onlylesbiantube.com
|
||||
0.0.0.0 porn.biz
|
||||
0.0.0.0 porngo.com
|
||||
0.0.0.0 pornkai.com
|
||||
0.0.0.0 shemale.movie
|
||||
0.0.0.0 shemalez.com
|
||||
0.0.0.0 tranny.one
|
||||
0.0.0.0 upornia.com
|
||||
0.0.0.0 videos.apornstories.com
|
||||
0.0.0.0 videosection.com
|
||||
0.0.0.0 xxxfiles.com
|
||||
0.0.0.0 bustyporn.com
|
||||
0.0.0.0 realpornclip.com
|
||||
0.0.0.0 xxxtor.com
|
||||
0.0.0.0 www.pornorip.biz
|
||||
0.0.0.0 pornotor.org
|
||||
0.0.0.0 pornolive.org
|
||||
0.0.0.0 pornleech.io
|
||||
0.0.0.0 pornforall.net
|
||||
0.0.0.0 nyaa.net
|
||||
0.0.0.0 www.sexy-pics.us
|
||||
0.0.0.0 onejav.com
|
||||
0.0.0.0 bbw-chan.nl
|
||||
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
|
||||
@@ -42,6 +52,7 @@
|
||||
0.0.0.0 gfporntube.com
|
||||
0.0.0.0 hairytubeporno.com
|
||||
0.0.0.0 hakusuiriki.tv
|
||||
0.0.0.0 hentaihand.com
|
||||
0.0.0.0 hentaipornpics.net
|
||||
0.0.0.0 hipup.net
|
||||
0.0.0.0 hitozumagazo.com
|
||||
@@ -53,6 +64,28 @@
|
||||
0.0.0.0 idolzone.blog137.fc2.com
|
||||
0.0.0.0 inaka.x.fc2.com
|
||||
0.0.0.0 jams.kir.jp
|
||||
0.0.0.0 japanesefuckers.com
|
||||
0.0.0.0 jav.land
|
||||
0.0.0.0 javbulk.com
|
||||
0.0.0.0 javbuz.com
|
||||
0.0.0.0 javengsub.com
|
||||
0.0.0.0 javfinder.la
|
||||
0.0.0.0 javfree.biz
|
||||
0.0.0.0 javhay.net
|
||||
0.0.0.0 javhdmovies.com
|
||||
0.0.0.0 javhihi.me
|
||||
0.0.0.0 javhub.me
|
||||
0.0.0.0 javladies.com
|
||||
0.0.0.0 javmodel.com
|
||||
0.0.0.0 javpedia.org
|
||||
0.0.0.0 javpool.com
|
||||
0.0.0.0 javrave.club
|
||||
0.0.0.0 javsun.net
|
||||
0.0.0.0 javupdatedaily.blogspot.com
|
||||
0.0.0.0 javwide.tv
|
||||
0.0.0.0 javx.cc
|
||||
0.0.0.0 javxspot.com
|
||||
0.0.0.0 javxxxvideos.com
|
||||
0.0.0.0 javynow.com
|
||||
0.0.0.0 jitsuroku.kir.jp
|
||||
0.0.0.0 jkdaisuki.ad55.net
|
||||
@@ -60,6 +93,7 @@
|
||||
0.0.0.0 live.fc2.com
|
||||
0.0.0.0 lolip.org
|
||||
0.0.0.0 magopro2.ero-spo.com
|
||||
0.0.0.0 manhwa18.com
|
||||
0.0.0.0 mankist.com
|
||||
0.0.0.0 marrion-av.com
|
||||
0.0.0.0 megaporn.blogspot.es
|
||||
@@ -69,6 +103,7 @@
|
||||
0.0.0.0 mutekiya.net
|
||||
0.0.0.0 mvideoporno.xxx
|
||||
0.0.0.0 nadeshiko.tv
|
||||
0.0.0.0 nekopoi.care
|
||||
0.0.0.0 newero1.blog.fc2.com
|
||||
0.0.0.0 news.tokimeki-s.com
|
||||
0.0.0.0 niccori.jp
|
||||
@@ -98,14 +133,18 @@
|
||||
0.0.0.0 sportseye.muvc.net
|
||||
0.0.0.0 ssl.ktfactory.co.jp
|
||||
0.0.0.0 star-porn.ml
|
||||
0.0.0.0 summertimesaga.com
|
||||
0.0.0.0 suppinpin.com
|
||||
0.0.0.0 surebbs.ranks1.apserver.net
|
||||
0.0.0.0 svjav.com
|
||||
0.0.0.0 switch1.jp
|
||||
0.0.0.0 teatroporno.com
|
||||
0.0.0.0 teppan-av.com
|
||||
0.0.0.0 top.togeko.net
|
||||
0.0.0.0 toujyuku.ranks1.apserver.net
|
||||
0.0.0.0 tousatu-douga-youpeeber.com
|
||||
0.0.0.0 ukrafoto.com
|
||||
0.0.0.0 unjav.com
|
||||
0.0.0.0 venus-av.com
|
||||
0.0.0.0 veporns.com
|
||||
0.0.0.0 vipcle2.com
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hosts",
|
||||
"version": "2.6.25",
|
||||
"version": "3.3.0",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -21,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: **June 27 2020**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 57,294 entries.
|
||||
* Last updated: **December 31 2020**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 58,459 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
@@ -36,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,294 | [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,236 | [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) | 59,618 | [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) | 76,857 | [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,051 | [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,560 | [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) | 77,799 | [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) | 60,993 | [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,181 | [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,375 | [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) | 79,613 | [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,123 | [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,317 | [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) | 80,555 | [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) | 81,937 | [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) | 82,879 | [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,459 | [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,654 | [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,783 | [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,518 | [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) | 61,218 | [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,978 | [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,713 | [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,413 | [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,842 | [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,542 | [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,276 | [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) | 85,037 | [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,737 | [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,471 | [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,600 | [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,795 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -72,9 +73,10 @@ add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
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)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
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)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
@@ -94,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:
|
||||
|
||||
@@ -104,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
|
||||
@@ -115,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]
|
||||
```
|
||||
@@ -187,15 +208,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -245,8 +269,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -360,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:
|
||||
@@ -445,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.
|
||||
@@ -459,6 +477,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+40
-21
@@ -1,7 +1,8 @@
|
||||
----
|
||||
**Take Note!**
|
||||
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
|
||||
* This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
* With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
|
||||
----
|
||||
|
||||

|
||||
@@ -62,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:
|
||||
|
||||
@@ -72,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
|
||||
@@ -83,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]
|
||||
```
|
||||
@@ -155,15 +175,18 @@ to remove hosts from the generated hosts file.
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
```haskell
|
||||
networking.extraHosts = let
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
|
||||
@@ -213,8 +236,7 @@ If you discover sketchy domains you feel should be included here, here are some
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
@@ -328,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:
|
||||
@@ -413,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.
|
||||
@@ -427,6 +444,8 @@ devices under a variety of operating systems.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
lxml>=4.2.4
|
||||
beautifulsoup4>=4.6.1
|
||||
requests>=2.20
|
||||
flake8>=3.8,<=4.0
|
||||
|
||||
+56
-120
@@ -8,6 +8,7 @@
|
||||
import json
|
||||
import locale
|
||||
import os
|
||||
import platform
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
@@ -16,6 +17,8 @@ import unittest
|
||||
import unittest.mock as mock
|
||||
from io import BytesIO, StringIO
|
||||
|
||||
import requests
|
||||
|
||||
import updateHostsFile
|
||||
from updateHostsFile import (
|
||||
Colors,
|
||||
@@ -62,6 +65,8 @@ class Base(unittest.TestCase):
|
||||
|
||||
@property
|
||||
def sep(self):
|
||||
if platform.system().lower() == "windows":
|
||||
return "\\"
|
||||
return os.sep
|
||||
|
||||
def assert_called_once(self, mock_method):
|
||||
@@ -473,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):
|
||||
@@ -487,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
|
||||
|
||||
@@ -1122,12 +1121,13 @@ class TestUpdateReadmeData(BaseMockDir):
|
||||
)
|
||||
update_readme_data(self.readme_file, **kwargs)
|
||||
|
||||
if platform.system().lower() == "windows":
|
||||
sep = "/"
|
||||
else:
|
||||
sep = self.sep
|
||||
|
||||
expected = {
|
||||
"base": {
|
||||
"location": "foo" + self.sep,
|
||||
"sourcesdata": "hosts",
|
||||
"entries": 5,
|
||||
},
|
||||
"base": {"location": "foo" + sep, "sourcesdata": "hosts", "entries": 5},
|
||||
"foo": "bar",
|
||||
}
|
||||
|
||||
@@ -1144,8 +1144,13 @@ class TestUpdateReadmeData(BaseMockDir):
|
||||
)
|
||||
update_readme_data(self.readme_file, **kwargs)
|
||||
|
||||
if platform.system().lower() == "windows":
|
||||
sep = "/"
|
||||
else:
|
||||
sep = self.sep
|
||||
|
||||
expected = {
|
||||
"base": {"location": "foo" + self.sep, "sourcesdata": "hosts", "entries": 5}
|
||||
"base": {"location": "foo" + sep, "sourcesdata": "hosts", "entries": 5}
|
||||
}
|
||||
|
||||
with open(self.readme_file, "r") as f:
|
||||
@@ -1164,12 +1169,13 @@ class TestUpdateReadmeData(BaseMockDir):
|
||||
)
|
||||
update_readme_data(self.readme_file, **kwargs)
|
||||
|
||||
if platform.system().lower() == "windows":
|
||||
sep = "/"
|
||||
else:
|
||||
sep = self.sep
|
||||
|
||||
expected = {
|
||||
"com-org": {
|
||||
"location": "foo" + self.sep,
|
||||
"sourcesdata": "hosts",
|
||||
"entries": 5,
|
||||
}
|
||||
"com-org": {"location": "foo" + sep, "sourcesdata": "hosts", "entries": 5}
|
||||
}
|
||||
|
||||
with open(self.readme_file, "r") as f:
|
||||
@@ -1324,7 +1330,7 @@ class TestFlushDnsCache(BaseStdout):
|
||||
self.assertIn(expected, output)
|
||||
|
||||
@mock.patch("os.path.isfile", side_effect=[True, False, False, True] + [False] * 10)
|
||||
@mock.patch("subprocess.call", side_effect=[1, 0])
|
||||
@mock.patch("subprocess.call", side_effect=[1, 0, 0])
|
||||
def test_flush_posix_fail_then_succeed(self, *_):
|
||||
with self.mock_property("platform.system") as obj:
|
||||
obj.return_value = "Linux"
|
||||
@@ -1402,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)
|
||||
@@ -1577,7 +1512,7 @@ class DomainToIDNA(Base):
|
||||
|
||||
self.assertEqual(actual, expected)
|
||||
|
||||
# Test with multiple space as seprator of domain and space and
|
||||
# Test with multiple space as separator of domain and space and
|
||||
# tabulation as separator or comments.
|
||||
for i in range(len(self.domains)):
|
||||
data = (b"0.0.0.0 " + self.domains[i] + b" \t # Hello World").decode(
|
||||
@@ -1589,7 +1524,7 @@ class DomainToIDNA(Base):
|
||||
|
||||
self.assertEqual(actual, expected)
|
||||
|
||||
# Test with multiple tabulations as seprator of domain and space and
|
||||
# Test with multiple tabulations as separator of domain and space and
|
||||
# tabulation as separator or comments.
|
||||
for i in range(len(self.domains)):
|
||||
data = (b"0.0.0.0\t\t\t" + self.domains[i] + b" \t # Hello World").decode(
|
||||
@@ -1612,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)
|
||||
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))
|
||||
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))
|
||||
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))
|
||||
|
||||
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):
|
||||
|
||||
+36
-21
@@ -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)
|
||||
@@ -1293,6 +1296,7 @@ def flush_dns_cache():
|
||||
|
||||
system_prefixes = ["/usr", ""]
|
||||
service_types = ["NetworkManager", "wicd", "dnsmasq", "networking"]
|
||||
restarted_services = []
|
||||
|
||||
for system_prefix in system_prefixes:
|
||||
systemctl = system_prefix + "/bin/systemctl"
|
||||
@@ -1300,18 +1304,25 @@ def flush_dns_cache():
|
||||
|
||||
for service_type in service_types:
|
||||
service = service_type + ".service"
|
||||
if service in restarted_services:
|
||||
continue
|
||||
|
||||
service_file = path_join_robust(system_dir, service)
|
||||
service_msg = (
|
||||
"Flushing the DNS cache by restarting " + service + " {result}"
|
||||
)
|
||||
|
||||
if os.path.isfile(service_file):
|
||||
if 0 != subprocess.call([systemctl, "status", service],
|
||||
stdout=subprocess.DEVNULL):
|
||||
continue
|
||||
dns_cache_found = True
|
||||
|
||||
if subprocess.call(SUDO + [systemctl, "restart", service]):
|
||||
print_failure(service_msg.format(result="failed"))
|
||||
else:
|
||||
print_success(service_msg.format(result="succeeded"))
|
||||
restarted_services.append(service)
|
||||
|
||||
dns_clean_file = "/etc/init.d/dns-clean"
|
||||
dns_clean_msg = "Flushing the DNS cache via dns-clean executable {result}"
|
||||
@@ -1461,33 +1472,37 @@ def maybe_copy_example_file(file_path):
|
||||
shutil.copyfile(example_file_path, file_path)
|
||||
|
||||
|
||||
def get_file_by_url(url):
|
||||
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.
|
||||
"""
|
||||
|
||||
try:
|
||||
f = urlopen(url)
|
||||
soup = BeautifulSoup(f.read(), "lxml").get_text()
|
||||
return "\n".join(list(map(domain_to_idna, soup.split("\n"))))
|
||||
except Exception:
|
||||
print("Problem getting file: ", url)
|
||||
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