<?phperror_reporting(0);//flag in flag.php
$file=$_GET['file'];if(isset($file)){if(!preg_match("/flag/i",$file)){include($file);}else{echo("no no no ~ ");}}else{highlight_file(__FILE__);}?>
<?phperror_reporting(0);highlight_file(__FILE__);classStart{public$name;protected$func;publicfunction__destruct(){echo"Welcome to QHCTF 2025, ".$this->name;}publicfunction__isset($var){($this->func)();}}classSec{private$obj;private$var;publicfunction__toString(){$this->obj->check($this->var);return"CTFers";}publicfunction__invoke(){echofile_get_contents('/flag');}}classEasy{public$cla;publicfunction__call($fun,$var){$this->cla=clone$var[0];}}classeeee{public$obj;publicfunction__clone(){if(isset($this->obj->cmd)){echo"success";}}}if(isset($_POST['pop'])){unserialize($_POST['pop']);}