PT0-003 · Question #298
PT0-003 Question #298: Real Exam Question with Answer & Explanation
Sign in or unlock PT0-003 to reveal the answer and full explanation for question #298. The question stem and answer options stay visible for context.
Question
After obtaining a reverse shell, a penetration tester identifies a locally cloned Git repository that contains thousands of files and directories on a Windows machine. The tester suspects there could be sensitive information related to "ProjectX." Which of the following commands should the tester use in a script to identify potential files to produce the best results?
Options
- Agc * | select "ProjectX"
- Bdir /R | findstr "ProjectX"
- CGet-ChildItem * | Select-String "ProjectX"
- Dgci -Path . -Recurse | Select-String -Pattern "ProjectX"
Unlock PT0-003 to see the answer
You've previewed enough free PT0-003 questions. Unlock PT0-003 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.