CompTIA PenTest+ PT0-002 Practice Question
A penetration tester is tasked with enumerating group memberships on a compromised system to identify potential targets for lateral movement. Which of the following commands should the tester execute to find the BEST information about group memberships that could help in identifying privileged accounts?
net share
net localgroup administrators
net user /add
net accounts /domain