Metasploit mailing list archives

how to quit a shell gracefully?


From: junkoi2004 at gmail.com (Jun Koi)
Date: Wed, 13 May 2009 09:36:40 +0900

On Tue, May 12, 2009 at 10:17 PM, H D Moore <hdm at metasploit.com> wrote:
On Tue, 12 May 2009 05:00:11 -0500, Jun Koi <junkoi2004 at gmail.com> wrote:

i am sure there is a better way to do this without crashing the
target. please anybody help?


Try:

set EXITFUNC thread

It seems that not all payload support EXITFUNC, right? Could you tell
a bit about why not all of them support that?

And does that mean only payloads with "EXITFUNC" can safely quit the shell?


Thanks,
J


Current thread: