Skip to content

Commit

Permalink
py36
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed May 30, 2018
1 parent d274540 commit e873a6e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ install: pip -q install -e .[tests]
script:
- python findssh.py
- mypy findssh.py
- flake8 findssh.py
- flake8


after_success:
Expand Down
9 changes: 2 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
=======
findssh
=======
Platform-independent Python >= 3.5 script that finds SSH servers (or other services with open ports) on an IPv4 subnet, 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>`_.

:author: Michael Hirsch, Ph.D.


.. contents::

Install
Expand Down Expand Up @@ -68,9 +69,3 @@ Command line options
-b baseip (check other subnet besides your own)
-p port




Notes
=====
Python <= 3.2 is that ``socket`` doesn't have a context manager.
34 changes: 16 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
install_requires = []
tests_require = ['pytest','coveralls','flake8','mypy']
tests_require = ['pytest', 'coveralls', 'flake8', 'mypy']
# %%
from setuptools import setup,find_packages

setup(name='findssh',
packages=find_packages(),
Expand All @@ -13,22 +13,20 @@
description='find open servers on your IPv4 subnet, e.g. SSH.',
install_requires=install_requires,
tests_require=tests_require,
extras_require={'tests':tests_require},
python_requires='>=3.5',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: System :: Networking',
'Topic :: Utilities',
extras_require={'tests': tests_require},
python_requires='>=3.6',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: System :: Networking',
'Topic :: Utilities',
],
scripts=['findssh.py'],
include_package_data=True,
)

)

0 comments on commit e873a6e

Please sign in to comment.