Course: INE / eJPT — Assessment Methodologies
Lab: Information Gathering CTF 1
Author: Zeliha Zengin
A website is accessible at http://target.ine.local. Perform reconnaissance and capture the flags.
Tools used: Firefox · Curl · HTTrack · Nmap · dirb
Note: Flag format is
FLAG1{MD5Hash}orFL@G1{MD5Hash}— submit only the hash.
All work is performed against an authorized INE training lab for eJPT exam preparation.
robots.txt tells search engines which paths to avoid — a classic recon starting point:
http://target.ine.local/robots.txt
🏁 FLAG 1:
c6d59eb8105741259e8c4258e6f9d5a8
Fingerprint the web application and its version with an aggressive Nmap scan:
nmap -sV -Pn -A -p- target.ine.local
| Flag | Meaning |
|---|---|
-sV |
Service/version detection |
-Pn |
Skip host discovery |
-A |
Aggressive (OS, version, scripts, traceroute) |
-p- |
All 65,535 ports |
Note: You can also right-click → Inspect and check the Network tab for server headers.
🏁 FLAG 2:
a5a8dcf9f5224bbd9c841e615e6a979c
dirb http://target.ine.local
The flag lives in the WordPress uploads directory:
http://target.ine.local/wp-content/uploads/ → flag.txt
🏁 FLAG 3:
9eb244427daf40f7b2d53531de775831
Hunt for backup extensions with dirb’s -X option:
dirb http://target.ine.local -w /usr/share/dirb/wordlists/big.txt -X .bak,.tar.gz,.zip,.sql,.bak.zip
This reveals wp-config.bak. Read it with curl:
curl http://target.ine.local/wp-config.bak
🏁 FLAG 4:
c6ddc0afaab14ea7a13d1a80ebe1b1ef
HTTrack downloads a full offline copy of the site, exposing files not obvious while browsing:
httrack http://target.ine.local -O mirror.html
cd mirror.html/target.ine.local
ls
cat xmlrpc*.php
🏁 FLAG 5:
68f9d174fd1246d29ed69ca090d91631
| Flag | Technique |
|---|---|
| 1 | robots.txt disclosure |
| 2 | Version fingerprinting (Nmap / headers) |
| 3 | Directory browsing → wp-content/uploads |
| 4 | Backup file (wp-config.bak) via dirb -X + curl |
| 5 | Full site mirror with HTTrack |
robots.txt and server headers are the first things to read in web recon..bak, .zip, .sql) in the webroot.Write-up by Zeliha Zengin · eJPT preparation