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