Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SuggestTimeout ¶
SuggestTimeout suggests a global timeout based on the number of ports
Types ¶
type Result ¶
type Result []Port
func ConnectScan ¶
ConnectScan uses the basic connect() method to determine if ports are open. address can be a hostname, not limited to IP address. ConnectScan retries the FILTERED ports for once again.
func StealthScan ¶
StealthScan uses syn scan method to scan ports. ip must be a valid IPv4/IPv6 address, not a domain. StealthScan retries the FILTERED ports for once again.
func (*Result) GetPortsInt ¶
GetPorts returns the ports from r with state s.
Click to show internal directories.
Click to hide internal directories.