Fortinet
FCP_FWB_AD-7.4 · Question #59
Which is an example of a typical SQL injection attack?
The correct answer is C. SELECT username FROM accounts WHERE username='admin';-- ' AND. This is a typical SQL injection attack, where an attacker manipulates the SQL query by injecting a comment (--) to bypass authentication or alter query logic.
Advanced Web Protection
Question
Which is an example of a typical SQL injection attack?
Options
- A<script>alert (''Reflected XSS");</script>
- BSELECT cmd.exe FROM commands where users='admin';
- CSELECT username FROM accounts WHERE username='admin';-- ' AND
- D<sql>select(ALL USERS);</sql>
How the community answered
(46 responses)- A15% (7)
- B7% (3)
- C76% (35)
- D2% (1)
Explanation
This is a typical SQL injection attack, where an attacker manipulates the SQL query by injecting a comment (--) to bypass authentication or alter query logic.
Topics
#SQL injection#attack patterns#web attacks#input validation
Community Discussion
No community discussion yet for this question.