Scan http://target.ine.local, run a Nessus assessment, and capture four flags.
A target machine is at http://target.ine.local, with a Nessus dashboard at https://localhost:8834/.
FLAG1_MD5Hash — submit only the hash (no underscore).All work is performed against an authorized INE training lab for eJPT exam preparation.
.git directorynmap -sV -A -sC -Pn -p- target.ine.local
cat /etc/hosts # target.ine.local = 192.191.51.3
The scan surfaces a /.git/ directory — a version-control artifact left in the webroot:
http://192.191.51.3/.git/
Check robots.txt (found by Nmap). The passwords/, config.inc, and phpmyadmin paths look interesting — the flag is hidden in the data storage area.
Directory brute-forcing reveals a phpinfo.php page that discloses server configuration:
dirb http://192.191.51.3
# → /phpinfo.php
http://192.191.51.3/phpinfo.php
The passwords/ directory discovered via robots.txt contains a flag.txt:
http://192.191.51.3/passwords/ → flag.txt
| Flag | Technique |
|---|---|
| 1 | Exposed .git/ directory in the webroot |
| 2 | robots.txt → loosely-secured storage |
| 3 | phpinfo.php information disclosure |
| 4 | Sensitive passwords/ directory |
.git/ folder can leak source code and secrets — always test for it.robots.txt is a map of what the admin wanted hidden.phpinfo.php left in production is a serious information-disclosure issue.