dnsx:dnsx是一种快速且多功能的DNS工具包,可运行带有用户提供的解析器列表的多种DNS查询

  • E0_792477
    了解作者
  • 281KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-19 09:56
    上传日期
dnsx是一种快速且多功能的DNS工具包,它允许使用库运行多个探测器,该库允许您使用用户提供的解析器列表执行您选择的多个DNS查询。 dnsx是继任 ,其中包括新的功能,多重错误的修复,以及更好的用户体验量身定制的,几个显着的标志是resp和resp-only允许控制和打印您正在寻找的确切信息。 我们还将DNS通配符过滤功能从移植到dnsx,作为独立支持。 资源 特征 简单方便的实用程序来查询DNS记录。 支持A,AAAA,CNAME,PTR,NS,MX,TXT,SOA 以自动化方式处理通配符子域。 经过优化,易于使用。 Stdin和stdout支持与其他工具一起使用。 用法 dnsx -h 这将显示该工具的帮助。 这是它支持的所有开关。 旗帜 描述 例子 一个 查询A记录 dnsx -a a 查询AAAA记录 dnsx -aaaa 名字 查询CNAME记录 d
dnsx-master.zip
  • dnsx-master
  • .github
  • ISSUE_TEMPLATE
  • issue-report.md
    383B
  • feature_request.md
    374B
  • workflows
  • dockerhub-push.yml
    525B
  • build.yaml
    1.2KB
  • release.yml
    564B
  • dependabot.yml
    941B
  • internal
  • runner
  • runner.go
    10.2KB
  • wildcard.go
    1.4KB
  • options.go
    3.3KB
  • util.go
    1.3KB
  • doc.go
    67B
  • banner.go
    629B
  • libs
  • dnsx
  • util.go
    564B
  • doc.go
    56B
  • dnsx.go
    1.8KB
  • cmd
  • dnsx
  • dnsx.go
    387B
  • static
  • dnsx-logo.png
    20.5KB
  • dnsx-run.png
    274.5KB
  • go.mod
    329B
  • go.sum
    8.1KB
  • Dockerfile
    209B
  • LICENSE.md
    1.1KB
  • README.md
    8.4KB
  • Makefile
    254B
  • .goreleaser.yml
    358B
  • .gitignore
    29B
