I wanted an easy way to get to the shell on my remote machine bypassing the firewall etc.
I’m going to refer to the systems as follows:
OurSystem we need to open a listening network connection using netcat. This can be any port we want, but I’m going to use port 443 because it’s allowed through firewalls.
Note: Make sure the firewall isn’t blocking the listening port you choose on
Next we need to force a bash shell back to
TargetSystem. On the
TargetSystem execute the following, substitute 126.96.36.199 with the external IP of
OurSystem, substitute 443 with the port you set netcat to listen on.
You should be greeted with a bash shell from