Back to index

php5  5.3.10
corrupt2.php.inc
Go to the documentation of this file.
00001 <?php
00002 include dirname(__FILE__) . '/corrupt_zipmaker.php.inc';
00003 $a = new corrupt_zipmaker;
00004 $a->addFile('hi', null, 'hii');
00005 $a->addFile('hi2', null, 'hii2', null, null, 'encrypt', 'encrypt');
00006 $a->writeZip(dirname(__FILE__) . '/encrypted.zip');
00007 $a = new corrupt_zipmaker;
00008 $a->addFile('hi', null, 'hii');
00009 $a->addFile('', null, 'stdin');
00010 $a->writeZip(dirname(__FILE__) . '/stdin.zip');
00011 $a = new corrupt_zipmaker;
00012 $a->addFile('hii', null, 'hii', null, null, 'filename_len', 'filename_len');
00013 $a->addFile('hi', null, 'hii');
00014 $a->writeZip(dirname(__FILE__) . '/truncfilename.zip');
00015 $a = new corrupt_zipmaker;
00016 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress');
00017 $a->writeZip(dirname(__FILE__) . '/compress_unsup1.zip');
00018 $a = new corrupt_zipmaker;
00019 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 2);
00020 $a->writeZip(dirname(__FILE__) . '/compress_unsup2.zip');
00021 $a = new corrupt_zipmaker;
00022 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 3);
00023 $a->writeZip(dirname(__FILE__) . '/compress_unsup3.zip');
00024 $a = new corrupt_zipmaker;
00025 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 4);
00026 $a->writeZip(dirname(__FILE__) . '/compress_unsup4.zip');
00027 $a = new corrupt_zipmaker;
00028 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 5);
00029 $a->writeZip(dirname(__FILE__) . '/compress_unsup5.zip');
00030 $a = new corrupt_zipmaker;
00031 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 6);
00032 $a->writeZip(dirname(__FILE__) . '/compress_unsup6.zip');
00033 $a = new corrupt_zipmaker;
00034 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 7);
00035 $a->writeZip(dirname(__FILE__) . '/compress_unsup7.zip');
00036 $a = new corrupt_zipmaker;
00037 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 9);
00038 $a->writeZip(dirname(__FILE__) . '/compress_unsup9.zip');
00039 $a = new corrupt_zipmaker;
00040 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 10);
00041 $a->writeZip(dirname(__FILE__) . '/compress_unsup10.zip');
00042 $a = new corrupt_zipmaker;
00043 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 14);
00044 $a->writeZip(dirname(__FILE__) . '/compress_unsup14.zip');
00045 $a = new corrupt_zipmaker;
00046 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 18);
00047 $a->writeZip(dirname(__FILE__) . '/compress_unsup18.zip');
00048 $a = new corrupt_zipmaker;
00049 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 19);
00050 $a->writeZip(dirname(__FILE__) . '/compress_unsup19.zip');
00051 $a = new corrupt_zipmaker;
00052 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 97);
00053 $a->writeZip(dirname(__FILE__) . '/compress_unsup97.zip');
00054 $a = new corrupt_zipmaker;
00055 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 98);
00056 $a->writeZip(dirname(__FILE__) . '/compress_unsup98.zip');
00057 $a = new corrupt_zipmaker;
00058 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 11);
00059 $a->writeZip(dirname(__FILE__) . '/compress_unsupunknown.zip');
00060 ?>