I use Zip Bombs to Protect my Server
dd if=/dev/zero bs=1G count=10 | gzip -c > 10GB.gz
Here is what the command does:
dd: The dd command is used to copy or convert data.
if: Input file, specifies /dev/zero a special file that produces an infinite stream of zero bytes.
bs: block size, sets the block size to 1 gigabyte (1G), meaning dd will read and write data in chunks of 1 GB at a time.
count=10: This tells dd to process 10 blocks, each 1 GB in size. So, this will generate 10 GB of zeroed data.
We then pass the output of the command to gzip which will compress the output into the file 10GB.gz. The resulting file is 10MB in this case.
Wed Apr 30 07:15:39 2025 - permalink -
-
https://idiallo.com/blog/zipbomb-protection