内容介绍
<h1 align="left"> </a> <br> </h1> [![License](https://img.shields.io/badge/license-MIT-_red.svg)](https://opensource.org/licenses/MIT) [![Go Report Card](https://goreportcard.com/badge/github.com/projectdiscovery/dnsx)](https://goreportcard.com/report/github.com/projectdiscovery/dnsx) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/projectdiscovery/dnsx/issues) [![GitHub Release](https://img.shields.io/github/release/projectdiscovery/dnsx)](https://github.com/projectdiscovery/dnsx/releases) [![Homebrew](https://img.shields.io/badge/dynamic/json.svg?url=https://formulae.brew.sh/api/formula/dnsx.json&query=$.versions.stable&label=homebrew)](https://formulae.brew.sh/formula/dnsx) [![Follow on Twitter](https://img.shields.io/twitter/follow/pdiscoveryio.svg?logo=twitter)](https://twitter.com/pdiscoveryio) [![Chat on Discord](https://img.shields.io/discord/695645237418131507.svg?logo=discord)](https://discord.gg/KECAGdH) **dnsx** is a fast and multi-purpose DNS toolkit allow to run multiple probers using [retryabledns](https://github.com/projectdiscovery/retryabledns) library, that allows you to perform multiple DNS queries of your choice with a list of user supplied resolvers. dnsx is successor of [dnsprobe](https://github.com/projectdiscovery/dnsprobe) that includes new features, multiple bugs fixes, and tailored for better user experience, few notable flags are `resp` and `resp-only` that allows to control and print the exact information you are looking for. We also ported DNS wildcard filtering feature to dnsx from [shuffledns](https://github.com/projectdiscovery/shuffledns) as a standalone support. # Resources - [Resources](#resources) - [Features](#features) - [Usage](#usage) - [Installation Instructions](#installation-instructions) - [From Source](#from-source) - [From Source](#from-source-1) - [From Github](#from-github) - [Install via brew](#install-via-brew) - [Running dnsx](#running-dnsx) - [Wildcard filtering](#wildcard-filtering) - [📋 Notes](#-notes) # Features <h1 align="left"> </a> <br> </h1> - Simple and Handy utility to query DNS records. - Supports **A, AAAA, CNAME, PTR, NS, MX, TXT, SOA** - Handles wildcard subdomains in automated way. - Optimized for **ease of use**. - **Stdin** and **stdout** support to work with other tools. # Usage ```sh dnsx -h ``` This will display help for the tool. Here are all the switches it supports. | Flag | Description | Example | | --------- | ---------------------------------- | --------------------- | | a | Query A record | dnsx -a | | aaaa | Query AAAA record | dnsx -aaaa | | cname | Query CNAME record | dnsx -cname | | ns | Query NS record | dnsx -ns | | ptr | Query PTR record | dnsx -ptr | | txt | Query TXT record | dnsx -txt | | mx | Query MX record | dnsx -mx | | soa | Query SOA record | dnsx -soa | | raw | Operates like dig | dnsx -raw | | l | File input list of subdomains/host | dnsx -l list.txt | | json | JSON output | dnsx -json | | r | File or comma separated resolvers | dnsx -r 1.1.1.1 | | rl | Limit of DNS request/second | dnsx -rl 100 | | resp | Display response data | dnsx -cname -resp | | resp-only | Display only response data | dnsx -cname resp-only | | retry | Number of DNS retries | dnsx -retry 1 | | silent | Show only results in the output | dnsx -silent | | o | File to write output to (optional) | dnsx -o output.txt | | t | Concurrent threads to make | dnsx -t 250 | | verbose | Verbose output | dnsx -verbose | | version | Show version of dnsx | dnsx -version | | wd | Wildcard domain name for filtering | dnsx -wd example.com | | wt | Wildcard Filter Threshold | dnsx -wt 5 | # Installation Instructions ### From Source The installation is easy. You can download the pre-built binaries for your platform from the [Releases](https://github.com/projectdiscovery/dnsx/releases/) page. Extract them using tar, move it to your `$PATH`and you're ready to go. ```sh Download latest binary from https://github.com/projectdiscovery/dnsx/releases ▶ tar -xvf dnsx-linux-amd64.tar ▶ mv dnsx-linux-amd64 /usr/local/bin/dnsx ▶ dnsx -h ``` ### From Source **dnsx** requires **go1.15+** to install successfully. Run the following command to get the repo - ```sh ▶ GO111MODULE=on go get -v github.com/projectdiscovery/dnsx/cmd/dnsx ``` ### From Github ```sh ▶ git clone https://github.com/projectdiscovery/dnsx.git; cd dnsx/cmd/dnsx; go build; mv dnsx /usr/local/bin/; dnsx -version ``` ### Install via brew If you're macOS user and using [Homebrew](https://brew.sh/), you can install via `brew` command: ```sh $ brew install dnsx ``` ### Running dnsx **dnsx** can be used to filter dead records from the list of passive subdomains obtained from various sources, for example:- ```sh ▶ subfinder -silent -d hackerone.com | dnsx _ __ __ __| | _ __ ___ \ \/ / / _' || '_ \ / __| \ / | (_| || | | |\__ \ / \ \__,_||_| |_||___//_/\_\ v1.0 projectdiscovery.io [WRN] Use with caution. You are responsible for your actions [WRN] Developers assume no liability and are not responsible for any misuse or damage. a.ns.hackerone.com www.hackerone.com api.hackerone.com docs.hackerone.com mta-sts.managed.hackerone.com mta-sts.hackerone.com resources.hackerone.com b.ns.hackerone.com mta-sts.forwarding.hackerone.com events.hackerone.com support.hackerone.com ``` **dnsx** can be used to extract **A** records for the given list of subdomains, for example:- ```sh ▶ subfinder -silent -d hackerone.com | dnsx -silent -a -resp a.ns.hackerone.com [162.159.0.31] b.ns.hackerone.com [162.159.1.31] mta-sts.hackerone.com [185.199.108.153] events.hackerone.com [208.100.11.134] mta-sts.managed.hackerone.com [185.199.108.153] resources.hackerone.com [52.60.160.16] resources.hackerone.com [52.60.165.183] www.hackerone.com [104.16.100.52] support.hackerone.com [104.16.53.111] ``` **dnsx** can be used to extract **CNAME** records for the given list of subdomains, for example:- ```sh ▶ subfinder -silent -d hackerone.com | dnsx -silent -cname -resp support.hackerone.com [hackerone.zendesk.com] resources.hackerone.com [read.uberflip.com] mta-sts.hackerone.com [hacker0x01.github.io] mta-sts.forwarding.hackerone.com [hacker0x01.github.io] events.hackerone.com [whitelabel.bigmarker.com] ``` **dnsx** can be used to extract subdomains from given network range using `PTR` query, for example:- ```sh mapcidr -cidr 173.0.84.0/24 -silent | dnsx -silent -resp-only -ptr cors.api.paypal.com trinityadminauth.paypal.com cld-edge-origin-api.paypal.com appmanagement.paypal.com svcs.paypal.com trinitypie-serv.paypal.com ppn.paypal.com pointofsale-new.paypal.com pointofsale.paypal.com slc-a-origin-pointofsale.paypal.com fpdbs.paypal.com ``` ### Wildcard filtering A special feature of **dnsx** is its ability to handle **multi-level DNS based wildcards** and do it so with very less number of DNS requests. Sometimes all the subdomains will resolve which will lead to lots of garbage in the results. The way **dnsx** handles this is it will keep track of how many subdomains point to an IP and if the count of the Subdomains incre
评论
    相关推荐
    • medved:基于 Web 的 DNS 区域传输自动化
      这是一个基于 Web 的工具,旨在自动搜索域转移。 它有一个直观的界面和一些有用的快捷方式。 作为输入,它需要一个域或域列表。 理想情况下,列表应该以逗号分隔,但它也将处理空格或 CR-LF 分隔的列表。 除了正常...
    • win2008 WDS 自动化部署安装win2008服务器
      win2008 WDS 自动化部署安装win2008服务器
    • 机器人::robot:Twente.me项目的自动化
      :robot: 特温特·波特 Twente Bot是使用的数据文件配置Cloudflare DNS设置的自动化工具。 状态 机器人 码 :page_with_curl: 执照 代码::copyright: 机器人图标:CC-BY-3.0:copyright:
    • CentOS 7自动化配置
      该程序主要可以对安装好的centos系统进行自动化配置,主要包括(网络、yum源、pip源、kernel、yum和pip安装的包),程序执行完之后会在待安装机器根目录下生成一个installLog.txt文件,里面学习记载了此次安装的反馈...
    • AutoTest:基于java语言的接口自动化
      AutoTest:基于java语言的接口自动化
    • 零管道:网络自动化管道演示
      网络管道演示-(Meraki,NS1和Umbrella... 此回购是网络自动化管道的演示,汇集了Meraki(网络,环境传感器和IP摄像机),NS1(IPAM),Umbrella(DNS安全和安全Internet网关)和Stealthwatch Cloud(网络行为分析)。
    • mosint:自动化的电子邮件OSINT工具
      DNS查询 ! 您可以从config.json关闭功能 ! [ { " verify-email.org API Key " : " set API KEY here " , " hunter.io API Key " : " set API KEY here " , " Breached Sites[leak-lookup.com API Key] " : " ...
    • Cobbler 企业级自动化部署
      同时让许多相关联操作的一并执行,因此在部署新系统时,我们不必要参与太多或在应用程序之间来回切换,在简化操作同时也降低操作故障的发生,同时Cobbler也帮助我们自动化配置和管理 DNS、DHCP、软件包更新、电源...
    • AWS资源自动化
      该堆栈使用variables.json文件中提供的参数实例EC2实例。 有一个与EC2堆栈相关联的RDS实例,可以使用用户提供的凭据启动。 云形成堆栈堆栈将在aws帐户中创建以下资源。 VPC 应用程序安全组为应用程序打开端口 ...
    • SIM800C_MQTT.rar
      使用SIM800C模块,使用MQTT协议,连接中国移动onenet平台,能实现数据的订阅、发布、存储等