enumeration

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsyncDir

func AsyncDir(urls []string, ignore []string, outputFileJSON, outputFileHTML, outputFileTXT string,
	dirs map[string]output.Asset, mutex *sync.Mutex, plain bool, redirect bool, ua string, rua bool)

AsyncDir performs concurrent requests to the specified urls and prints the results.

func AsyncGet

func AsyncGet(protocol string, urls []string, ignore []string, outputFileJSON, outputFileHTML, outputFileTXT string,
	subs map[string]output.Asset, mutex *sync.Mutex, plain bool, ua string, rua bool)

AsyncGet performs concurrent requests to the specified urls and prints the results.

func AsyncPort

func AsyncPort(portsArray []int, portsArrayBool bool, startingPort int, endingPort int,
	host string, outputFileJSON, outputFileHTML, outputFileTXT string, common bool,
	commonPorts []int, plain bool, timeout int)

AsyncPort performs concurrent requests to the specified ports range and, if someone is open it prints the results.

func CommonPorts

func CommonPorts() []int

CommonPorts is a slice of integers containing the common ports.

func IsOpenPort

func IsOpenPort(host string, port string, timeout int) bool

IsOpenPort checks if a port is open (listening).

func LookupDNS

func LookupDNS(domain string, outputFileJSON, outputFileHTML, outputFileTXT string, plain bool)

LookupDNS prints the DNS informations for the inputted domain.

Types

This section is empty.

Jump to

Keyboard shortcuts

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