Class: MetasploitDataModels::IPAddress::V4::Nmap

Inherits:
Segmented
  • Object
show all
Defined in:
app/models/metasploit_data_models/ip_address/v4/nmap.rb

Overview

Nmap's octet range format composed of segments of comma separated list of segment numbers and segment number ranges.

Examples:

Nmap octect range format

# equivalent to ['1.5.6.7', '3.5.6.7', '4.5.6.7']
'1,3-4.5.6.7'

See Also:

Constant Summary

Constants inherited from Segmented

Segmented::SEGMENT_COUNT, Segmented::SEPARATOR

Instance Attribute Summary

Attributes inherited from Segmented

#value

Method Summary

Methods inherited from Segmented

#<=>, regexp, segment, segment_class, segment_class_name, segment_count, #segments, #segments=, #to_s

Methods included from Match::Child

#match, #match_regexp, #regexp