Starting the box
Link to the box: https://app.hackthebox.com/machines/Facts
Port Scan
We start off the box by running a port scan on the provided IP.Attacker Linux
Terminal Output
Terminal Output
- Port 22 (SSH) is open.
- Port 80 (HTTP) redirects to
http://facts.htb/. Running Nginx 1.26.3. - Port 54321 (HTTP) identifies as MinIO - an S3-compatible object storage server. It redirects to
http://10.129.8.97:9001, which is not directly accessible, but we’ll keep this in mind.
Edit the Hosts file
As always, we edit the/etc/hosts file to add the hostname:
Attacker Linux
Nano Interface

