From 2c0f87d4291069e4f3a661f904c0dde9849f18da Mon Sep 17 00:00:00 2001 From: evilsocket Date: Thu, 8 Feb 2018 06:15:42 +0100 Subject: [PATCH] balls --- firewall/firewall_windows.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 :/