220-1102 · Question #665
220-1102 Question #665: Real Exam Question with Answer & Explanation
The correct answer is C: XSS. Cross-site scripting (XSS) (Option C) allows attackers to inject malicious scripts into web pages viewed by users. When the user visits the compromised site, the script runs in the user's browser, potentially allowing the attacker to steal data or perform unauthorized actions. XS
Question
Which of the following attacks can a hacker use to execute code on a user's computer when the user visits a specially prepared, malicious website?
Options
- ADoS
- BSpoofing
- CXSS
- DSQL injection
Explanation
Cross-site scripting (XSS) (Option C) allows attackers to inject malicious scripts into web pages viewed by users. When the user visits the compromised site, the script runs in the user's browser, potentially allowing the attacker to steal data or perform unauthorized actions. XSS is a common vulnerability in web applications that allows code execution.
Topics
Community Discussion
No community discussion yet for this question.