Class: MetasploitDataModels::Search::Operation::IPAddress

Inherits:
Metasploit::Model::Search::Operation::Base
  • Object
show all
Includes:
Match::Parent
Defined in:
app/models/metasploit_data_models/search/operation/ip_address.rb

Overview

Searches an inet column in a PostgreSQL database using a standard IPv4 address, an IPv4 CIDR block, or an IPv4 address range.

Instance Method Summary collapse

Instance Method Details

#value=(formatted_value) ⇒ Object

Parameters:

  • formatted_value (#to_s)


44
45
46
# File 'app/models/metasploit_data_models/search/operation/ip_address.rb', line 44

def value=(formatted_value)
  @value = match_child(formatted_value) || formatted_value
end