Class: MetasploitDataModels::Search::Operation::Port::Number

Inherits:
Metasploit::Model::Search::Operation::Integer
  • Object
show all
Defined in:
app/models/metasploit_data_models/search/operation/port/number.rb

Overview

Search operation on an attribute that holds a port number and is being searched with a single Integer port number.

Constant Summary collapse

BITS =

The number of bits in a port number

16
MAXIMUM =

The maximum port number

(1 << BITS) - 1
MINIMUM =

The minimum port number

0
RANGE =

The range of valid port numbers from MINIMUM to MAXIMUM, inclusive.

(MINIMUM..MAXIMUM)