nerdexam
Zend

200-530 · Question #5

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 C. escapeshellcmd() D. escapeshellarg(). 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.

Exhibit

200-530 question #5 exhibit

Options

  • Ahtmlentities()
  • Bstrip_tags()
  • Cescapeshellcmd()
  • Descapeshellarg()

How the community answered

(44 responses)
  • A
    16% (7)
  • B
    7% (3)
  • C
    77% (34)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice