← Quiz: SQL Injection: all 10 questions
Quiz: SQL Injection · Question 4 of 10
In section 3, what did the UNION attack return?
In section 3, what did the UNION attack return?
- A.An error
- B.Only the Python course
- C.Usernames and passwords from the users table
- D.Nothing
Answer & explanation
Correct answer: Usernames and passwords from the users table
UNION SELECT username, password FROM users appended the users table to the "search results".
Can you get the rest right without peeking?
Take the timed Quiz: SQL Injection quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →