EC-Council
312-49V11 · Question #17
312-49V11 Question #17: Real Exam Question with Answer & Explanation
Sign in or unlock 312-49V11 to reveal the answer and full explanation for question #17. The question stem and answer options stay visible for context.
Question
Sophia, a penetration tester, is conducting a security audit on a target web application that accepts user input and executes system commands based on the provided input. During her testing, she tries to inject a malicious payload into the application's input field to test for command injection vulnerabilities. After experimenting with several techniques, she realizes that the web application allows her to chain multiple commands together. However, she wants to ensure that the second command only executes if the first one is successful. Which of the following operators should Sophia use to ensure that the subsequent command is executed only if the first command succeeds?
Options
- ALogical operator: ||
- BPipe operator: |
- CLogical operator: &&
- DOperators: ;, $()
Unlock 312-49V11 to see the answer
You've previewed enough free 312-49V11 questions. Unlock 312-49V11 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.