Find device open network ports without NMAP
Using the standard Python install (no extra packages), find SSH or other types of servers by Python script.
It uses Python sockets to:
- check if a port is open for each address in a subnet
- connects to that port, printing server messages
- optionally looks for a particular string to verify the server is enabled.
Alternative: find servers with unknown IP address but known ports open is by using Nmap.