A penetration tester has a full shell to a domain controller and wants to discover any user account that has not authenticated to the domain in 21 days. Which of the following commands would BEST accomplish this?
A) dsrm -users "DN=company.com; OU=hq CN=users"
B) dsuser -name -account -limit 3
C) dsquery user -inactive 3
D) dsquery -o -rdn -limit 21
Correct Answer:
Verified
Q23: While monitoring WAF logs, a security analyst
Q24: A penetration tester compromises a system that
Q25: Which of the following would be the
Q26: A penetration tester is required to perform
Q27: A penetration tester was able to retrieve
Q29: Consider the following PowerShell command: powershell.exe IEX
Q30: While trying to maintain persistence on a
Q31: A penetration tester is preparing to conduct
Q32: If a security consultant comes across a
Q33: Given the following Python script:
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents