Jump to content

Help with reverse shell on Linux


JonL

Recommended Posts

Hello,

I'm looking for a bit of advice with modifying the LinuxReverseShell script to upgrade the shell to a meterpreter shell.  Has anyone had any experience with this?  I can get the shell to execute without any problem at all, but it will not let me upgrade the shell to a meterpreter shell if I have my listener set up in Metasploit on my kali machine.

Any help would be greatly appreciated.

Thanks

Link to comment
Share on other sites

Hello,

I figured it out.

Start metasploit and get the reverse shell, then enter Python -c “import pty; pty.spawn(‘/bin/bash’)”  

Put the shell in the background and enter Sessions -u <ID_Of_Session>

It spawned a new meterpreter shell so gives me one basic shell and one meterpreter shell to work with ?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...