Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #49

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
dd3ca96
Back to development version.
arthepsy Oct 26, 2016
44c1d48
Specify error when couldn't get banner. Test for timeout and retry ca…
arthepsy Nov 2, 2016
b3ed4c7
Add LICENSE file (#22)
Fale Nov 2, 2016
11b6155
Use Python defined error numbers.
arthepsy Nov 2, 2016
5bb0ae0
Rework is/to ASCII and implement printable ASCII is/to functions.
arthepsy Nov 2, 2016
6c4b9fc
Banner should be in printable ASCII, not the whole ASCII space.
arthepsy Nov 2, 2016
6fde896
Add resolve tests.
arthepsy Nov 2, 2016
9a409e8
Refactor outer functions within classes.
arthepsy Nov 3, 2016
ff500ba
Add OpenSSH CVE list (#25)
besamelsosu Jan 23, 2017
c9443e6
Fix pyp3 version for Travis-CI (https://github.com/travis-ci/travis-c…
arthepsy Jan 23, 2017
54b0960
Upgrade to Mypy 0.470. Add colorama stub. Fix identation.
arthepsy Jan 23, 2017
9ac03d3
Add OpenSSH 7.4 changes and use as default banner.
arthepsy Jan 24, 2017
94a74e9
Reviewed libssh-0.7.4 changes.
arthepsy Feb 13, 2017
65ef250
Upgrade to Mypy 0.501 and fix issues. Add requirements.txt.
arthepsy Mar 23, 2017
d3ba5a4
Use tox, use codecov, work around pypy3 issues.
arthepsy Mar 25, 2017
8b7659c
Remove unnecessary files, now that everything is in tox. Add codecov …
arthepsy Mar 25, 2017
cfae0d0
Fix vulture output for Python 3.
arthepsy Mar 25, 2017
29d9e42
Fix flake8 reported issues.
arthepsy Mar 25, 2017
6d9f5e6
Refactor tox.ini to be more versatile.
arthepsy Mar 26, 2017
74d1b5c
Fix pylint's bad-builtin and deprecated-lambda with list comprehension.
arthepsy Mar 26, 2017
3ebb591
Ignore pylint's else-if-used in validly used places.
arthepsy Mar 26, 2017
57a8744
Fix some unused variable warnings.
arthepsy Mar 26, 2017
7684954
It's 2017 already.
arthepsy Mar 26, 2017
0ffb15d
Pylint and flake8 is not supported on Python 2.6.
arthepsy Mar 26, 2017
95ba7d1
Test on Ubuntu 12.04/14.04 and Mac OS X 10.10-10.12.
arthepsy Mar 26, 2017
e91bbb5
Better testing environment.
arthepsy Mar 28, 2017
2f7c64d
Report python version in CI.
arthepsy Mar 28, 2017
041805f
Test with AppVeyor environment.
arthepsy Mar 28, 2017
cab83f8
Update to Xcode 8.3.
arthepsy Mar 30, 2017
f330608
Test with pypy and pypy3 environments.
arthepsy Mar 31, 2017
9fe6984
Integrate SonarQube analysis.
arthepsy Apr 4, 2017
464bb15
Use git commit as dev version suffix. Add badge.
arthepsy Apr 5, 2017
09c2e7b
Fix SonarQube python:S1871.
arthepsy Apr 5, 2017
bb122ff
Replace assertions with exceptions.
arthepsy Apr 5, 2017
c132c62
Remove useless parentheses.
arthepsy Apr 5, 2017
e4bdabb
Fix method type and naming.
arthepsy Apr 5, 2017
0d555d4
Condition must be a boolean fixes.
arthepsy Apr 5, 2017
21a93cb
Condition must be a boolean fixes.
arthepsy Apr 6, 2017
6c8173d
Fix to_ntext test.
arthepsy Apr 6, 2017
774d1c1
Ignore linting long assertion lines.
arthepsy Apr 10, 2017
72a6b9e
Refactor and test SSH.Algorithm.
arthepsy Apr 10, 2017
1d1f842
Refactor output level/colors, fix python:S1845.
arthepsy Apr 10, 2017
9c463b4
Fix lint tox environment.
arthepsy Apr 10, 2017
96d442e
Test Timeframe repr().
arthepsy Apr 11, 2017
d8eb46d
Correct IPv6 parsing in command-line. Fixes #26.
arthepsy May 5, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: '1.7.1.dev.{build}'

build: off
branches:
only:
- master
- develop

environment:
matrix:
- PYTHON: "C:\\Python26"
- PYTHON: "C:\\Python26-x64"
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python33"
- PYTHON: "C:\\Python33-x64"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python36-x64"
matrix:
fast_finish: true

cache:
- '%LOCALAPPDATA%\pip\Cache'
- .downloads -> .appveyor.yml

install:
- "cmd /c .\\test\\tools\\ci-win.cmd install"

test_script:
- "cmd /c .\\test\\tools\\ci-win.cmd test"

on_failure:
- ps: get-content .tox\*\log\*
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*~
*.pyc
html/
venv/
.cache/
venv*/
.cache/
.tox
.coverage*
reports/
.scannerwork/
88 changes: 75 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,80 @@
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
sudo: false
matrix:
include:
# (default)
- os: linux
python: 2.6
- os: linux
python: 2.7
env: SQ=1
- os: linux
python: 3.3
- os: linux
python: 3.4
- os: linux
python: 3.5
- os: linux
python: 3.6
- os: linux
python: pypy
- os: linux
python: pypy3
- os: linux
python: 3.7-dev
# Ubuntu 12.04
- os: linux
dist: precise
language: generic
env: PY_VER=py26,py27,py33,py34,py35,py36,pypy,pypy3 PY_ORIGIN=pyenv
# Ubuntu 14.04
- os: linux
dist: trusty
language: generic
env: PY_VER=py26,py27,py33,py34,py35,py36,pypy,pypy3 PY_ORIGIN=pyenv
# macOS 10.12 Sierra
- os: osx
osx_image: xcode8.3
language: generic
env: PY_VER=py26,py27,py33,py34,py35,py36,pypy,pypy3
# Mac OS X 10.11 El Capitan
- os: osx
osx_image: xcode7.3
language: generic
env: PY_VER=py26,py27,py33,py34,py35,py36,pypy,pypy3
# Mac OS X 10.10 Yosemite
- os: osx
osx_image: xcode6.4
language: generic
env: PY_VER=py26,py27,py33,py34,py35,py36,pypy,pypy3
allow_failures:
# PyPy3 on Travis CI is out of date
- python: pypy3
# Python nightly could fail
- python: 3.7-dev
- env: PY_VER=py37
- env: PY_VER=py37/pyenv
- env: PY_VER=py37 PY_ORIGIN=pyenv
fast_finish: true

cache:
- pip
- directories:
- $HOME/.pyenv.cache
- $HOME/.bin

before_install:
- source test/tools/ci-linux.sh
- ci_step_before_install

install:
- pip install --upgrade pytest
- pip install --upgrade pytest-cov
- pip install --upgrade coveralls
- ci_step_install

script:
- py.test --cov-report= --cov=ssh-audit -v test
- ci_step_script

after_success:
- coveralls
- ci_step_success

after_failure:
- ci_step_failure
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (C) 2017 Andris Raugulis ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ssh-audit
[![build status](https://api.travis-ci.org/arthepsy/ssh-audit.svg)](https://travis-ci.org/arthepsy/ssh-audit)
[![coverage status](https://coveralls.io/repos/github/arthepsy/ssh-audit/badge.svg)](https://coveralls.io/github/arthepsy/ssh-audit)
[![travis build status](https://api.travis-ci.org/arthepsy/ssh-audit.svg?branch=develop)](https://travis-ci.org/arthepsy/ssh-audit)
[![appveyor build status](https://ci.appveyor.com/api/projects/status/4m5r73m0r023edil/branch/develop?svg=true)](https://ci.appveyor.com/project/arthepsy/ssh-audit)
[![codecov](https://codecov.io/gh/arthepsy/ssh-audit/branch/develop/graph/badge.svg)](https://codecov.io/gh/arthepsy/ssh-audit)
[![Quality Gate](https://sonarqube.com/api/badges/gate?key=arthepsy-github%3Assh-audit%3Adevelop&template=ROUNDED)](https://sq.evolutiongaming.com/dashboard?id=arthepsy-github%3Assh-audit%3Adevelop)
**ssh-audit** is a tool for ssh server auditing.

## Features
Expand Down
Loading