News for hackers. Stuff that matters.
Re:Pornhub Bypasses Ad Blockers with WebSockets by rurban on Wednesday November 02, 2016 @11:48AM (#12856022)
pornhub and other sites happily detect my adblocks, but still cannot serve any ads via websockets, because I use a proper /etc/hosts file from http://someonewhocares.org/hosts/zero/
Re:Pornhub Bypasses Ad Blockers with WebSockets by ars on Wednesday November 02, 2016 @01:17PM (#12857097)
If that became a problem for them they would just use an IP address directly instead of a hostname.
Re:Pornhub Bypasses Ad Blockers with WebSockets by rurban on Thursday November 03, 2016 @03:50AM (#12862238)
yes, then my firewall rules will grow significantly :) But then I would be able to use IP masks, as with dnsgate. The hosts file doesn't take wildcards.
Re:Pornhub Bypasses Ad Blockers with WebSockets by jakeogh on Thursday November 03, 2016 @02:38AM (#12862019)
Re:Pornhub Bypasses Ad Blockers with WebSockets by miahi on Wednesday November 02, 2016 @01:10PM (#12857012)
There's also http://www.shallalist.de/ (nicely categorized), I use it with SquidGuard but it can be also be quite easily transformed to a hosts file.
Re:Pornhub Bypasses Ad Blockers with WebSockets by itsmemattchung on Wednesday November 02, 2016 @12:22PM (#12856458)
Whoa, such a simple and effective method by overriding the hosts file. Any idea how this file is kept up-to-date? Presumably new endpoints are constantly being rolled out; I wonder how the author of this file discovers the new hosts.
Re:Pornhub Bypasses Ad Blockers with WebSockets by satbyy on Wednesday November 02, 2016 @01:20PM (#12857125)
I've set up a cronjob to pull the latest hosts file from Steven's aggregated list

https://github.com/StevenBlack/hosts

Re:Pornhub Bypasses Ad Blockers with WebSockets by schmich on Wednesday November 02, 2016 @04:05PM (#12858739)
A couple months ago I put together a Docker image for just this. It's based on dnsmasq and Steven Black's hosts list, and it automatically updates the list daily: https://github.com/schmich/purify

I run it on a cheap Digital Ocean machine, and my home router is setup to forward all DNS traffic to it. Any connected clients, phones included, automatically get the blocking capability.

Re:Pornhub Bypasses Ad Blockers with WebSockets by johnpowell on Wednesday November 02, 2016 @07:06PM (#12860213)
You can email them new stuff and they add it pretty quickly to the list. I have sent in about 20 domains that are mostly mackeeper related and they get added within a few days. The person that cares is really nice and seems to appreciate the help.