Two Million Machine Walkthrough
1. Nmap scanning nmap 10.10.11.221 -sC -sV --open Findings Port 22 (SSH) Port 80 (HTTP) 2. Enumeration To access the website we need to resolve the hostname to ip in etc/hosts file: echo "10.10.11.221 2million.htb" | sudo tee -a Visit /invite page and you can find inviteapi.min.js file in devtools. Deobfuscate it at https://matthewfl.com/unPacker.html. We got: There is makeInviteCode() function that sends API POST request to /api/v1/how/to/generate. Use curl or Burpsuite Repeater to send requests. It’s important that you save PHPSESSID cookie somewhere. ...