Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hupe1980/mitmproxy
Golang mitm proxy implementation
https://github.com/hupe1980/mitmproxy
http mitm mitmproxy proxy websocket
Last synced: 18 days ago
JSON representation
Golang mitm proxy implementation
- Host: GitHub
- URL: https://github.com/hupe1980/mitmproxy
- Owner: hupe1980
- License: mit
- Created: 2022-01-07T09:31:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T20:17:25.000Z (almost 3 years ago)
- Last Synced: 2024-12-16T20:32:47.669Z (19 days ago)
- Topics: http, mitm, mitmproxy, proxy, websocket
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mitmproxy
![Build Status](https://github.com/hupe1980/mitmproxy/workflows/build/badge.svg)
[![Go Reference](https://pkg.go.dev/badge/github.com/hupe1980/mitmproxy.svg)](https://pkg.go.dev/github.com/hupe1980/mitmproxy)
> Golang mitm proxy implementation:warning: This is experimental and subject to breaking changes.
## Usage
```golang
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](https://pkg.go.dev/github.com/hupe1980/mitmproxy).### Examples
See more complete [examples](https://github.com/hupe1980/mitmproxy/tree/main/_examples).## License
[MIT](LICENCE)