![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=1738928108-D0CawqPxQqreUbCn64XiVYvsCusHdd7p-0-a111ae86257e7b2844e525a84249e143)
- 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=1738928108-ba5vMlZ1Fwo28M3jGo5NFZbR9ngcLpvR-0-65c2ebdb8c020b18c38aac5eb51952fa)