This commit is contained in:
evilsocket 2018-02-08 06:15:42 +01:00
parent 83c9cf63b2
commit 2c0f87d429

View file

@ -5,7 +5,6 @@ import (
"strings" "strings"
"github.com/evilsocket/bettercap-ng/core" "github.com/evilsocket/bettercap-ng/core"
"github.com/evilsocket/bettercap-ng/log"
"github.com/evilsocket/bettercap-ng/net" "github.com/evilsocket/bettercap-ng/net"
) )
@ -69,7 +68,7 @@ func (f WindowsFirewall) generateRule(r *Redirection, enabled bool) []string {
} }
func (f *WindowsFirewall) EnableRedirection(r *Redirection, enabled bool) error { func (f *WindowsFirewall) EnableRedirection(r *Redirection, enabled bool) error {
log.Warning("Port redirection is not supported on Windows, packets will NOT be automatically forwarded to the proxy.") fmt.Printf("\n%s: Port redirection is not supported on Windows, packets will NOT be automatically forwarded to the proxy.", core.Yellow("WARNING"))
/* /*
TODO: This doesn't work :/ TODO: This doesn't work :/