Last updated
Last updated
So, let's go to one of the pages, Bit for example.
We'll see the url
?page= imlies some form of LFI may be possible, as it looks like the specified page is imported into the template. So, let's go ahead and try
We'll find it gives an error about /etc/passwd.php not existing. This tells us it appends .php to the end of the page parameter and includes it.
Tony told me that a null byte causes the .php to become redundant as the null byte will terminate the string.
works, displaying /etc/passwd.
So I took a guess and tried /flag.txt%00 and that gave the flag.