Skip to main content

find open servers on your IPv4 subnet, e.g. SSH.

Project description

https://travis-ci.org/scivision/findssh.svg?branch=master https://coveralls.io/repos/github/scivision/findssh/badge.svg?branch=master Maintainability

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

findssh-1.0.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

findssh-1.0.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page