diff --git a/lib/msf/core/session_manager.rb b/lib/msf/core/session_manager.rb index 8cf196271d..37f8f618a5 100644 --- a/lib/msf/core/session_manager.rb +++ b/lib/msf/core/session_manager.rb @@ -22,7 +22,7 @@ class SessionManager < Hash self.sid_pool = 0 self.reaper_thread = Thread.new do while true - select(nil, nil, nil, 0.5) + ::Kernel.select(nil, nil, nil, 0.5) each_value do |s| if not s.alive? deregister(s, "Died")