今天看啥  ›  专栏  ›  嘶吼专业版

2020 第四届强网杯全国网络安全挑战赛Online Writeup

嘶吼专业版  · 公众号  · 互联网安全  · 2020-09-11 11:17
前言近期的一个周末参加了强网杯线上赛,以下是web题解。web辅助类定义如下:user = $user;        $this->pass = $pass;        $this->admin = $admin;    }    public function get_admin(){        return $this->admin;    }}class topsolo{    protected $name;    public function __construct($name = 'Riven'){        $this->name = $name;    }    public function TP(){        if (gettype($this->name) === "function" or gettype($this->name) === "object"){            $name = $this->name;            $name();        }    }    public function __destruct(){        $this->TP();    }}class midsolo{    protected $name;    public function __construct($name){        $this->name = $name;    }    public function __wakeup(){        if ($this->name !== 'Yasuo'){            $this->name = 'Yasuo';  ………………………………

原文地址:访问原文地址
快照地址: 访问文章快照