Documentation ¶
Index ¶
- type Host
- type Port
- type Result
- func (r *Result) AddHost(newHost *Host)
- func (r *Result) Print()
- func (r *Result) PrintAlive()
- func (r *Result) PrintByPort(port []int)
- func (r *Result) PrintByService(service string)
- func (r *Result) PrintHost(h *Host)
- func (r *Result) PrintJSON()
- func (r *Result) PrintPortSummary()
- func (r *Result) PrintServices()
- func (r *Result) PrintableIPList(ips []net.IP) string
- func (r *Result) SortByIP()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct { IP net.IP `json:"ip"` Name string `json:"hostname,omitempty"` TCPPorts map[int]*Port `json:"tcp_ports,omitempty"` UDPPorts map[int]*Port `json:"udp_ports,omitempty"` }
func (*Host) IsExcluded ¶ added in v0.10.0
type Port ¶
type Result ¶
func (*Result) Print ¶
func (r *Result) Print()
Print prints all hosts and the details of their open ports
func (*Result) PrintAlive ¶
func (r *Result) PrintAlive()
PrintAlive prints all hosts with at least one open port (-hosts)
func (*Result) PrintByPort ¶
PrintByPort prints all hosts with a specific port open (-port)
func (*Result) PrintByService ¶
PrintByService prints a specific service (-service)
func (*Result) PrintPortSummary ¶
func (r *Result) PrintPortSummary()
PrintPortSummary prints a comma-delimited list of ports (-ports)
func (*Result) PrintServices ¶
func (r *Result) PrintServices()
PrintService prints all services in host:port service format (-services)
Click to show internal directories.
Click to hide internal directories.