![]() ![]() | ![]() |
1.1 misho 1: <?php 2: include dirname(__FILE__) . '/tarmaker.php.inc'; 3: class corrupter extends tarmaker { 4: function close() 5: { 6: parent::close(); 7: $fp = fopen($this->path, 'r+b'); 8: fseek($fp, 20); 9: fwrite($fp, 'oopsie'); 10: fclose($fp); 11: } 12: }