Which of the following functions can be used as a countermeasure to a Shell Injection attack?

Which of the following functions can be used as a countermeasure to a Shell Injection attack? Each correct answer represents a complete solution. Choose all that apply.

Question:

Which of the following functions can be used as a countermeasure to a Shell Injection attack?

Options:

escapeshellarg()

mysql_real_escape_string()

regenerateid()

escapeshellcmd()

Correct Answer

The Correct Answer for this Question is

escapeshellarg()
escapeshellcmd()

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *