🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.An error
  2. B.Only the Python course
  3. C.Usernames and passwords from the users table
  4. 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 →