some_guy@lemmy.sdf.org to Technology@lemmy.world · 1 month agoI use Zip Bombs to Protect my Serveridiallo.comexternal-linkmessage-square52linkfedilinkarrow-up168arrow-down12file-text
arrow-up166arrow-down1external-linkI use Zip Bombs to Protect my Serveridiallo.comsome_guy@lemmy.sdf.org to Technology@lemmy.world · 1 month agomessage-square52linkfedilinkfile-text
minus-squaremelroy@kbin.melroy.orglinkfedilinkarrow-up4·1 month agoLooks fine to me. Only 1 CPU core I think was 100%. 10+0 records in 10+0 records out 10737418240 bytes (11 GB, 10 GiB) copied, 28,0695 s, 383 MB/s
minus-squaremelroy@kbin.melroy.orglinkfedilinkarrow-up4·1 month agoow… now the idea is to unzip it right? nice idea: if (ipIsBlackListed() || isMalicious()) { header("Content-Encoding: deflate, gzip"); header("Content-Length: "+ filesize(ZIP_BOMB_FILE_10G)); // 10 MB readfile(ZIP_BOMB_FILE_10G); exit; }
let me try…
Looks fine to me. Only 1 CPU core I think was 100%.
10+0 records in 10+0 records out 10737418240 bytes (11 GB, 10 GiB) copied, 28,0695 s, 383 MB/s
ow… now the idea is to unzip it right?
nice idea:
if (ipIsBlackListed() || isMalicious()) { header("Content-Encoding: deflate, gzip"); header("Content-Length: "+ filesize(ZIP_BOMB_FILE_10G)); // 10 MB readfile(ZIP_BOMB_FILE_10G); exit; }