![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=1738841608-seCbE0YNR51A8535Z2T1XwIgoLGF15pb-0-9c99729ec0d857d1691305cf4b1b2554)
- 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=1738841608-6sajCR6kAOOR4xqUPzSf14sh8DsCYgs0-0-ae8ea6a5e2b20883913744a09f93ff02)