Commit Graph

89 Commits

Author SHA1 Message Date
Andris Raugulis d07d5078cb Do not capture unnecessary regex groups. 2016-09-07 19:22:47 +03:00
Andris Raugulis c68211b8e7 Wait for server banner, before sending client banner (fixes Cisco sshd). 2016-09-07 14:32:40 +03:00
Andris Raugulis 280a37ba20 Protocol is numbers. 2016-09-07 13:00:53 +03:00
Andris Raugulis 2ae93b1934 Reduce multiple protocol prefixed banner. 2016-09-07 12:58:03 +03:00
Andris Raugulis 673b88b2b1 Select the least protocol if banner has double protocol. 2016-09-07 12:22:51 +03:00
Andris Raugulis 19ee986e3d Extract banner and recognize other SSH1 banners (e.g, 1.3-1.5). 2016-09-06 18:55:17 +03:00
Andris Raugulis f7cd4fd954 Better packet parsing error output (e.g., protocol mismatch). 2016-09-06 15:25:29 +03:00
Andris Raugulis 72b0c2e216 Document new arguments. 2016-09-02 18:08:15 +03:00
Andris Raugulis 0a5d66fcde Refactor KexDB. 2016-09-02 17:56:47 +03:00
Andris Raugulis fba6397721 Multiple style fixes (protector, veryhigh). 2016-09-02 17:22:00 +03:00
Andris Raugulis c759e53779 Batch implies Verbose. 2016-09-02 16:32:32 +03:00
Andris Raugulis 34ae7d9bec Fix typos. 2016-09-02 16:31:16 +03:00
Andris Raugulis 5189c341f3 Implement new features: minimum output level and batch output. 2016-09-02 16:25:57 +03:00
Andris Raugulis ef8d727356 Fix compatibility with Python 2.6. Fixes #3. 2016-08-30 15:09:59 +03:00
Andris Raugulis eb7cb4a36a Release v1.0.20160812. 2016-08-12 16:29:51 +03:00
Andris Raugulis d4d8c6a659 Parse pre-banner header. Handle sock read/write errors. 2016-08-12 16:20:32 +03:00
Andris Raugulis 07ca434061 Fix Dropbear SSH version typo. 2016-08-12 04:40:13 +03:00
Andris Raugulis 744aec76fb Finish implementing compatibility feature.
Fix wrong algorithm warning.
Stop on empty packet.
2016-08-12 04:28:46 +03:00
Andris Raugulis 6df21a9891 Implement compatibility checker (based on returned algorithms). 2016-08-11 19:40:10 +03:00
Andris Raugulis 4ba3485664 More output refactor. 2016-08-11 18:47:27 +03:00
Andris Raugulis 96da1af9ef Refactor result output. 2016-08-11 18:45:14 +03:00
Andris Raugulis 2c84824378 Update version number. 2016-08-03 17:35:35 +03:00
Andris Raugulis f82c9825d9 Add new key-exchange algorithms.
Use OpenSSH 7.3 banner.
2016-08-03 17:32:46 +03:00
Andris Raugulis 5af8859d6b Add initial code for Diffie-Hellman key exchange. 2016-04-01 18:37:20 +03:00
Andris Raugulis 926b78889e Add write buffer, implement ssh packet sending. Use shared block size. 2016-04-01 18:30:54 +03:00
Andris Raugulis b8201f2550 Add re-entrant banner retrieval method. 2016-04-01 18:19:18 +03:00
Andris Raugulis 06992d7da6 Refactor ssh connection within class for future improvements. 2016-04-01 17:56:06 +03:00
Andris Raugulis d834074378 Use OpenSSH 7.2 banner.
Add OpenSSH 7.2 warning messages.
Fix OpenSSH 7.0 failure messages.
Add forgotten failure on rijndael-cbc.
Bump version.
2016-03-07 12:58:13 +02:00
Andris Raugulis 6f70e328b2 Add warnings for encryption and MAC.
Add none cipher and MAC.
2016-01-05 18:02:05 +02:00
Andris Raugulis ca9baf80b8 Fail on unsafe elliptic curves. 2016-01-05 17:01:04 +02:00
Andris Raugulis e8fd13e2d8 Add warnings for Kex and Ciphers. 2016-01-05 16:58:42 +02:00
Andris Raugulis 9d4625d9a0 Version bump. 2016-01-05 14:12:03 +02:00
Andris Raugulis 122588cb00 Better compression handling. 2016-01-05 14:10:48 +02:00
Andris Raugulis c485ffb01e Ensure reading enough data. 2016-01-05 14:10:02 +02:00
Andris Raugulis 716b6acaaa Version bump. 2015-12-30 13:09:42 +02:00
Andris Raugulis 92e6aabcc8 Add Dropbear SSH historical information. 2015-12-30 13:07:50 +02:00
Andris Raugulis f15f7dac23 Add support for dropbear sshd:
- send client banner first
- use data read in first chunk (buffer data)
2015-12-29 17:28:08 +02:00
Andris Raugulis 8ac2750cca Remove unused variable. 2015-12-23 06:02:20 +02:00
Andris Raugulis 3fccc44bc7 Import source. 2015-12-23 05:01:24 +02:00