Joe Testa
c9dc9a9c10
Now issues a warning when 2048-bit moduli are encountered.
2023-02-06 16:27:30 -05:00
Joe Testa
32ff04c2cc
Added Tox testing for Python 3.11. Fixed flake8 & pylint errors.
2023-02-01 17:56:54 -05:00
thecliguy
e50ac5c84d
Gex test usage text ( #158 )
...
* Reformatted Usage Text for --gex-test in README.md
* Reformatted Usage Text for --gex-test in ssh_audit.py
Reformatted to adhere to a max line length of 80 characters.
2022-10-27 10:11:05 -04:00
Joe Testa
11905ed44a
Fixed pylint errors, consolidated error checking for granular GEX tests, renamed functions for better readability.
2022-03-24 10:53:47 -04:00
Adam Russell
19f192d21f
Corrected accidental text update and a minor typo.
2022-03-24 10:53:47 -04:00
Adam Russell
5ac0ffa8f1
DH GEX Modulus Size Testing
2022-03-24 10:53:47 -04:00
Joe Testa
4ace52a190
Now prints a more user-friendly error message when installed as a Snap package and permission errors are encountered. Updated the Snap build process as well.
2021-10-14 23:56:03 -04:00
tomatohater1337
1f0b3acff2
Complete "target" in the JSON output with the port ( #123 )
...
* Complete "target" in JSON output with the port
The JSON output was not showing the port of the target which was scanned. This could be problematic when scanning a host with more than one ssh service running.
* Docker tests completet with the port of the scan target in the JSON output
2021-10-13 23:44:55 -04:00
a1346054
597b500eba
Minor cleanups ( #116 )
...
* docker_test.sh: fix shellcheck warnings
* docker_test.sh: unify style
No changes in functionality.
* docker_test.sh: whitespace fixes
* stop mixing tabs and spaces
* remove trailing whitespace
* invoke bash using /usr/bin/env
* build_windows_executable.sh: fix variable assignment
* update_windows_man_page.sh: unify style
No changes in functionality.
* whitespace fixes
* stop mixing tabs and spaces
* remove trailing whitespace
* fix spelling
* remove trailing whitespace
2021-08-27 11:19:18 -04:00
Joe Testa
e7d320f602
Fixed new pylint warnings.
2021-08-25 13:28:30 -04:00
Joe Testa
aa21df29e7
Now handles exceptions during server KEX parsing more gracefully.
2021-05-24 19:50:25 -04:00
Joe Testa
32ed9242af
Now prints JSON with indents when is used (useful for debugging).
2021-05-20 19:04:35 -04:00
Joe Testa
07862489c4
Added MD5 fingerprint hashes to verbose output.
2021-05-20 18:03:24 -04:00
Joe Testa
8e9fe20fac
SSH_Socket's constructor now takes an OutputBuffer for verbose & debugging output.
2021-03-02 11:25:37 -05:00
thecliguy
83bd049486
Debug Logging and visibility of SSH Connection errors ( #99 )
...
* Debug Logging and visibility of SSH Connection errors
* Updated date in man page
2021-03-02 11:06:40 -05:00
Joe Testa
b300ad1252
Refactored IPv4/6 preference logic to fix pylint warnings.
2021-02-23 16:05:01 -05:00
thecliguy
8a8c284d9a
Colour no longer disabled on older vers of Windows. If ssh-audit invoked with a manual parameter and the colorama library was not imported then colour output is disabled. ( #95 )
2021-02-18 14:52:08 -05:00
Joe Testa
1b7cfbec71
Disable color output on Windows 8 and Windows Server 2012.
2021-02-06 11:03:39 -05:00
Joe Testa
ef831d17e0
When -n/--no-colors is used, strip out color from Windows man page.
2021-02-05 21:45:56 -05:00
Joe Testa
36094611ce
Fixed unicode errors when printing the man page on Windows.
2021-02-05 20:39:12 -05:00
Joe Testa
11e2e77585
Simplified Windows man page processing. Added Cygwin support to update_windows_man_page.sh.
2021-02-05 16:25:04 -05:00
thecliguy
090b5d760b
Man Page on Windows ( #93 )
...
* Man Page on Windows
* Corrected typo in update_windows_man_page.sh
* Check that the 'sed' (stream editor) binary exists
2021-02-05 15:43:50 -05:00
Joe Testa
e0f0956edc
Added extra warnings for SSHv1. ( #6 )
2021-02-02 12:20:37 -05:00
Joe Testa
13d15baa2a
Added multi-threaded scanning support.
2021-02-01 13:10:06 -05:00
Joe Testa
bbb81e24ab
Streamlined sending of KEXINIT messages.
2021-01-21 11:23:40 -05:00
Joe Testa
60de5e55cb
Transformed comment type annotations to variable declaration annotations.
2021-01-21 10:20:48 -05:00
Joe Testa
52d1e8f27b
Fixed pylint warning.
2020-11-05 20:28:14 -05:00
thecliguy
a3e4f9dbaa
Added similar algorithm suggestions to --lookup ( #80 )
2020-10-28 11:56:12 -04:00
Joe Testa
046c866da4
Moved built-in policies from external files to internal database. ( #75 )
2020-10-19 17:27:37 -04:00
Joe Testa
1a5c0e7fad
Split ssh_audit.py into separate files ( #47 ).
2020-10-15 14:34:23 -04:00
Joe Testa
6497213900
Fixed docker tests.
2020-10-11 14:41:58 -04:00
Ganden Schaffner
b15664929f
Improve PyPI packaging ( #71 )
...
* Move files for better setup.py packaging
* Update setup.py and configs for src layout
* Run tests on setup.py build
In effect, this tests that the setup.py configuration is correct.
coverage combine and coverage:paths are added to keep the displayed
coverage paths as src/ssh_audit/*.py instead of
.tox/$envname/**/site-packages/ssh_audit/*.py
* Remove unnecessary encoding declarations
Python 3 defaults to UTF-8 encoding.
https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations
* Remove shebang from colorama type stubs
Shouldn't need to be an executable.
Related: git has this file tracked as chmod -x.
2020-10-11 14:03:02 -04:00