nerdexam
ExamsGCIHQuestions#17
GIAC

GCIH · Question #17

GCIH Question #17: Real Exam Question with Answer & Explanation

Sign in or unlock GCIH to reveal the answer and full explanation for question #17. The question stem and answer options stay visible for context.

Question

John works as a Professional Penetration Tester. He has been assigned a project to test the ='or''=' as a username and successfully logs on to the user page of the Web site. Now, John asks the we-aresecure Inc. to improve the login page PHP script. Which of the following suggestions can John give to improve the security of the we-are-secure Website login page from the SQL injection attack?

Options

  • AUse the escapeshellarg() function
  • BUse the session_regenerate_id() function
  • CUse the mysql_real_escape_string() function for escaping input
  • DUse the escapeshellcmd() function

Unlock GCIH to see the answer

You've previewed enough free GCIH questions. Unlock GCIH 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.

Full GCIH Practice