mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
balls
This commit is contained in:
parent
6c0d79341b
commit
4cd1fb14d7
2 changed files with 3 additions and 3 deletions
|
@ -49,8 +49,6 @@ func (f WindowsFirewall) EnableForwarding(enabled bool) error {
|
||||||
return fmt.Errorf("Unexpected netsh output: %s", out)
|
return fmt.Errorf("Unexpected netsh output: %s", out)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("%s\n", out)
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,9 @@ func (s *Session) activeHandler(args []string, sess *Session) error {
|
||||||
|
|
||||||
func (s *Session) exitHandler(args []string, sess *Session) error {
|
func (s *Session) exitHandler(args []string, sess *Session) error {
|
||||||
for _, mod := range s.Modules {
|
for _, mod := range s.Modules {
|
||||||
mod.Stop()
|
if mod.Running() {
|
||||||
|
mod.Stop()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
s.Active = false
|
s.Active = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue