Starting the box
Link to the box: https://app.hackthebox.com/machines/Pterodactyl
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) - Only accepts ECDSA and ED25519 keys, no password authentication visible yet.
- Port 80 (HTTP) - Redirects to
http://pterodactyl.htb/. Running Nginx 1.21.5.
Edit the Hosts file
As always, we edit the/etc/hosts file to add the hostname:
Attacker Linux
Nano Interface

