Merge pull request #20 from radarhere/master

Fixed typo
This commit is contained in:
Andris Raugulis 2016-10-26 12:11:04 +03:00 committed by GitHub
commit 7314d780e7
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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')