mitm

package module
v0.0.0-...-340dccc Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: BSD-2-Clause Imports: 17 Imported by: 3

README

mitm: HTTPS Man-in-the-middle in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertPool

type CertPool struct {
	// contains filtered or unexported fields
}

CertPool maitains a pool of faked TLS certificates

func NewCertPool

func NewCertPool(dir string) (*CertPool, error)

func (*CertPool) ServeHTTPS

func (pool *CertPool) ServeHTTPS(w http.ResponseWriter, req *http.Request, serve func(w http.ResponseWriter, req *http.Request)) error

ServeHTTPS intercepts an HTTPS request and serve it as a normal HTTP request

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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