Question: The following command is considered an SQL - Injection, why? ' OR ' 1 ' = ' 1 ' - - Question 2 6 Answer

The following command is considered an SQL-Injection, why?
' OR '1'='1'--
Question 26Answer
a.
Because it contains a default password 1=1
b.
This command resets the admin account
c.
This is not an SQL injection
d.
Because it contains (dash dash) or -- which comments the rest of the SQL select query

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!