![Kali Linux:An Ethical Hacker's Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/618/36700618/b_36700618.jpg)
上QQ阅读APP看书,第一时间看更新
Dnscan
Dnscan is a Python tool that uses a wordlist to resolve valid subdomains. To learn about Dnscan follow the given steps:
- We will use a simple command to clone the git repository:
git clone https://github.com/rbsec/dnscan.git
The following screenshot shows the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/1b3a9999-7211-40f8-89c8-6e339f360298.png?sign=1739297064-eGXHagOVTOZkr7BHpR9PkYkENANinMFE-0-6e8ea44c012d9dff2169ed2516f14d39)
- You can also download and save it from https://github.com/rbsec/dnscan.
- Next we browse into the directory where we downloaded Dnscan.
- Run Dnscan by using the following command:
./dnscan.py -h
The following screenshot shows the output for the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/a55ea837-56bf-401f-983b-bb65f75ad479.png?sign=1739297064-CG5AbrX3RBWmdJ6ZSvOATlb5SuHL91WL-0-79605d8a992a447b06c8ac1d8e75652a)