介紹
dnsx是一個快速的多用途DNS工具包,設(shè)計用于通過retryabledns庫運行各種探測。它支持多個DNS查詢、用戶提供的解析器、DNS 通配符過濾(如shuffledns等)。
特征
-
簡單方便的 DNS 記錄查詢實用程序。
-
A、AAAA、CNAME、PTR、NS、MX、TXT、SRV、SOA查詢支持
-
DNS解析/暴力支持
-
自定義解析器輸入支持
-
多種解析器格式(TCP/UDP/DOH/DOT)支持
-
標(biāo)準(zhǔn)輸入和標(biāo)準(zhǔn)輸出支持
-
自動通配符處理支持
安裝說明
dnsx
需要go1.19才能安裝成功。運行以下命令安裝最新版本:
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest
用法
dnsx -h
這將顯示該工具的幫助。這是它支持的所有交換機。
INPUT:
-l, -list string list of sub(domains)/hosts to resolve (file or stdin)
-d, -domain string list of domain to bruteforce (file or comma separated or stdin)
-w, -wordlist string list of words to bruteforce (file or comma separated or stdin)
QUERY:
-a query A record (default)
-aaaa query AAAA record
-cname query CNAME record
-ns query NS record
-txt query TXT record
-srv query SRV record
-ptr query PTR record
-mx query MX record
-soa query SOA record
-axfr query AXFR
-caa query CAA record
-any query ANY record
FILTER:
-re, -resp display dns response
-ro, -resp-only display dns response only
-rc, -rcode string filter result by dns status code (eg. -rcode noerror,servfail,refused)
PROBE:
-cdn display cdn name
-asn display host asn information
RATE-LIMIT:
-t, -threads int number of concurrent threads to use (default 100)
-rl, -rate-limit int number of dns request/second to make (disabled as default) (default -1)
UPDATE:
-up, -update update dnsx to latest version
-duc, -disable-update-check disable automatic dnsx update check
OUTPUT:
-o, -output string file to write output
-j, -json write output in JSONL(ines) format
-omit-raw, -or omit raw dns response from jsonl output
DEBUG:
-hc, -health-check run diagnostic check up
-silent display only results in the output
-v, -verbose display verbose output
-raw, -debug display raw dns response
-stats display stats of the running scan
-version display version of dnsx
OPTIMIZATION:
-retry int number of dns attempts to make (must be at least 1) (default 2)
-hf, -hostsfile use system host file
-trace perform dns tracing
-trace-max-recursion int Max recursion for dns trace (default 32767)
-resume resume existing scan
-stream stream mode (wordlist, wildcard, stats and stop/resume will be disabled)
CONFIGURATIONS:
-r, -resolver string list of resolvers to use (file or comma separated)
-wt, -wildcard-threshold int wildcard filter threshold (default 5)
-wd, -wildcard-domain string domain name for wildcard filtering (other flags will be ignored)
下載地址:
https://github.com/projectdiscovery/dnsx
-
DNS
+關(guān)注
關(guān)注
0文章
211瀏覽量
19702 -
工具包
+關(guān)注
關(guān)注
0文章
45瀏覽量
9500
原文標(biāo)題:安全挖掘快速多用途工具
文章出處:【微信號:菜鳥學(xué)信安,微信公眾號:菜鳥學(xué)信安】歡迎添加關(guān)注!文章轉(zhuǎn)載請注明出處。
發(fā)布評論請先 登錄
相關(guān)推薦
評論