📦
HTB - Hack the Box
  • 📦Hack the Box
  • 📠Machines
    • Ambassador
    • Precious
    • Blue
    • Academy
    • Dev
    • Butler
    • Blackpearl
Powered by GitBook
On this page
  • Enumeration
  • HTTP server
  • Other possible vulnerable services
Edit on GitHub
  1. Machines

Precious

PreviousAmbassadorNextBlue

Last updated 2 years ago

Enumeration

nmap -T4 -p- 10.129.80.85
  • Ports found

PORT      STATE    SERVICE
22/tcp    open     ssh
80/tcp    open     http

HTTP server

To make the website work I had to add the IP into hosts file

echo "10.129.80.85 precious.htb" >> /etc/hosts

  • Launch a self-hosted web server in the attacker machine to intercept and intercept the request with burp

python3 -m http.server 80

Intercept traffic and send to repeater

With the repeater option we can identify interesting things in the response

The most prominent is related to WKHTMLTOPDF, and with a quick google we can find several exploits to it, however, none of them worked.

Other possible vulnerable services

TO BE CONTINUED ....

ðŸ“