What will the following command produce on a website’s login page if executed successfully?

What will the following command produce on a website’s login page if executed successfully?
SELECT email, passwd, login_id, full_name FROM members WHERE email =
[email protected]’; DROP TABLE members; –‘

What will the following command produce on a website’s login page if executed successfully?
SELECT email, passwd, login_id, full_name FROM members WHERE email =
[email protected]’; DROP TABLE members; –‘

A.
This code will insert the [email protected] email address into the members table.

B.
This command will delete the entire members table.

C.
It retrieves the password for the first user in the members table.

D.
This command will not produce anything since the syntax is incorrect.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Ghost Man

Ghost Man

B is the Ans..