PT0-003 · Question #212
A penetration tester successfully clones a source code repository and then runs the following command: find . -type f -exec egrep -i "token|key|login" {} \; Which of the following is the penetration…
The correct answer is B. Secrets scanning. Penetration testers search for hardcoded credentials, API keys, and authentication tokens in source code repositories to identify secrets leakage. Secrets scanning: The find and egrep command scans all files recursively for sensitive keywords like "token," "key," Attackers use…
Question
A penetration tester successfully clones a source code repository and then runs the following command:
find . -type f -exec egrep -i "token|key|login" {} ; Which of the following is the penetration tester conducting?
Options
- AData tokenization
- BSecrets scanning
- CPassword spraying
- DSource code analysis
How the community answered
(30 responses)- A3% (1)
- B73% (22)
- C10% (3)
- D13% (4)
Explanation
Penetration testers search for hardcoded credentials, API keys, and authentication tokens in source code repositories to identify secrets leakage. Secrets scanning: The find and egrep command scans all files recursively for sensitive keywords like "token," "key," Attackers use tools like TruffleHog and GitLeaks to automate secret discovery.
Topics
Community Discussion
No community discussion yet for this question.