Finding subdomains of a particular website let you explore the full domain infrastructure of it. Building such a tool is really handy when it comes to information gathering phase in penetration testing for ethical hackers.
Searching for subdomains manually would take forever. Luckily, we don’t have to do that, in this tutorial, we will build a subdomain scanner in Python using requests library. Let’s get started!
Let’s install it: