probe

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTaskIPList

func GetTaskIPList(ip string) (base string, start, end int, err error)

func ScanPort

func ScanPort(ip string, port int, timeout time.Duration) bool

func TCPPScan added in v1.2.0

func TCPPScan(ipRange string, portRange []FromTo, parallel int64, timeout time.Duration)

func TCPScanExploitAPI

func TCPScanExploitAPI(ipRange string)

func TCPScanToolAPI

func TCPScanToolAPI(ipRange string, portRange string, parallel int64, timeoutMS int)

func Ulimit

func Ulimit() int64

Types

type FromTo

type FromTo struct {
	Desc string
	From int
	To   int
}

func GetTaskPortList

func GetTaskPortList() ([]FromTo, int)

func GetTaskPortListByString

func GetTaskPortListByString(s string) ([]FromTo, int)

type PortScanner

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

func (*PortScanner) Start

func (ps *PortScanner) Start()

Jump to

Keyboard shortcuts

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