MCPcopy
hub / github.com/jtesta/ssh-audit / get_openssh_software

Method get_openssh_software

test/test_version_compare.py:18–20  ·  view source on GitHub ↗
(self, v)

Source from the content-addressed store, hash-verified

16 return self.software.parse(b)
17
18 def get_openssh_software(self, v):
19 b = self.banner.parse('SSH-2.0-OpenSSH_{}'.format(v))
20 return self.software.parse(b)
21
22 def get_libssh_software(self, v):
23 b = self.banner.parse('SSH-2.0-libssh-{}'.format(v))

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected