Metasploit mailing list archives

Problem when executing "use priv" inside meterpreter shell


From: macubergeek at comcast.net (macubergeek)
Date: Wed, 14 Jan 2009 13:38:40 -0500

OS: Mac OS X 10.5.5
version of ruby: ruby 1.8.6 (2008-03-03 patchlevel 114) [universal- 
darwin9.0]
I'm using the ruby that came with Mac OS X
Target: Win2k Server running in VMWare virtual machine on the mac.

When I get the meterpreter shell and try to execute "use priv" I get:

meterpreter > use priv
Loading extension priv...[-]
failure: Broken pipe /Applications/framework-3.2/lib/rex/io/stream.rb: 
40:in `syswrite'
/Applications/framework-3.2/lib/rex/io/stream.rb:40:in `write'
/Applications/framework-3.2/lib/rex/post/meterpreter/ 
packet_dispatcher.rb:59:in `send_packet'
/Applications/framework-3.2/lib/rex/post/meterpreter/ 
packet_dispatcher.rb:92:in `send_packet_wait_response'
/Applications/framework-3.2/lib/rex/post/meterpreter/client_core.rb: 
114:in `load_library'
/Applications/framework-3.2/lib/rex/post/meterpreter/client_core.rb: 
156:in `use'
/Applications/framework-3.2/lib/rex/post/meterpreter/ui/console/ 
command_dispatcher/core.rb:249:in `cmd_use'
/Applications/framework-3.2/lib/rex/post/meterpreter/ui/console/ 
command_dispatcher/core.rb:237:in `each'
/Applications/framework-3.2/lib/rex/post/meterpreter/ui/console/ 
command_dispatcher/core.rb:237:in `cmd_use'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in  
`send'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in  
`run_command'
/Applications/framework-3.2/lib/rex/post/meterpreter/ui/console.rb: 
94:in `run_command'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:196:in  
`run_single'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in  
`each'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in  
`run_single'
/Applications/framework-3.2/lib/rex/post/meterpreter/ui/console.rb: 
60:in `interact'
/Applications/framework-3.2/lib/rex/ui/text/shell.rb:123:in `call'
/Applications/framework-3.2/lib/rex/ui/text/shell.rb:123:in `run'
/Applications/framework-3.2/lib/rex/post/meterpreter/ui/console.rb: 
58:in `interact'
/Applications/framework-3.2/lib/msf/base/sessions/meterpreter.rb: 
181:in `_interact'
/Applications/framework-3.2/lib/rex/ui/interactive.rb:48:in `interact'
/Applications/framework-3.2/lib/msf/ui/console/command_dispatcher/ 
core.rb:743:in `cmd_sessions'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in  
`send'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in  
`run_command'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:196:in  
`run_single'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in  
`each'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in  
`run_single'
/Applications/framework-3.2/lib/msf/ui/console/command_dispatcher/ 
exploit.rb:143:in `cmd_exploit'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in  
`send'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in  
`run_command'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:196:in  
`run_single'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in  
`each'
/Applications/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in  
`run_single'
/Applications/framework-3.2/lib/rex/ui/text/shell.rb:127:in `run'
./msfconsole:78
meterpreter > hashdump
[-] Unknown command: hashdump.
meterpreter >

Does anyone have any clue why? I thought the latest version of  
meterpreter runs fine out of the box on Mac OS X?

Jim




Current thread: