internal

package
v0.0.0-...-820a621 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROXY_HOST     = "waf-btk"
	PADDING_HEADER = "waf-btk-padding"
)

Variables

This section is empty.

Functions

func GenerateCACert

func GenerateCACert() ([]byte, *rsa.PrivateKey, error)

GenerateCACert generates CA certificate

func PadRequest

func PadRequest(req *http.Request)

padRequest pads a POST request

func PadRequestJSON

func PadRequestJSON(req *http.Request)

padRequestJSON pads a JSON POST request

func RequestHandler

func RequestHandler(session *gomitmproxy.Session) (*http.Request, *http.Response)

Types

This section is empty.

Jump to

Keyboard shortcuts

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