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

Method get_libssh_software

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

Source from the content-addressed store, hash-verified

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))
24 return self.software.parse(b)
25
26 def test_dropbear_compare_version_pre_years(self):
27 s = self.get_dropbear_software('0.44')

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected