DEV Community

Michael Lee
Michael Lee

Posted on

HackTheSite Basic 8

Image description

When you enter your name and click submit, you are brought to this page.
Image description

When I click to view it, I am taken to a site that is saved using .shtml
This is no the level of directory I want to be in at (tmp).
We can use a clever SSI command: <!--#exec cmd="ls ../"--> which lists all the parent directory. And now we finally have the correct .php file.

This required a little bit of thinking but was not too difficult.

Top comments (0)