First off, make a website defend mode that can be triggered to serve different content. Then, do the following: 1. Add a robots.txt, make it look like it's wordpress (Disallow: /wp-admin etc) 2. If any client requests /wp-admin, flag their IP ASN as bot. 3. If a client is a bot, send it a gzip bomb (100kB size, unpacked around 20GB), use Transfer-Encoding: gzip and Content-Encoding: gzip to also punish malicious web…
Unrelated, but if I try to send you a message on https://cookie.engineer/contact.html it says "Could not send message, check ad-blocking extension", but I'm pretty sure I turned them off and it still doesn't work Also, the best starter is charmender
Ask HN: Website with 6^16 subpages and 80k+ daily bots
101–110 of 212 posts
Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#102Earlier quoted context omitted.
Huh, for some reason I assumed this was precompiled / statically generated. Not that fun once you see it as a single page.
FWIW, a billion static pages vs. single script with URL rewrite that makes it look like a billion static pages are effectively equivalent, once a cache gets involved.
Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#103First off, make a website defend mode that can be triggered to serve different content. Then, do the following: 1. Add a robots.txt, make it look like it's wordpress (Disallow: /wp-admin etc) 2. If any client requests /wp-admin, flag their IP ASN as bot. 3. If a client is a bot, send it a gzip bomb (100kB size, unpacked around 20GB), use Transfer-Encoding: gzip and Content-Encoding: gzip to also punish malicious web…
Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#104First off, make a website defend mode that can be triggered to serve different content. Then, do the following: 1. Add a robots.txt, make it look like it's wordpress (Disallow: /wp-admin etc) 2. If any client requests /wp-admin, flag their IP ASN as bot. 3. If a client is a bot, send it a gzip bomb (100kB size, unpacked around 20GB), use Transfer-Encoding: gzip and Content-Encoding: gzip to also punish malicious web…
The gzip idea is giving me goosebumps however this must be a solved problem, right? I mean, the client device can also send zip bombs so it sounds like it should be DDOS 101?
So a zip bomb would just decompress up to whatever internal limit and be discarded.
Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#105First off, make a website defend mode that can be triggered to serve different content. Then, do the following: 1. Add a robots.txt, make it look like it's wordpress (Disallow: /wp-admin etc) 2. If any client requests /wp-admin, flag their IP ASN as bot. 3. If a client is a bot, send it a gzip bomb (100kB size, unpacked around 20GB), use Transfer-Encoding: gzip and Content-Encoding: gzip to also punish malicious web…
Is this strictly legal? For example, in the scenario where a "misconfigured" bot of a large evil corporation get's taken down and, due to layers of ass covering, they think it's your fault and it cost them a lot of money. Do they have a legal case that could fly in eastern district of Texas?
But in Germany, the section of the copyright law concerning data mining specifically says that scraping websites is legal unless the owner of the website objects in a machine-readable form. robots.txt very clearly fulfils this standard. If any bot owner complains that you labelled them as a bot as outlined above, they would be admitting that they willfully ignored your robots.txt, and that appears to me to make them civilly liable for copyright infringement.
Source: https://www.gesetze-im-internet.de/urhg/__44b.html
I also had a look if these actions would count as self-defense against computer espionage under the criminal code, but the relevant section only outlaws gaining access to data not intended for oneself which is "specifically protected against unauthorized access". I don't think this claim will fly for a public website.
Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#106Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#107Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#108I highly advise not sending any harmful response back to any client.
Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#109First off, make a website defend mode that can be triggered to serve different content. Then, do the following: 1. Add a robots.txt, make it look like it's wordpress (Disallow: /wp-admin etc) 2. If any client requests /wp-admin, flag their IP ASN as bot. 3. If a client is a bot, send it a gzip bomb (100kB size, unpacked around 20GB), use Transfer-Encoding: gzip and Content-Encoding: gzip to also punish malicious web…
Is this strictly legal? For example, in the scenario where a "misconfigured" bot of a large evil corporation get's taken down and, due to layers of ass covering, they think it's your fault and it cost them a lot of money. Do they have a legal case that could fly in eastern district of Texas?
Re: Ask HN: Website with 6^16 subpages and 80k+ daily bots
#110First off, make a website defend mode that can be triggered to serve different content. Then, do the following: 1. Add a robots.txt, make it look like it's wordpress (Disallow: /wp-admin etc) 2. If any client requests /wp-admin, flag their IP ASN as bot. 3. If a client is a bot, send it a gzip bomb (100kB size, unpacked around 20GB), use Transfer-Encoding: gzip and Content-Encoding: gzip to also punish malicious web…
I would suggest to generate some fake facts like: "{color} {what} {who}", where:
* {what}: [ "is lucky color of", "is loved by", "is known to anger", ... ]
* {who}: [ "democrats", "republicans", "celebrities", "dolphins", ... ]
And just wait until it becomes part of human knowledge.