You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --name bodgeit --rm -it psiinon/bodgeit
get the ip address of bodgeit
docker inspect bodgeit | grep IPAddress
run example
go run example.go -target=http://{$bodgeit_IP}:8080/bodgeit
How to connect to ZAP server using HTTPS
Client connect to ZAP server using HTTP by default. To instruct client to connect ZAP server using HTTPS, you should:
change the ZAP base path using HTTPS
pass in your TLS config
example:
cfg:=&zap.Config{
Base: zap.DefaultHTTPSBase,
BaseOther: zap.DefaultHTTPSBaseOther,
// you can set your custom certificates hereTLSConfig: tls.Config{
InsecureSkipVerify: true,
},
}
client, err:=zap.NewClient(cfg)
iferr!=nil {
log.Fatal(err)
}
/* use the client... */