I have a database in which most or maybe even all columns are empty. Yet I have to gain access to the database via a user called Tom.
I found out that the table is called users and the query the server sends when logging in is:
SELECT user_name, password FROM users WHERE user_name =' ' and password =' '
Since I do not know if the user_name Tom and/or his password even exists I was thinking about updating or inserting it myself. Is this even possible? Insert the user_name and its password and then verify those within the same input box?
Tomto test whether you can obtain the account password with your injection assuming you only know the username Tom and not the password?UNION [ALL]is for.