Class Nmap::Parser::Host::Port
In: lib/nmap/parser.rb
Parent: Object

This holds the information about an individual port or protocol

Methods

<=>   new   script   script_output   scripts  

Classes and Modules

Class Nmap::Parser::Host::Port::Service

Attributes

num  [R]  Port number
reason  [R]  Why the port is in the state
reason_ip  [R]  The host that responded, if different than the target
reason_ttl  [R]  TTL from the responding host
service  [R]  Service object for this port
state  [R]  Port state ("open", "closed", "filtered", etc)

Public Class methods

Public Instance methods

Compares port numbers

Returns the Script object with the specified name

Returns the output of the script name

Returns an array of Script objects associated with this port, and passes them each to a block if one is given

[Validate]