Find SSH (or other) servers without NMAP

Using the standard Python install (no extra packages) you can find SSH or other types of servers. My script uses Python sockets to look if a particular port is open, and then connects to that port and optionally looks for a particular string to verify the server is enabled.

Another popular way to find servers with unknown IP address but known ports open is by using nmap.

Leave a Comment