***SPOILER***Walkthrough of the machine called "Monster" in the Offsec Proving Grounds...don't watch unless you want help getting through the machine. We take advantage of Monstra using a python exploit, then use enumeration to figure out that XAMPP is running on the server an exploit that for privilege escalation. Trying to learn more PowerShell and this helped!.
Links used in walkthrough:
https://github.com/rflemen/exploit_code/tree/main/ExploitDB-52038
https://www.exploit-db.com/exploits/50337