7777from lib .core .exception import sqlmapUnsupportedDBMSException
7878from lib .core .exception import sqlmapUserQuitException
7979from lib .core .optiondict import optDict
80- from lib .request .dns import DNSServer
8180from lib .core .settings import CODECS_LIST_PAGE
8281from lib .core .settings import DEFAULT_GET_POST_DELIMITER
8382from lib .core .settings import DEFAULT_PAGE_ENCODING
116115from lib .parse .configfile import configFileParser
117116from lib .parse .payloads import loadPayloads
118117from lib .request .connect import Connect as Request
118+ from lib .request .dns import DNSServer
119119from lib .request .proxy import ProxyHTTPSHandler
120120from lib .request .basicauthhandler import SmartHTTPBasicAuthHandler
121121from lib .request .certhandler import HTTPSCertAuthHandler
@@ -1719,7 +1719,7 @@ def __setDNSServer():
17191719 if not conf .dnsDomain :
17201720 return
17211721
1722- infoMsg = "making DNS server instance"
1722+ infoMsg = "setting up DNS server instance"
17231723 logger .info (infoMsg )
17241724
17251725 isAdmin = runningAsAdmin ()
@@ -1730,7 +1730,7 @@ def __setDNSServer():
17301730 else :
17311731 errMsg = "you need to run sqlmap as an administrator "
17321732 errMsg += "if you want to perform a DNS data exfiltration attack "
1733- errMsg += "as it will need to listen on privileged TCP port 53 "
1733+ errMsg += "as it will need to listen on privileged UDP port 53 "
17341734 errMsg += "for incoming address resolution attempts"
17351735 raise sqlmapMissingPrivileges , errMsg
17361736
0 commit comments