Sure, this could be attacked - but not at scale, and that's the whole point of the capchta anyway, right?
Sure, this could be attacked - but not at scale, and that's the whole point of the capchta anyway, right?
CloudFlare does have a JS-only challenge, which presumably does this type of thing, but this has a couple different problems. From a security perspective, you're executing arbitrary software, which is unwise, especially if you're looking for anonymity. The other issue is that the software is also proprietary.
https://support.cloudflare.com/hc/en-us/articles/204191238-W...
"During a JavaScript challenge you will be shown an interstitial page for about five seconds while CloudFlare performs a series of mathematical challenges to make sure it is a legitimate human visitor."
Related: I have started trying to get into contact with webmasters of sites that enable JS Challenges; my template is at the bottom of this page; it'd be great if others could do the same:
https://gitlab.com/mikegerwitz/dotfiles/blob/master/emacs.d/...
Interestingly, while a javascript calculation might leak more information to CloudFlare (since they might collect other info beseides the result of a proof-of-work function), it would probably leak less to anyone trying to analyze tor traffic from the outside? Seems to me like it would be harder to correlate the two ends of the tor circuit.
Considering that they allow it without JS enabled, I wonder why they'd need any requests at all.
They have a non-JS version, too.
Ok, so you could differentiate the work for User-Agent, but then one could spoof user-agent to get less work. Going this route is not gonna be simple.
It's fine for my purposes, because I have no dedicated adversaries to combat, just occasional small-time spammers. But CloudFlare has a tougher time.