mirror of
https://github.com/php/php-src.git
synced 2024-10-22 08:47:29 +00:00
12 lines
219 B
PHP
12 lines
219 B
PHP
|
<?php
|
||
|
include dirname(__FILE__) . '/tarmaker.php.inc';
|
||
|
class corrupter extends tarmaker {
|
||
|
function close()
|
||
|
{
|
||
|
parent::close();
|
||
|
$fp = fopen($this->path, 'r+b');
|
||
|
fseek($fp, 20);
|
||
|
fwrite($fp, 'oopsie');
|
||
|
fclose($fp);
|
||
|
}
|
||
|
}
|