Now that we are in one system on the network, we need to now look for other machines on the network. Information gathering here is going to be the same as what we did in the previous chapters. We can start by installing and using Network Mapper (Nmap) to look for other hosts and the applications or services that are running. In this recipe, we will learn about a few tricks to gain access to the port in the network.
Node hopping – pivoting
How to do it...
Let's assume we have shell access to a machine. Now, follow these steps to get started:
- We will run ifconfig and find that the machine is connected to two other networks internally:
- Now, we will Nmap scan the network and find some machines with a couple of...