Question: a . In the User ID: field type 1 ' ORDER BY 1 # and click Submit. You should receive the following output: ID: 1

a. In the User ID: field type 1' ORDER BY 1 # and click Submit.
You should receive the following output:
ID: 1' ORDER BY 1#
First name: admin
Surname: admin
b. In the User ID: field type 1' ORDER BY 2 # and click Submit.
You should receive the following output:
ID: 1' ORDER BY 2#
First name: admin
Surname: admin
c. In the User ID: field type 1' ORDER BY 3 # and click Submit.
This time you should receive the error Unknown column '3' in 'order clause'.
Because the third string returned an error, this tells us the query involves two fields. This is useful information to know as you continue your exploit.
Insert all Screenshots below.

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 Databases Questions!