Let's say I am inserting username and password in the database:
INSERT INTO Users (username, Password)
VALUES ('Eden', 'Eden123');
But if I insert a second order SQL injection it is supposed to be like this:
INSERT INTO Users (username, Password)
VALUES ('Eden'--', 'Eden123');
And because the '--' the query is discarded so it will be:
INSERT INTO Users (username , Password)
VALUES ('Eden'
This query is invalid, so my question is how does the query looks like when I want to insert a username Eden'--
and password Eden123?
Thanks!