Documentation ¶
Index ¶
- type HostResult
- type Result
- func (r *Result) AddIp(ip string)
- func (r *Result) AddPort(ip string, p *port.Port)
- func (r *Result) AddSkipped(ip string)
- func (r *Result) GetIPs() chan string
- func (r *Result) GetIPsPorts() chan *HostResult
- func (r *Result) GetPortCount(host string) int
- func (r *Result) HasIP(ip string) bool
- func (r *Result) HasIPS() bool
- func (r *Result) HasIPsPorts() bool
- func (r *Result) HasSkipped(ip string) bool
- func (r *Result) IPHasPort(ip string, p *port.Port) bool
- func (r *Result) IsEmpty() bool
- func (r *Result) Len() int
- func (r *Result) SetPorts(ip string, ports []*port.Port)
- type ResultFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostResult ¶
type HostResult struct { Host string IP string Ports []*port.Port Confidence confidence.ConfidenceLevel }
type Result ¶
Result of the scan
func (*Result) AddSkipped ¶
AddSkipped adds an ip to the skipped list
func (*Result) GetIPsPorts ¶
func (r *Result) GetIPsPorts() chan *HostResult
GetIpsPorts returns the ips and ports
func (*Result) GetPortCount ¶
GetPortCount returns the number of ports discovered for an ip
func (*Result) HasIPsPorts ¶
func (*Result) HasSkipped ¶
HasSkipped checks if an ip has been skipped
type ResultFn ¶
type ResultFn func(*HostResult)
Click to show internal directories.
Click to hide internal directories.