$$ \text {An iCSI CTF (RED19)} $$

Setup:

First Steps:

Once you have started the CTF machine, launch a root shell in Kali and do the following:

Untitled

Start with an Nmap:

Untitled

We see that this PHP server is running on port 8000 and we also see a convenient title of ‘PHP LFI!’

Open up the webpage and test for LFI to see if we can read the /etc/passwd file.

Untitled

Untitled