I'm trying to make a ctf challenge involving local file inclusion.
With that in mind, i've recreated a "linux" like folder sytem with "/etc/", "/var/", "/home" etc ... because I use a free web hosting service.
In order to not look suspicious to the users I wan't to change just graphicly the url to make it look like the user is at the root directory while he is indeed in an other subdirectory (also the user need to be able to include "../../etc/passwd"). So far this is what I have :
RewriteEngine On
RewriteBase /folder1/folder2/
and this file is located in "/folder1/folder2/", but it does nothing ...
Can someone help me ?
PS : Sorry for my english, i'm really bad.
Aucun commentaire:
Enregistrer un commentaire