In this post I am simply doing an update to the ‘THELIST.txt’ file which is essentially a blacklist of web servers that are ad servers or have been found to be malicious. I have added more servers (mostly ad web servers). The file is accessible here:
SHA1 (THENEWLIST.txt) = 02a2e93167f680a09f5047ef1b081483b680bfde
You can then download this file and append the output of ‘THENEWLIST.txt” to your hosts file.
For Microsoft Windows you will most likely have to do the following:
1.) iexplore http://zitstif.no-ip.org/THENEWLIST.txt
2.) Save the file to a location
3.) Run CMD.exe as an Administrator
4.) ‘cd’ to the directory where you saved ‘THENEWLIST.txt’
5.) Execute the following command: attrib -R C:\WINDOWS\system32\drivers\etc\hosts
6.) Then execute this command: type THENEWLIST.txt >> C:\WINDOWS\system32\drivers\etc\hosts
7.) Execute the following command: attrib +R C:\WINDOWS\system32\drivers\etc\hosts
For *nix hosts do:
1.) Gain root via: su or sudo -i
2.) chmod a+rw /etc/hosts
3.) printf “GET /THENEWLIST.txt HTTP/1.0\n\r\n” | nc -vv zitstif.no-ip.org 80 2>&1 | egrep -v ‘HTTP|Apache|Date:|ETag:|Accept-Ranges:|Content-|Connection:|Modified:|Connection’ >> /etc/hosts
4.) chmod a+r/etc/hosts && chmod a-w /etc/hosts
I hope this is useful to you. I think most people would like nearly ad free web browsing. In addition to that, legitimate ad servers have been known to serve up malware:
So by using this file in tandem with the Adblock extension/plugin you can get for Firefox/Google-Chrome, you will be less annoyed by ads and not have to be too concerned about ads serving up malware for you.
If you have any questions, comments, or concerns feel free to contact me.