4 ms·
If you nest the gzip inside another gzip it gets even smaller since the blocks of compressed '0' data are themselves low entropy in the first generation gzip. N
by kevin_thibedeau 2y ago
If you nest the gzip inside another gzip it gets even smaller since the blocks of compressed '0' data are themselves low entropy in the first generation gzip. Nested zst reduces the 10G file to 99 bytes.
- galangalalgol 2y agoCan you hand edit to create recursive file structures to make it infinite? I used to use debug in dos to make what appeared to be gigantic floppy discs by editing the fat
- Cloudef 2y agoWouldnt that defeat the attack though as you arent serving the large content anymore
- kevin_thibedeau 2y agoIt would need a bot that is accessing files via hyperlink with an aim to decompress them and riffle through their contents. The compressed file can be delivered over a compressed response to achieve the two layers, cutting down significantly on the outbound traffic. passwd.zst, secrets.docx, etc. would look pretty juicy. Throw some bait in honeypot directories (exposed for file access) listed in robots.txt and see who takes it.
- Thorrez 2y agoBut the bot likely only automatically unpacks the outer layer. So nesting doesn't help with bot deterrence.