Versions in this module Expand all Collapse all v1 v1.1.2 Apr 17, 2023 v1.1.1 Apr 17, 2023 Changes in this version + var GetBanner = regexp.MustCompile(...) + var GetIpPort = regexp.MustCompile("Discovered open port (\\d+)\\/tcp on ((\\d+\\.){3}\\d+)") + func ScanTarget(ip string, args ...interface{}) + type Address struct + Addr string + AddrType string + type Host struct + Address Address + Ip string + Port string + Ports Ports + type Masscan struct + Args []string + Exclude string + Ports string + Ranges string + Rate string + SystemPath string + Target string + func New() *Masscan + func (m *Masscan) ParseLine(s string) ([]Host, error) + func (m *Masscan) Run() error + func (m *Masscan) SetArgs(arg ...string) + func (m *Masscan) SetRate(rate string) + func (m *Masscan) SetSystemPath(systemPath string) + type Nmaprun struct + Scanner string + StartTime string + Version string + XMLName xml.Name + XmlVersion string + type Ports []struct + type Service struct + Banner string + Name string + type State struct + Reason string + ReasonTTL string + State string