Bug #1010

unloading xmlrpc plugin leaves socket listening

Added by Joshua J. Drake almost 2 years ago. Updated over 1 year ago.

Status:Closed Start date:03/04/2010
Priority:Normal Due date:
Assignee:James Lee % Done:

100%

Category:general
Target version:Metasploit 3.5.0
Resolution: Release Note:

Description

This is a report from the framework mailing list.

Not sure if there are other orphaned resources/jobs/etc


Related issues

related to Metasploit Framework - Bug #2247: msfgui does not shutdown the msfrpcd instance that it sta... Closed 07/13/2010

Associated revisions

Revision 671d243a
Added by James Lee over 1 year ago

put the stop command in core instead of base and default the extra argument to nil. this should allow a cleaner exit without breaking existing code (i hope). see #2247 (again) and also fixes #1010

git-svn-id: file:///home/svn/framework3/trunk@9907 4d416f70-5f16-0410-b530-b9f4589650da

History

Updated by HD Moore almost 2 years ago

  • Target version set to 18

Updated by HD Moore almost 2 years ago

  • Target version changed from 18 to Metasploit 3.4.0

Updated by James Lee over 1 year ago

  • Target version changed from Metasploit 3.4.0 to Metasploit 3.4.1

Updated by James Lee over 1 year ago

  • Target version changed from Metasploit 3.4.1 to Metasploit 3.5.0

Updated by James Lee over 1 year ago

After a little late-night investigation, this looks like it is because TcpServer#close is never called by the rpc code (it is called and works correctly in exploit code). The next question is whether a call to .close belongs in TcpServer#stop (which is getting called and doing its job of killing off the monitoring threads).

Updated by James Lee over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r9907.

Updated by Jonathan Cran over 1 year ago

  • Status changed from Resolved to Closed

verified.

Also available in: Atom PDF