nerdexam
EC-Council

312-50V12 · Question #47

Judy created a forum. One day, she discovers that a user is posting strange images without writing comments. She immediately calls a security expert, who discovers that the following code is hidden be

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

Submitted by paula_co· Mar 4, 2026Web Application Hacking

Question

Judy created a forum. One day, she discovers that a user is posting strange images without writing comments. She immediately calls a security expert, who discovers that the following code is hidden behind those images: What issue occurred for the users who clicked on the image?

Exhibit

312-50V12 question #47 exhibit

Options

  • AThis php file silently executes the code and grabs the user's session cookie and session ID.
  • BThe code redirects the user to another site.
  • CThe code injects a new cookie to the browser.
  • DThe code is a virus that is attempting to gather the user's username and password.

Unlock 312-50V12 to see the answer

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

Topics

#Web application security#Cross-site scripting (XSS)#Session hijacking#Cookie theft
Full 312-50V12 Practice