new: implementing IsForwardingEnabled for windows firewall

This commit is contained in:
evilsocket 2018-02-08 01:15:03 +01:00
commit 5887883683
4 changed files with 14 additions and 6 deletions

View file

@ -224,7 +224,7 @@ func (s *Session) Start() error {
s.Env.Set("gateway.mac", s.Gateway.HwAddress)
s.Targets = NewTargets(s, s.Interface, s.Gateway)
s.Firewall = firewall.Make()
s.Firewall = firewall.Make(s.Interface)
if err := s.setupInput(); err != nil {
return err