-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
84 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[run] | ||
cover_pylib = false | ||
omit = | ||
/home/travis/virtualenv/* | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ | ||
RuntimeError | ||
NotImplementedError | ||
ImportError | ||
KeyError | ||
FileNotFoundError | ||
logging.warning | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[![Travis-CI status](https://travis-ci.org/scivision/findssh.svg?branch=master)](https://travis-ci.org/scivision/findssh) | ||
[![Coverage percent](https://coveralls.io/repos/github/scivision/findssh/badge.svg?branch=master)](https://coveralls.io/github/scivision/findssh?branch=master) | ||
[![AppVeyor-CI status](https://ci.appveyor.com/api/projects/status/pk5ebkekh0u4q90t?svg=true)](https://ci.appveyor.com/project/scivision/findssh) | ||
[![PyPi versions](https://img.shields.io/pypi/pyversions/findssh.svg)](https://pypi.python.org/pypi/findssh) | ||
[![PyPi format](https://img.shields.io/pypi/format/findssh.svg)](https://pypi.python.org/pypi/findssh) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/c7409d3c78d12c3df14b/maintainability)](https://codeclimate.com/github/scivision/findssh/maintainability) | ||
[![PyPi Download stats](http://pepy.tech/badge/findssh)](http://pepy.tech/project/findssh) | ||
|
||
# Find SSH servers (without NMAP) | ||
|
||
Platform-independent **Python ≥ 3.6** script that finds SSH servers (or other services with open ports) on an IPv4 subnet, WITHOUT NMAP. | ||
Scans entire IPv4 subnet in less than 1 second using 100 threads via Python standard library | ||
[concurrent.futures](https://docs.python.org/3/library/concurrent.futures.html). | ||
|
||
## Install | ||
|
||
Just run `findssh.py` directly. | ||
To allow use from other programs, you can install by: | ||
|
||
pip install findssh | ||
|
||
or from this repo: | ||
|
||
pip install -e . | ||
|
||
|
||
## Usage | ||
|
||
findssh | ||
|
||
or from within Python | ||
|
||
```python | ||
import findssh | ||
|
||
findssh.run() | ||
``` | ||
|
||
### Command line options | ||
|
||
* `-s` check the string from the server to attempt to verify the correct service has been found | ||
* `-t` timeout per server (seconds) useful for high latency connection | ||
* `-b` baseip (check other subnet besides your own) | ||
* `-p` network port to scan (default 22) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[flake8] | ||
max-line-length = 132 | ||
exclude = .git,__pycache__,doc/,docs/,build/,dist/,archive/ | ||
|
||
[metadata] | ||
description-file = README.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters