This repository has been archived on 2024-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
HHH-www/xmlrpc.php
Albirew bf6b6d026f added bomb for hack scanners
w00tw00t, ratz and shits like these crash when reading the 10gb gzip file
2018-07-22 00:06:47 +02:00

10 lines
332 B
PHP

<?php
//prepare the client to recieve GZIP data. This will not be suspicious
//since most web servers use GZIP by default
header("Content-Encoding: gzip");
header("Content-Length: ".filesize('10G.gzip'));
//Turn off output buffering
if (ob_get_level()) ob_end_clean();
//send the gzipped file to the client
readfile('10G.gzip');
?>