Zend
200-530 · Question #471
Which of the following functions can you use to mitigate a command injection attack? Each correct answer represents a complete solution. Choose all that apply.
The correct answer is A. escapeshellarg() B. escapeshellcmd(). See the full explanation below for the reasoning.
Question
Which of the following functions can you use to mitigate a command injection attack? Each correct answer represents a complete solution. Choose all that apply.
Options
- Aescapeshellarg()
- Bescapeshellcmd()
- Cstrip_tags()
- Dhtmlentities()
How the community answered
(22 responses)- A86% (19)
- C9% (2)
- D5% (1)
Community Discussion
No community discussion yet for this question.