<?php functionshow_me_flag(){ system("tac /flag"); } error_reporting(0); classNISA{ public$fun; public function __wakeup() { if($this->fun=="show_me_flag"){ die("rookie hacker plz go back and do your own homework!"); } } function__call($from,$val){ $this->fun=$val[0]; }
public function __toString() { call_user_func($this->fun); return" "; } }
classCaller{ public$ext; public$x; public function __wakeup() { $this->ext->nisa($this->x); echo$this->ext; } } if(isset($_GET['ser'])){ @unserialize($_GET['ser']); }else{ highlight_file(__FILE__); }