scanner

package module
v0.0.0-...-b7d6cb2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: MIT Imports: 12 Imported by: 1

README

syn scanner

baidu

Description

-this is a simple program

update...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIP

func ParseIP(s string) ([]net.IP, error)

func ParsePort

func ParsePort(s string) ([]uint16, error)

func SynScan

func SynScan(dstIP net.IP, gateway, srcCIDR string, port []uint16) error

Types

type IpRange

type IpRange struct {
	// contains filtered or unexported fields
}

func ParseCIDRIP

func ParseCIDRIP(s string) (*IpRange, error)

func ParseRangeIP

func ParseRangeIP(s string) (*IpRange, error)

func SingleIP

func SingleIP(s string) (*IpRange, error)

type PortRange

type PortRange struct {
	// contains filtered or unexported fields
}

PortRange 80 -> 80-80, 80-81

func (*PortRange) Ports

func (pr *PortRange) Ports() []uint16

type Scanner

type Scanner struct {
	CIDR string
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL