1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-08-13 16:53:51 -04:00

another ad list

This commit is contained in:
Jacob Salmela 2014-11-12 14:18:05 -06:00
parent fbc94f6361
commit 8c568445d6

View File

@ -25,6 +25,8 @@ echo "Getting malwaredomainlist ad list..."
curl -s http://www.malwaredomainlist.com/hostslist/hosts.txt | grep -v "#" | sed '/^$/d' | sed 's/\ /\\ /g' | awk '{print $2}' | sort >> /tmp/matter.txt
echo "Getting adblock.gjtech ad list..."
curl -s http://adblock.gjtech.net/?format=unix-hosts | grep -v "#" | sed '/^$/d' | sed 's/\ /\\ /g' | awk '{print $2}' | sort >> /tmp/matter.txt
echo "Getting someone who cares ad list..."
curl -s http://someonewhocares.org/hosts/hosts | grep -v "#" | sed '/^$/d' | sed 's/\ /\\ /g' | awk '{print $2}' >> /tmp/matter.txt
# Sort the aggregated results and remove any duplicates
echo "Sorting and removing duplicates..."