Bug #1075
sounds plugin does not allow for sessions to close properly
| Status: | Closed | Start date: | 03/10/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | Metasploit 3.4.0 | |||
| Resolution: | fixed | Release Note: |
Description
meterpreter > exit
[*] Meterpreter session 44 closed. Reason: User exit
[-] Session manipulation failed: wrong number of arguments (2 for 1) ["/opt/metasploit3/msf3/lib/msf/core/event_dispatcher.rb:169:in `block in method_missing'", "/opt/metasploit3/msf3/lib/msf/core/event_dispatcher.rb:167:in `each'", "/opt/metasploit3/msf3/lib/msf/core/event_dispatcher.rb:167:in `method_missing'", "/opt/metasploit3/msf3/lib/msf/core/session_manager.rb:84:in `deregister'", "/opt/metasploit3/msf3/lib/msf/core/session/interactive.rb:125:in `_interact_complete'", "/opt/metasploit3/msf3/lib/rex/ui/interactive.rb:71:in `interact'", "/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/core.rb:1208:in `cmd_sessions'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:239:in `run_command'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:201:in `block in run_single'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:195:in `each'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:195:in `run_single'", "/opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:144:in `run'", "/opt/metasploit3/msf3/msfconsole:93:in `<main>'"]
msf exploit > unload sounds
Unloading plugin sounds...unloaded.
msf exploit > sessions -i 44
[*] Starting interaction with 44...
[*] Meterpreter session 44 closed. Reason: User exit
Associated revisions
Fixes #1075. Handle the 'reason' parameter to on_session_close
git-svn-id: file:///home/svn/framework3/trunk@8781 4d416f70-5f16-0410-b530-b9f4589650da
Fix other occurrences of on_session_close not taking a second parameter. See #1075
git-svn-id: file:///home/svn/framework3/trunk@8782 4d416f70-5f16-0410-b530-b9f4589650da
History
Updated by HD Moore almost 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r8781.
Updated by HD Moore almost 2 years ago
- Status changed from Resolved to Closed
- Target version set to 18
- Resolution set to fixed
Updated by HD Moore almost 2 years ago
- Target version changed from 18 to Metasploit 3.4.0