EC-Council
312-92 · Question #60
312-92 Question #60: Real Exam Question with Answer & Explanation
Sign in or unlock 312-92 to reveal the answer and full explanation for question #60. The question stem and answer options stay visible for context.
Question
Malory is creating a webpage in PHP where users will have to logon to gain access to certain areas of the site. Malory is concerned that malicious users might try to exploit her site, so she decides to use the following code to prevent some attacks. What is Malory trying to prevent here? $username = addslashes($_POST["username"]); $password = addslashes($_POST["password"]);
Options
- ASQL injection
- BCSS attack
- CReflected mode XSS attack
- DCSRF attack
Unlock 312-92 to see the answer
You've previewed enough free 312-92 questions. Unlock 312-92 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.