mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 10:31:41 +01:00
commit
7314d780e7
@ -47,7 +47,7 @@ usage: ssh-audit.py [-bnv] [-l <level>] <host[:port]>
|
|||||||
- implement full SSH1 support with fingerprint information
|
- implement full SSH1 support with fingerprint information
|
||||||
- automatically fallback to SSH1 on protocol mismatch
|
- automatically fallback to SSH1 on protocol mismatch
|
||||||
- add new options to force SSH1 or SSH2 (both allowed by default)
|
- add new options to force SSH1 or SSH2 (both allowed by default)
|
||||||
- parse banner information and convert it to specific sofware and OS version
|
- parse banner information and convert it to specific software and OS version
|
||||||
- do not use padding in batch mode
|
- do not use padding in batch mode
|
||||||
- several fixes (Cisco sshd, rare hangs, error handling, etc)
|
- several fixes (Cisco sshd, rare hangs, error handling, etc)
|
||||||
|
|
||||||
|
@ -223,7 +223,7 @@ class TestSoftware(object):
|
|||||||
assert s.display(False) == str(s)
|
assert s.display(False) == str(s)
|
||||||
assert repr(s) == '<Software(vendor=Cisco, product=IOS/PIX sshd, version=1.25)>'
|
assert repr(s) == '<Software(vendor=Cisco, product=IOS/PIX sshd, version=1.25)>'
|
||||||
|
|
||||||
def test_sofware_os(self):
|
def test_software_os(self):
|
||||||
ps = lambda x: self.ssh.Software.parse(self.ssh.Banner.parse(x))
|
ps = lambda x: self.ssh.Software.parse(self.ssh.Banner.parse(x))
|
||||||
# unknown
|
# unknown
|
||||||
s = ps('SSH-2.0-OpenSSH_3.7.1 MegaOperatingSystem 123')
|
s = ps('SSH-2.0-OpenSSH_3.7.1 MegaOperatingSystem 123')
|
||||||
|
Loading…
Reference in New Issue
Block a user