[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1745965579019600.png (157 KB, 512x512)
157 KB
157 KB PNG
Can someone explain to me how these PoW protections work? So a user enters a website and then the browser calculates a hash and the server verifies it and sets a cookie? But how does the server know the correct hash? Does it also need to calculate them all? Doesn't this put a lot of extra load on the server?
>>
>>107505118
the way it actually works is a cute brown anime girl looks at you through your web cam to make sure you're not a bot
>>
They show a gay anime drawing to humans and prevent you from visiting a site if you block JS. For actual bots they never see it bc they just scrape past it. It is nothing but a gay drawing viewer.
>>
>>107505214
i hate how it doesnt save cookies and niggers up all the urls
>>
>>107505118
>But how does the server know the correct hash? Does it also need to calculate them all?
The server doesn’t know the correct hash in advance and it doesn’t need to compute all possible hashes. It simply creates a signed challenge and sends it to the browser. The browser then brute-forces a nonce until the hash of challenge plus nonce meets the difficulty target. When the browser sends back its proposed nonce, the server performs just one cheap check: recompute that single hash and confirm it satisfies the target and that the challenge is valid. Because the client already did the expensive search, the server only verifies one candidate instead of calculating every possible hash.
>>
>>107505267
That makes sense, thanks
>>
File: smug.png (506 KB, 1024x1024)
506 KB
506 KB PNG
>>107505267
Now I'm talking Nonce-sense.
>>
>>107505267
stop calling me nonce
>>
File: cute.png (448 KB, 1024x1024)
448 KB
448 KB PNG
Seriously one of the cutest mascots ever. My heart jumps whenever I load up a page and she greets me.
I use the "powersave" CPU frequency scaling governor now in the hopes that the challenges take longer to process so I get to see her for just a little bit longer.
>>
The hash calculation explanation doesn't make sense, scraper bots are running on Xeons and Epycs in datacenters with multi gigabit links that can do hashing really fast.
>>
>>107505947
smug brat
>>
>>107506563
and they want to scrape much more content than you could ever see in thousands of your lifetimes
see how fast that scales???



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.