parse

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetScanPort

func GetScanPort(p, bp string) []int

GetScanPort 获取待扫描的端口

func IsDomain

func IsDomain(s string) bool

IsDomain 判断是不是域名

func IsIPv4

func IsIPv4(s string) bool

func IsIPv6

func IsIPv6(s string) bool

func ParseIP

func ParseIP(ip string, noHost string) (hosts, domainList []string, err error)

func ParseIPA

func ParseIPA(ip string) ([]string, error)

ParseIPA CIDR IP

func ParseIPC

func ParseIPC(ip string) ([]string, error)

ParseIPC Resolving a range of IP,for example: 192.168.111.1-255,192.168.111.1-192.168.112.255

func ParseIPD

func ParseIPD(ip string) ([]string, error)

func ParseIPE

func ParseIPE(ip string) ([]string, error)

func ParseIPone

func ParseIPone(ip string) ([]string, string, error)

func ParseIPs

func ParseIPs(ip string) (hosts, domainList []string, err error)

func ParsePort

func ParsePort(ports string) (scanPorts []int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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