mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-29 05:46:58 +01:00
Fixed typos
This commit is contained in:
parent
4684ff0113
commit
8018209dd1
@ -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)
|
||||||
|
|
||||||
|
@ -225,7 +225,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)) # noqa
|
ps = lambda x: self.ssh.Software.parse(self.ssh.Banner.parse(x)) # noqa
|
||||||
# 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