Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
evv
· 9mo ago · 0 comments
Have you considered serving a zip bomb to this user agent?
Comments
[–]
delecti
9mo ago
I'm sure their crawler can handle a zip bomb. Plus it might interpret that as "this site doesn't have a robots.txt" and start scraping that OP is trying to prevent with their current robots.txt.
[–]
marginalia_nu
9mo ago
Pretty sure every crawler can. You kinda have to go out of your way not to, given how the gzread API looks.
https://refspecs.linuxbase.org/LSB_3.0.0/LSB-Core-generic/LS...
[–]
1e1a
9mo ago
Could allow only the path to the zip bomb for this user agent.
[–]
FartyMcFarter
9mo ago
That will work once at most and then quickly get fixed.
[–]
xp84
9mo ago
Yeah it seems like this team takes a really tough stance on obvious bugs
[–]
esseph
9mo ago
Are you so sure? :)