Coding Assessment
Use a packet capture program to capture some packets on your home PC. Export the data as acsv file, and record the name.Write a simple program (bash/python/perl/java/etc) to open and read the csv data, and generatea report (print to stdout) of all unique destination IPs and hostnames associated with them. Alsoconvert the csv data into valid JSON, and write that to a file.Only submit your script. Do not submit your data.An example of the output format is found below:[email protected]:~$ ls | grep ‘wire|josi’[email protected]:~$ ./josishark.py192.168.1.169,chromecast.dlink.localhost192.0.73.2,assert.lookup.com192.168.1.160,zxcvf74321jd-4234.dlink.localhostfe80::4c:5dcc:a364:10e4,[email protected]:~$ ls | grep ‘wire|josi’josishark.pywiresharkcsv.csvwiresharkjson.json