You are pen testing a Windows system remotely via a raw netcat shell. You want to get a listing of all the local users in the administrators group, what command would you use?
You are pen testing a Windows system remotely via a raw netcat shell. You want to get a listing of all the local users in the administrators group, what command would you use?
To get a listing of all the local users in the administrators group on a Windows system, the correct command is 'net localgroup administrators'. This command displays the members of the administrators group on the computer, providing the information needed in a pen testing scenario.
C for sure