garbage.php 787 B

123456789101112131415161718192021222324
  1. <?php
  2. // Disable Compression (would be too easy for 000...)
  3. @ini_set('zlib.output_compression', 'Off');
  4. @ini_set('output_buffering', 'Off');
  5. @ini_set('output_handler', '');
  6. // Headers
  7. header( "HTTP/1.1 200 OK" );
  8. // Download follows...
  9. header('Content-Description: File Transfer');
  10. header('Content-Type: application/octet-stream');
  11. header('Content-Disposition: attachment; filename=random.dat');
  12. header('Content-Transfer-Encoding: binary');
  13. // Never cache me
  14. header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
  15. header("Cache-Control: post-check=0, pre-check=0", false);
  16. header("Pragma: no-cache");
  17. // Generate data
  18. $data=str_repeat("0",1048575)."\n";
  19. // Deliver chunks of 1048576 bytes (or more - depending on encoding!)
  20. while(1){
  21. echo $data;
  22. flush();
  23. }
  24. ?>