new: implemented sslstrip (ref #154)

This commit is contained in:
evilsocket 2018-03-09 12:10:43 +01:00
commit 2a601e1412
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
6 changed files with 231 additions and 203 deletions

View file

@ -161,7 +161,7 @@ func TLSConfigFromCA(ca *tls.Certificate) func(host string, ctx *goproxy.ProxyCt
cert := getCachedCert(hostname, port)
if cert == nil {
log.Info("Creating spoofed certificate for %s:%d", core.Yellow(hostname), port)
log.Debug("Creating spoofed certificate for %s:%d", core.Yellow(hostname), port)
cert, err = btls.SignCertificateForHost(ca, hostname, port)
if err != nil {
log.Warning("Cannot sign host certificate with provided CA: %s", err)