pentest

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPenTests

func NewPenTests(
	r *http.Response,
	ipts insertionpoint.InsertionPoints,
	payloads payload.Payloads,
	c httpclient.HTTPClient,
	concurrentRequests int,
) (chan PenTest, <-chan error)

NewPenTests creates PenTests

Types

type Info

type Info struct {
	URL            string
	Method         string
	InsertionPoint insertionpoint.InsertionPoint
	VulnName       string
}

Info objects keeps info about PenTest

type PenTest

type PenTest struct {
	Request      *http.Request
	ExpectInResp []byte
	Info         Info
	Retries      int
}

PenTest object

type PenTests

type PenTests []PenTest

PenTests slice to keep PenTest objects

Jump to

Keyboard shortcuts

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