From 98d7fb5b8676ae4ece2c508911dbae034f07001f Mon Sep 17 00:00:00 2001 From: evilsocket Date: Fri, 9 Mar 2018 16:33:15 +0100 Subject: [PATCH] fix: sslstrip is disabled by default (ref #154) --- modules/http_proxy.go | 2 +- modules/https_proxy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http_proxy.go b/modules/http_proxy.go index 0218157c..82b9a91e 100644 --- a/modules/http_proxy.go +++ b/modules/http_proxy.go @@ -34,7 +34,7 @@ func NewHttpProxy(s *session.Session) *HttpProxy { "Path of a proxy JS script.")) p.AddParam(session.NewBoolParameter("http.proxy.sslstrip", - "true", + "false", "Enable or disable SSL stripping.")) p.AddHandler(session.NewModuleHandler("http.proxy on", "", diff --git a/modules/https_proxy.go b/modules/https_proxy.go index d47a7628..2d9d3cf0 100644 --- a/modules/https_proxy.go +++ b/modules/https_proxy.go @@ -32,7 +32,7 @@ func NewHttpsProxy(s *session.Session) *HttpsProxy { "Port to bind the HTTPS proxy to.")) p.AddParam(session.NewBoolParameter("https.proxy.sslstrip", - "true", + "false", "Enable or disable SSL stripping.")) p.AddParam(session.NewStringParameter("https.proxy.certificate",