-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Kali Linux Web Penetration Testing Cookbook
By :
To be able to communicate with our virtual server and client, we need to be in the same network segment; however, having virtual machines with known vulnerabilities in our local network may pose an important security risk. To avoid this risk, we will perform a special configuration in VirtualBox to allow us to communicate with both server and client virtual machines from our Kali Linux host without exposing them to the network.
Before we proceed, open VirtualBox and make sure that the vulnerable server and client virtual machines are turned off.
) button to add a new network.
) button to edit its properties.


ifconfig

vboxnet0 and it has the IP address 192.168.56.1. Depending on the configuration you used, this may vary.eth0:ifconfig
ipconfig
192.168.56.1 for the host192.168.56.102 for vulnerable_vm192.168.56.103 for IE8 - Win7ping -c 4 192.168.56.102 ping -c 4 192.168.56.103

Ping sends an ICMP request to the destination and waits for the reply; this is useful to test whether communication is possible between two nodes in the network.
arping from the Kali host:arping –c 4 192.168.56.103
A host-only network is a virtual network that acts as a LAN but its reach is limited to the host that is running the virtual machines without exposing them to external systems. This kind of network also provides a virtual adapter for the host to communicate with the virtual machines as if they were in the same network segment.
With the configuration we just made, we will be able to communicate between a client and server and both of them can communicate with the Kali Linux host, which will act as the attacking machine.
Change the font size
Change margin width
Change background colour