CompTIA
PT0-002 · Question #12
A penetration tester runs the following command on a system: find /-user root -perm -4000 -print 2>/dev/null Which of the following is the tester trying to accomplish?
Sign in or unlock PT0-002 to reveal the answer and full explanation for question #12. The question stem and answer options stay visible for context.
Post-exploitation and lateral movement
Question
A penetration tester runs the following command on a system:
find /-user root -perm -4000 -print 2>/dev/null Which of the following is the tester trying to accomplish?
Options
- ASet the SGID on all files in the /directory
- BFind the /root directory on the system
- CFind files with the SUID bit set
- DFind files that were created during exploitation and move them to /dev/null
Unlock PT0-002 to see the answer
You've previewed enough free PT0-002 questions. Unlock PT0-002 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Linux commands#File permissions#SUID#Privilege escalation