mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
new: implemented sslstrip (ref #154)
This commit is contained in:
parent
d8223d9579
commit
2a601e1412
6 changed files with 231 additions and 203 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue