fix: sslstrip is disabled by default (ref #154)

This commit is contained in:
evilsocket 2018-03-09 16:33:15 +01:00
parent 68167b3f7c
commit 98d7fb5b86
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ func NewHttpProxy(s *session.Session) *HttpProxy {
"Path of a proxy JS script.")) "Path of a proxy JS script."))
p.AddParam(session.NewBoolParameter("http.proxy.sslstrip", p.AddParam(session.NewBoolParameter("http.proxy.sslstrip",
"true", "false",
"Enable or disable SSL stripping.")) "Enable or disable SSL stripping."))
p.AddHandler(session.NewModuleHandler("http.proxy on", "", p.AddHandler(session.NewModuleHandler("http.proxy on", "",

View file

@ -32,7 +32,7 @@ func NewHttpsProxy(s *session.Session) *HttpsProxy {
"Port to bind the HTTPS proxy to.")) "Port to bind the HTTPS proxy to."))
p.AddParam(session.NewBoolParameter("https.proxy.sslstrip", p.AddParam(session.NewBoolParameter("https.proxy.sslstrip",
"true", "false",
"Enable or disable SSL stripping.")) "Enable or disable SSL stripping."))
p.AddParam(session.NewStringParameter("https.proxy.certificate", p.AddParam(session.NewStringParameter("https.proxy.certificate",