Be VERY careful what gets posted.! Too many freaks in this world.
Alternatively, the script can be obtained from my NotABug-Repo. It contains very brief instructions. It really is the same exact script, but with some minor changes to it. You can take a glance at it here.This is the current list i'm using myself on 2 machines Note: If you don't know, what the script does or you are unsure of some commands in there, you probably don't want to use it. Random scripts from the internet can be dangerous and you should use them with care ( = only if you EXACTLY know, what they do).
#!/bin/bash# Credits to "Ben" (Administrator) from CupOfLinux.# This is going to backup our hosts file.if [ ! -f ~/.hostsbackup ]thencp /etc/hosts ~/.hostsbackupfi# Temp directory stuff.Selfdestructinghosts=$(mktemp)Selfdestructinghosts2=$(mktemp)# Get some blocker lists and add to our existing /etc/hosts file.wget -O - https://raw.githubusercontent.com/disconnectme/disconnect/b27abbf033c6f80f157fe9d98cb767c87065fbf4/firefox/content/disconnect.safariextension/opera/chrome/scripts/data.js >> $Selfdestructinghostswget -O - https://easylist-downloads.adblockplus.org/easylist.txt >> $Selfdestructinghostswget -O - https://easylist-downloads.adblockplus.org/easyprivacy.txt >> $Selfdestructinghostswget -O - https://easylist-downloads.adblockplus.org/antiadblockfilters.txt >> $Selfdestructinghostswget -O - https://easylist-downloads.adblockplus.org/fanboy-annoyance.txt >> $Selfdestructinghostswget -O - https://easylist-downloads.adblockplus.org/fanboy-social.txt >> $Selfdestructinghostswget -O - http://winhelp2002.mvps.org/hosts.txt >> $Selfdestructinghostswget -O - http://hosts-file.net/ad_servers.asp >> $Selfdestructinghostswget -O - http://someonewhocares.org/hosts/hosts >> $Selfdestructinghosts#wget -O - https://easylist-downloads.adblockplus.org/malwaredomains_full.txt >> $Selfdestructinghostssed -e 's/\r//' -e '/^0.0.0.0/!d' -e '/localhost/d' -e 's/0.0.0.0/0.0.0.0/' -e 's/ \+/\t/' -e 's/#.*$//' -e 's/[ \t]*$//' < $Selfdestructinghosts | sort -u > $Selfdestructinghosts2#Create a master hosts file.echo -e "\n#Hostslist created "$(date) | cat ~/.hostsbackup - $Selfdestructinghosts2 > ~/.newblocklist# Cleaning.rm -rf $Selfdestructinghosts $Selfdestructinghosts2# Replace current /etc/hosts with our new one.cp ~/.newblocklist /etc/hosts