Let's perform the following steps:
- Once we have Meterpreter on the system, Metasploit has a built-in module that we can use. We can use three different methods to get administrator access.
- First, we will see the infamous getsystem of Metasploit to view the system help. Use the following command:
getsystem -h
The output of running the preceding command is shown in the following screenshot:
- To try and get the admin, type the following command:
getsystem
The output of running the preceding command is shown in the following screenshot:
- We can see we are now NT AUTHORITY\SYSTEM.
- Sometimes, this technique may not work, so we ...