util

package
v0.0.0-...-40bec92 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AliveAddr []model.IpAddr
)

Functions

func CheckAlive

func CheckAlive(ipList []model.IpAddr) []model.IpAddr

func GetIpList

func GetIpList(ips string) ([]net.IP, error)

func GetPorts

func GetPorts(selection string) ([]int, error)

func ReadIpList

func ReadIpList(fileName string) (ipLists []net.IP, err error)

func ReadIpPortList

func ReadIpPortList(fileName string) (ipList []model.IpAddr)

func ReadPasswordDict

func ReadPasswordDict(passDict string) (password []string, err error)

func ReadUserDict

func ReadUserDict(userDict string) (users []string, err error)

func SaveAddr

func SaveAddr(alive bool, ipAddr model.IpAddr)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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