|
|
@ -10,6 +10,8 @@ import (
|
|
|
|
log "github.com/sirupsen/logrus"
|
|
|
|
log "github.com/sirupsen/logrus"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const version = "0.0.1"
|
|
|
|
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
type Config struct {
|
|
|
|
addr string
|
|
|
|
addr string
|
|
|
|
webAddr string
|
|
|
|
webAddr string
|
|
|
@ -37,6 +39,8 @@ func main() {
|
|
|
|
FullTimestamp: true,
|
|
|
|
FullTimestamp: true,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log.Infof("go-mitmproxy version %v\n", version)
|
|
|
|
|
|
|
|
|
|
|
|
config := loadConfig()
|
|
|
|
config := loadConfig()
|
|
|
|
|
|
|
|
|
|
|
|
opts := &proxy.Options{
|
|
|
|
opts := &proxy.Options{
|
|
|
|