What started out as a simple way to show how to mass block the sun and all that is evil about them, has quickly turned into a 'how do we block all who use the Internet to spread hatred and lies?'
This is about the infrastructure these publications use to spread their hate. The Domain Name System (DNS) and complex Content Delivery Networks (CDNs) that host and serve.
As time permits, I'll continue to map and explore their vast networks so you can use the info to block them as you see fit.
This is how The Sun newspaper looks on the Internet. Too often, the main domain name isn't the only entity, todays websites consists of many different sub-domains. In order to not see the content they serve, you need to understand all the pieces that make up the puzzle.
For more information as to why, this should help.
- The Sun https://thesun.co.uk
- The Daily Mail https://dailymail.co.uk
- The Daily Express https://dailyexpress.co.uk
- The Telegraph https://telegraph.co.uk
You can either import the CSV files into Pi-Hole, which is a great project to blackhole Internet advertisments, or you can manually edit your hosts file. This is simpler than you think, just follow these steps:
-
The file you want to download is
megahostsfile.txt
, so save this somewhere easily accessible -
Using the search function, search for Notepad.exe. On the right, you'll see 'Run As Administrator', click this
-
The hosts file is located at
C:\**Windows**\System32\drivers\etc\**hosts**
, in Notepad, go to file --> open and navigate to that location. It should look like this
-
Now go back to where you saved the
megahostsfile.txt
and double-click on it. It should open up in Notepad. Copy the entire file. -
In the other Notepad window, you want to paste the contents of
megahostsfile.txt
into it and save it.
What used to look like
Will now look like
Under Mac OS X, follow this guide
Using these blocklists with Pi Hole
Pi Hole is a network-wide Ad blocker for the Raspberry Pi. You can use these lists with the Pi Hole quite easily.
In your Pi Hole Admin Panel (http://yourpihole/admin) browse to Settings and then Blocklists (see below). Then in the text box which states "Enter One URL per line to add new blocklists" add your disired blocklists, separated by a carrage return, before clicking the Save and Update button. You will need to use the $name__web.csv
files with Pi Hole. For example to block The Daily Express, The Daily Mail, The Telegraph and The Sun you would enter:
https://raw.githubusercontent.com/danielcuthbert/thescum/master/dailyexpress_web.csv
https://raw.githubusercontent.com/danielcuthbert/thescum/master/dailymail_web.csv
https://raw.githubusercontent.com/danielcuthbert/thescum/master/telegraph_web.csv
https://raw.githubusercontent.com/danielcuthbert/thescum/master/thesun_web.csv
This should result in the blocklists now appearing in your Pi Hole Blocklist settings as follows:
Sites like this need the support of the global ad and pervasive tracking network. In order to understand who support them, I've started to map who their partners are and this information can be found in the $name_ips_expanded.csv
file. It's more of a work in progress.