Documentation
¶
Index ¶
- Variables
- func IPRange(c *net.IPNet) string
- func ParseIP(host string, filename string, nohosts ...string) (hosts []string, HostPort []string, err error)
- func ParseIPs(ip string) (hosts []string)
- func ParsePort(ports string) (scanPorts []int)
- func RandInt(min, max int) int
- func Readipfile(filename string) (content []string, HostPort []string, err error)
- func RemoveDuplicate(languages []string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ParseIPErr = errors.New(" host parsing error\n" +
"format: \n" +
"192.168.1.1\n" +
"192.168.1.1/8\n" +
"192.168.1.1/16\n" +
"192.168.1.1/24\n" +
"192.168.1.1,192.168.1.2\n" +
"192.168.1.1-192.168.255.255\n" +
"192.168.1.1-255")
Functions ¶
func Readipfile ¶
按行读ip
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.