Class: SSHScan::SSHLib::Mpssh
- Inherits:
-
Object
- Object
- SSHScan::SSHLib::Mpssh
- Defined in:
- lib/ssh_scan/ssh_lib/mpssh.rb
Defined Under Namespace
Classes: Version
Instance Method Summary collapse
- #common ⇒ Object
- #cpe ⇒ Object
-
#initialize(banner = nil) ⇒ Mpssh
constructor
A new instance of Mpssh.
- #version ⇒ Object
Constructor Details
#initialize(banner = nil) ⇒ Mpssh
Returns a new instance of Mpssh.
14 15 16 |
# File 'lib/ssh_scan/ssh_lib/mpssh.rb', line 14 def initialize( = nil) @banner = end |
Instance Method Details
#common ⇒ Object
25 26 27 |
# File 'lib/ssh_scan/ssh_lib/mpssh.rb', line 25 def common "mpssh" end |
#cpe ⇒ Object
29 30 31 |
# File 'lib/ssh_scan/ssh_lib/mpssh.rb', line 29 def cpe "a:mpssh:mpssh" << (":" + version.to_s) unless version.nil? end |