In this section (and a few subsequent sections), we will study the concept of pivoting. We will assume that our target is the METASPLOITABLE device. In the following diagram, each one of the big circles is a network, and, as we can see, the Metasploitable device is not visible by the hacker:
The Metasploitable device is hidden, either behind the network, or for some other reason. The hacker is not able to ping or access the IP address of the Metasploitable device. We're assuming that in our example, the Metasploitable device exists in a different network. We can see that the network has four devices. It has the Metasploitable device, an iPhone, another device, and a Windows device (which we hacked, and which is in red); the hacker device exists in the smaller network, and there are only two devices (the hacker, and the Windows machine that we...