Class: Proxy::Probing::Probes::ICMP

Inherits:
Nmap show all
Defined in:
lib/smart-proxy-probing/probes/icmp.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Nmap

#command, #parse_result

Methods inherited from Abstract

#command, #initialize, #parse_result

Constructor Details

This class inherits a constructor from Proxy::Probing::Probes::Abstract

Class Method Details

.humanized_scan_typeObject



8
9
10
# File 'lib/smart-proxy-probing/probes/icmp.rb', line 8

def self.humanized_scan_type
  'ICMP'
end

.scan_typeObject



4
5
6
# File 'lib/smart-proxy-probing/probes/icmp.rb', line 4

def self.scan_type
  'icmp'
end

Instance Method Details

#nmap_flagsObject



12
13
14
# File 'lib/smart-proxy-probing/probes/icmp.rb', line 12

def nmap_flags
  %w(-sn)
end