Internal

nmap

mkdir nmap
sudo rustscan -a 192.168.201.40 --ulimit 5000 -- -T4 -A -oA nmap/all-ports-service-scan --scripts vuln

Looks like there's a CVE detected by nmap

Exploitation

Let's find the source code of the exploit of this CVE.

Mirror the exploit to your local machine

Create shellcode with msfvenom as per exploit instruction.

Copy the shellcode and replace it on the source code

Open msfconsole and execute the following

Run the exploit

And you should receive your nt authority\system shell.

Last updated