Enumerating Network Information (Linux)
Classification: Host & Network Penetration Testing / Post-Exploitation
Target: Linux host (root Meterpreter via vsFTPd)
1. Executive Summary
After exploiting the vsFTPd backdoor and upgrading to Meterpreter, we map the host’s network context — interfaces, connections, routing, DNS and neighbouring hosts — to plan lateral movement and pivoting.
2. Foothold

3. Interfaces & Connections
ifconfig
netstat -antp


4. Routing
route -n # or netstat -rn

shell
ip a s # adapter details

5. Hosts, DNS & Neighbours
cat /etc/networks

hostname
cat /etc/hosts

cat /etc/resolv.conf

arp -a # systems on the subnet (none here)

6. Notes
This network context (routes, DNS, neighbours) is the basis for autoroute/portfwd pivoting to internal hosts.