In this chapter, we will build a network scanner that can identify the live hosts on the network and we will also expand it to include guessing the running operating system on each host and opened/closed ports. Usually, gathering this information requires multiple tools and some Linux ninja skills to get the required information but, using Python, we can build our own network scanner code that includes any tools and we can get a customized output.
The following topics will be covered in this chapter:
- Understanding the network scanner
- Building a network scanner with Python
- Sharing your code on GitHub