Module: SSHScan

Defined in:
lib/ssh_scan/banner.rb,
lib/ssh_scan/client.rb,
lib/ssh_scan/grader.rb,
lib/ssh_scan/os/ros.rb,
lib/ssh_scan/policy.rb,
lib/ssh_scan/result.rb,
lib/ssh_scan/ssh_fp.rb,
lib/ssh_scan/update.rb,
lib/ssh_scan/version.rb,
lib/ssh_scan/os/cisco.rb,
lib/ssh_scan/os/dopra.rb,
lib/ssh_scan/protocol.rb,
lib/ssh_scan/attribute.rb,
lib/ssh_scan/constants.rb,
lib/ssh_scan/os/centos.rb,
lib/ssh_scan/os/debian.rb,
lib/ssh_scan/os/redhat.rb,
lib/ssh_scan/os/ubuntu.rb,
lib/ssh_scan/os/freebsd.rb,
lib/ssh_scan/os/unknown.rb,
lib/ssh_scan/os/windows.rb,
lib/ssh_scan/public_key.rb,
lib/ssh_scan/os/raspbian.rb,
lib/ssh_scan/scan_engine.rb,
lib/ssh_scan/ssh_lib/pgp.rb,
lib/ssh_scan/ssh_lib/ipssh.rb,
lib/ssh_scan/ssh_lib/mpssh.rb,
lib/ssh_scan/target_parser.rb,
lib/ssh_scan/policy_manager.rb,
lib/ssh_scan/ssh_lib/libssh.rb,
lib/ssh_scan/ssh_lib/nosssh.rb,
lib/ssh_scan/ssh_lib/rosssh.rb,
lib/ssh_scan/error/no_banner.rb,
lib/ssh_scan/ssh_lib/flowssh.rb,
lib/ssh_scan/ssh_lib/openssh.rb,
lib/ssh_scan/ssh_lib/unknown.rb,
lib/ssh_scan/ssh_lib/ciscossh.rb,
lib/ssh_scan/ssh_lib/cryptlib.rb,
lib/ssh_scan/ssh_lib/doprassh.rb,
lib/ssh_scan/ssh_lib/dropbear.rb,
lib/ssh_scan/ssh_lib/romsshell.rb,
lib/ssh_scan/ssh_lib/sentryssh.rb,
lib/ssh_scan/error/disconnected.rb,
lib/ssh_scan/fingerprint_database.rb,
lib/ssh_scan/error/connect_timeout.rb,
lib/ssh_scan/error/no_kex_response.rb,
lib/ssh_scan/error/closed_connection.rb,
lib/ssh_scan/error/connection_refused.rb

Defined Under Namespace

Modules: Constants, Crypto, Error, OS, SSHLib Classes: Attribute, Banner, Client, FingerprintDatabase, Grader, KeyExchangeInit, Policy, PolicyManager, Result, ScanEngine, SshFp, TargetParser, Update

Constant Summary collapse

VERSION =
'0.0.44'

Class Method Summary collapse

Class Method Details

.make_attributes(array) ⇒ Object

A helper to turn array of strings into arrays of attributes for quick comparison



5
6
7
# File 'lib/ssh_scan/attribute.rb', line 5

def self.make_attributes(array)
  array.map {|item| SSHScan::Attribute.new(item)}
end