Reconnaissance
I used RustScan to identify open ports. 
Two ports were open.
Service identification
I used Nmap to identify services and versions.

The results showed SSH and a Python HTTP service on port 8000.
Enumeration
I opened the service on port 8000.

Path discovery did not return a useful result.
Burp Suite inspection exposed service details. Research led to a public discussion and proof of concept.

I attempted to reproduce the public proof of concept, but that route did not yield access.

The attempted write failed because the path was a directory. Reading a known SSH file and traversing to another path did return content, though this did not produce credentials.
The traversal response confirmed file-read behavior.
I also requested an SSH private-key path. The response was “try a basic connection,” rather than key material.

I consulted another lab write-up for a different approach. The earlier file-read path remained inconclusive.
Initial access
I connected to the service with Netcat and supplied the Python reverse-shell input indicated by that reference.

I started a listener for the callback.

The target connected back, providing a shell.
LinPEAS and manual inspection led me to a development directory under /opt.

A configuration file in a hidden directory contained user credentials.

SSH access
I used the recovered credentials for a stable SSH session. 
I retrieved the user flag.

Privilege escalation
I inspected the local Git repository and observed a deleted file.

git log exposed the relevant commit. 
git show <commit> revealed command-dispatch logic, including a branch that could invoke a shell.
I tested the dispatch behavior.

A guessed endpoint name did not match a valid command. 
I used a custom script to test candidate command names, as suggested by the room description.

The script identified admin as a valid input.

I submitted admin to the service.

The service then required a password, which I tested with an adapted script.
The modified script is shown below.

After finding a valid password, I authenticated as admin and invoked shell. The resulting shell ran as root.
Outcome
A service-level reverse shell exposed credentials for SSH. Git history and command enumeration then revealed an admin path to a root shell.