Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanSocketBind ¶
func CreateHostRange ¶
createHostRange converts a input ip addr string to a slice of ips on the cidr
func GetLocalIP ¶
getLocalRange returns local ip range or defaults on error to most common
func GetLocalRange ¶
func GetLocalRange() string
getLocalRange returns local ip range or defaults on error to most common
Types ¶
type IPScanResult ¶
IPScanResult contains the results of a scan on a single ip
func ScanIP ¶
func ScanIP(hostname string, proto string, fastscan bool, stealth bool, port int) (*IPScanResult, error)
ScanIP scans a single IP for open ports
func (*IPScanResult) Json ¶
func (results *IPScanResult) Json() (string, error)
Contains a marshaled struct containing the results for a ip scan
func (*IPScanResult) String ¶
func (results *IPScanResult) String() string
String with the results of a single scanned IP
type JsonRange ¶
type JsonRange struct {
// contains filtered or unexported fields
}
JsonRange contains a slice of of JsonIP results
type RangeScanResult ¶
type RangeScanResult []*IPScanResult
RangeScanResult contains multiple IPScanResults
func (RangeScanResult) Json ¶
func (results RangeScanResult) Json() (string, error)
Contains a marshaled struct containing the results for a range scan
func (RangeScanResult) String ¶
func (results RangeScanResult) String() string
String with the results of multiple scanned IP's
Click to show internal directories.
Click to hide internal directories.