find open servers on your IPv4 subnet, e.g. SSH.
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.|
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 .
Takes about 40 seconds to scan an IPv4 subnet.
or from within Python
import findssh findssh.run()
|-s||checks the string from the server to attempt to verify the correct service has been found.|
|-b||baseip (check other subnet besides your own)|
Python <= 3.2 is that socket doesn’t have a context manager.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, Size & Hash SHA256 Hash Help||File Type||Python Version||Upload Date|
(5.7 kB) Copy SHA256 Hash SHA256
|Wheel||py3||Feb 28, 2018|
(3.9 kB) Copy SHA256 Hash SHA256
|Source||None||Feb 28, 2018|