NOTE: The following modules must be installed before starting to run/develop this.
Config::Simple , Net::Traceroute , Sort::Key::IPv4 , Sort::Key

NOTE: Please ensure you have the Linux programs - sort , host(DNS lookup) , nmap(Port scanner) and tcptraceroute(traceroute to IP addresses) and Tshark(Network sniffer) installed before running this.

1. Copy the pcap file which contains a lot of traffic into this folder. Ensure that you don't have IP addresses that are publicly routable in the Pcap AND DNS Zone transfer turned on simultaenously. This causes problems. Edit the Pcap to ensure that only internally routable addresses exist in it.

2. Set the options in config.txt accordingly before starting to test.

3. Run the perl script get_unique_ip.pl as root or using sudo. There are commands in it which require root access.

4. The entire map is in a file called result in the same directory.

5. The result is sorted as per unique paths. Here is how it is to be read for the Example below. The path for the indented IP's ( 10.0.2.11 , 10.0.2.14 , 10.0.2.15 and 10.0.2.16) are:
localhost --> 10.0.1.1 --> 10.0.2.11
localhost --> 10.0.1.1 --> 10.0.2.14
localhost --> 10.0.1.1 --> 10.0.2.15
localhost --> 10.0.1.1 --> 10.0.2.16

10.0.1.1
	|____10.0.2.11
	|____10.0.2.14
	|____10.0.2.15
	|____10.0.2.16

Here is another example; The path for the indented IP's ( 10.0.2.11 , 10.0.2.14 , 10.0.2.15 and 10.0.2.16) are: 
localhost --> 10.0.1.1 -->172.16.3.1-->10.0.2.1-->10.0.2.11
localhost --> 10.0.1.1 -->172.16.3.1-->10.0.2.1-->10.0.2.14
localhost --> 10.0.1.1 -->172.16.3.1-->10.0.2.1-->10.0.2.15
localhost --> 10.0.1.1 -->172.16.3.1-->10.0.2.1-->10.0.2.16

10.0.1.1-->172.16.3.1-->10.0.2.1
	|____10.0.2.11
	|____10.0.2.14
	|____10.0.2.15
	|____10.0.2.16

6. Anything with xx as the root needs to be tested manually by any technique the tester chooses. In a future release ; whenever er that is ;) we hope to
fix this. For eg.
xx
	|____10.0.1.48
	|____10.0.1.101
	|____10.0.2.19

The hosts 10.0.1.48, 10.0.1.101 and 10.0.2.19 need to be tested manually to determine their paths in the network.

NOTE to Future Developers: get_unique_ip.pl , config.txt , 1 Pcap file and a filled domainlist(If you want to check Zone transfers) are all you need compulsorily. All the rest is junk which you can delete in case it isn't auto cleaned.
