testutils

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: MIT 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