nerdexam
EC-Council

312-92 · Question #53

312-92 Question #53: Real Exam Question with Answer & Explanation

Sign in or unlock 312-92 to reveal the answer and full explanation for question #53. The question stem and answer options stay visible for context.

Question

EC-Council 312-92 Exam After learning from an external auditor that his code was susceptible to attack, George decided to rewrite some of his code to look like the following. What is George preventing by changing the code? public voif doContent(...) { ... String s; if ((s = getUsernameByID("userid")) != null) { s = StringUtils.encodeToHTML(s, 50); response.write("<br>Applicant:<u>" + s + "</u>"); } ... }

Options

  • AQuery string manipulation
  • BXSS attack
  • CCookie poisoning
  • DSQL injection

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.

Full 312-92 Practice
EC-Council 312-92 Exam After learning from an external auditor... | 312-92 Q#53 Answer | NerdExam