find open servers on your IPv4 subnet, e.g. SSH.
Project description
findssh
Platform-independent Python >= 3.5 script that finds SSH servers (or other services with open ports) on an IPv4 subnet, WITHOUT NMAP.
- author:
Michael Hirsch, Ph.D.
Install
You can just run findssh.py directly, but to allow use from other programs, you can install by:
pip install findssh
or from this repo:
pip install -e .
Usage
Takes about 40 seconds to scan an IPv4 subnet.
from Terminal:
python findssh.py
or from within Python
import findssh
findssh.run()
Command line options
- -s
checks the string from the server to attempt to verify the correct service has been found.
- -t
timeout
- -b
baseip (check other subnet besides your own)
- -p
port
Future
consider non-blocking/threading
Notes
Python <= 3.2 is that socket doesn’t have a context manager.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.