testutils

package
v0.0.0-...-6bdff43 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHttpxAndGetResults

func RunHttpxAndGetResults(url string, debug bool, extra ...string) ([]string, error)

RunNucleiAndGetResults returns a list of results for a template

func RunHttpxBinaryAndGetResults

func RunHttpxBinaryAndGetResults(target string, httpxBinary string, debug bool, args []string) ([]string, error)

Types

type TestCase

type TestCase interface {
	// Execute executes a test case and returns any errors if occurred
	Execute() error
}

TestCase is a single integration test case

Jump to

Keyboard shortcuts

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