From 3672906491eaf8e37be08edeea2101ec03bcbaf0 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Thu, 8 Feb 2018 01:32:08 +0100 Subject: [PATCH] balls --- session/session_core_handlers.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/session/session_core_handlers.go b/session/session_core_handlers.go index 543aa0df..f115ac72 100644 --- a/session/session_core_handlers.go +++ b/session/session_core_handlers.go @@ -95,6 +95,7 @@ func (s *Session) activeHandler(args []string, sess *Session) error { func (s *Session) exitHandler(args []string, sess *Session) error { for _, mod := range s.Modules { + fmt.Println("loop") if mod.Running() { fmt.Printf("Stopping %s\n", mod.Name()) mod.Stop() @@ -102,8 +103,10 @@ func (s *Session) exitHandler(args []string, sess *Session) error { } } + fmt.Printf("Closing input\n") s.Active = false s.Input.Close() + fmt.Printf("input closed\n") return nil }