Nmap::Scanner::OS(3p)

DESCRIPTION
This class represents an nmap OS deduction as output by nmap. It is generally returned as part of a host object, and only so if guess_os() is used as an option with the Nmap::Scanner::Scanner instance.

PROPERTIES

  ports_used()
The open ports used to try and fingerprint the remote OS.

  add_port_used()
Add a port to the list of ports used to try and fingerprint the remote hosts' OS.

  osmatches()
Object representing nmaps' best attempt to fingerprint the remote OS.

  uptime
Object representing uptime/last reboot time for this host. This MAY be available if guess_os() is called on the Nmap::Scanner::Scanner reference. Not available for all hosts.