News for hackers. Stuff that matters.
Re:I Use Zip Bombs to Protect My Server by M95D on Wednesday April 30, 2025 @04:25AM (#43842539)
Could server-side includes be used for a html bomb?

Write an ordinary static html page and fill a <p> with infinite random data using <!--#include file="/dev/random"-->.

or would that crash the server?

Re:I Use Zip Bombs to Protect My Server by GTP on Wednesday April 30, 2025 @06:50AM (#43843392)
I guess it depends on the server's implementation. but, since you need some logic to decide when to serve the html bomb anyway, I don't see why you would prefer this solution. Just use whatever script you're using to detect the bots to serve the bomb.
Re:I Use Zip Bombs to Protect My Server by M95D on Wednesday April 30, 2025 @08:02AM (#43844000)
No other scripts. Hide the link to the bomb behind an image so humans can't click it.
Re:I Use Zip Bombs to Protect My Server by scoodah on Thursday May 01, 2025 @02:22AM (#43854265)
My first thought is how this would interact with things like screen readers and other accessibility devices
Re:I Use Zip Bombs to Protect My Server by ku1ik on Thursday May 01, 2025 @04:31AM (#43855022)
Don’t screen readers ignore invisible text/links?