diff --git a/firewall/firewall_windows.go b/firewall/firewall_windows.go index de495432..95def6dc 100644 --- a/firewall/firewall_windows.go +++ b/firewall/firewall_windows.go @@ -5,7 +5,6 @@ import ( "strings" "github.com/evilsocket/bettercap-ng/core" - "github.com/evilsocket/bettercap-ng/log" "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 { - 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 :/