Versions in this module Expand all Collapse all v1 v1.0.1 Jun 8, 2020 v1.0.0 Aug 12, 2019 Changes in this version + const MethodConnect + const MethodSYN + var ErrNoInterfaces = errors.New("no Interfaces") + type Dialer struct + func NewDialer(localIPs []string, timeout time.Duration) (*Dialer, error) + func (d *Dialer) Dial(network, address string) (net.Conn, error) + type Generator struct + IP chan net.IP + N *big.Int + func NewGenerator(targets []string) (*Generator, error) + func (g *Generator) Close() + type Interface struct + Device string + Gateways []net.IP + IPNets []*net.IPNet + MAC net.HardwareAddr + Name string + func GetAllInterfaces() ([]*Interface, error) + func SelectInterface(name string) (*Interface, error) + type Options struct + Device string + Method string + Rate int + Raw bool + Senders int + Timeout time.Duration + Workers int + type Scanner struct + Result chan string + func New(targets, ports string, opts *Options) (*Scanner, error) + func (s *Scanner) HostNum() *big.Int + func (s *Scanner) Scanned() *big.Int + func (s *Scanner) Start() error + func (s *Scanner) Stop()