Metaploit and upgrading sessions.

Associate
Joined
12 Nov 2003
Posts
121
I wonder if you can help me with an issue I am having attacking my home network.

I have successfully managed to gain access a but the issue I am having is upgrading the basic sessions I have obtained to meterpreter sessions.

I have tried 'session -u <session number>' as well running the upgrade module separately, every time I try I receive the error: "Shells on the target platform, unix, cannot be upgraded to meterpreter at this time'.

Does anyone know a way I can fix this issue and upgrade a basic already connected session?

Kind regards,

Alex.
 
Soldato
Joined
18 Oct 2002
Posts
2,753
The quickest way would be to use sshexec in the first place - 'exploit/multi/ssh/sshexec' which will return a Meterpreter session directly.

Quickly tested upgrading a standard shell and it worked fine.
I used exploit/multi/handler with linux/x86/shell_reverse_tcp for the payload. Sessions -u 1 worked fine.
 
Back
Top Bottom