Skip to content

hupe1980/mitmproxy

Repository files navigation

mitmproxy

Build Status Go Reference

Golang mitm proxy implementation

⚠️ This is experimental and subject to breaking changes.

Usage

import (
	"log"
	"net/http"

	"github.com/hupe1980/golog"
	"github.com/hupe1980/mitmproxy"
)

func main() {
	proxy, err := mitmproxy.New(func(o *mitmproxy.Options) {
		o.Logger = golog.NewGoLogger(golog.DEBUG, log.Default())
	})
	if err != nil {
		panic(err)
	}

	log.Fatal(http.ListenAndServe(":8000", proxy))
}

Documentation

See godoc.

Examples

See more complete examples.

License

MIT

About

Golang mitm proxy implementation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors