addon-dailer
lqqyt2423 4 years ago
parent f3b4fc742c
commit 78c6c32de1

@ -9,3 +9,7 @@ testserver:
.PHONY: clean .PHONY: clean
clean: clean:
rm -f mitmproxy testserver rm -f mitmproxy testserver
.PHONY: test
test:
go test ./...

@ -1,8 +1,10 @@
# go-mitmproxy # go-mitmproxy
[mitmproxy](https://mitmproxy.org/) implemented with golang.
## TODO ## TODO
- [x] http handler - [x] http handler
- [x] http connect - [x] http connect
- [ ] https handler
- [ ] cert - [ ] cert
- [ ] https handler

@ -1,5 +1,5 @@
module github.com/lqqyt2423/go-mitmproxy module github.com/lqqyt2423/go-mitmproxy
go 1.14 go 1.15
require github.com/joho/godotenv v1.3.0 require github.com/joho/godotenv v1.3.0

@ -17,6 +17,10 @@ import (
"time" "time"
) )
// reference
// https://docs.mitmproxy.org/stable/concepts-certificates/
// https://github.com/mitmproxy/mitmproxy/blob/master/mitmproxy/certs.py
var caErrNotFound = errors.New("ca not found") var caErrNotFound = errors.New("ca not found")
type CA struct { type CA struct {

Loading…
Cancel
Save