Metasploit mailing list archives

Re: Meterpreter not exiting


From: egypt () metasploit com
Date: Sat, 16 Mar 2013 15:44:16 -0500

Reply fail. Also autocorrect fail. The C client is old and UNmaintained.
 ---------- Forwarded message ----------
From: <egypt () metasploit com>
Date: Mar 16, 2013 3:36 PM
Subject: Re: [framework] Meterpreter not exiting
To: "Brian Seel" <brian.seel () gmail com>
Cc:

Are you looking the C client? That code is old and maintained.

What msfconsole uses to talk to meterpreter is the ruby implementation in
lib/rex/post/. I've noticed posix meterpreter hanging around after exit,
but I haven't dug into why yet. What platform are you seeing this on?

egypt
On Mar 16, 2013 3:13 PM, "Brian Seel" <brian.seel () gmail com> wrote:

I have been doing some testing with Meterpreter recently (building an
extension), and I noticed that I ended up with a bunch of running
meterpreter payloads in the process list. I checked if I had any open
sessions, and I did not. I had been closing my sessions with the exit
command, so I looked at the code for that in the source/client. That simply
calls exit(0)... which seems like it would just exit the client of
meterpreter, but not the meterpreter server running remotely (which is what
I am seeing).

First off, am I doing something wrong? Second, is this behavior by design?

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: