<meta charset="utf-8"><?phperror_reporting(1);classStart{public$name='guest';public$flag='syst3m("cat 127.0.0.1/etc/hint");';publicfunction__construct(){echo"I think you need /etc/hint . Before this you need to see the source code";}publicfunction_sayhello(){echo$this->name;return'ok';}publicfunction__wakeup(){echo"hi";$this->_sayhello();}publicfunction__get($cc){echo"give you flag : ".$this->flag;return;}}classInfo{private$phonenumber=123123;public$promise='I do';publicfunction__construct(){$this->promise='I will not !!!!';return$this->promise;}publicfunction__toString(){return$this->file['filename']->ffiillee['ffiilleennaammee'];}}classRoom{public$filename='/flag';public$sth_to_set;public$a='';publicfunction__get($name){$function=$this->a;return$function();}publicfunctionGet_hint($file){$hint=base64_encode(file_get_contents($file));echo$hint;return;}publicfunction__invoke(){$content=$this->Get_hint($this->filename);echo$content;}}if(isset($_GET['hello'])){unserialize($_GET['hello']);}else{$hi=newStart();}?>
审 强网先锋 赌徒 来学反序列化<meta charset="utf-8"><?phperror_reporting(1);class Start{ public $name='guest'; public $flag='syst3m("cat 127.0.0.1/etc/hint");'; public function __construct(){ echo "I think you need /etc/hint