Use a packet capture program to capture some packets on your home PC. Export the data as a
csv file, and record the name.
Write a simple program (bash/python/perl/java/etc) to open and read the csv data, and generate
a report (print to stdout) of all unique destination IPs and hostnames associated with them. Also,
convert 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:
user@ubuntu:~$ ls | grep ‘wire|josi’
josishark.py
wiresharkcsv.csv
user@ubuntu:~$ ./josishark.py
192.168.1.169,chromecast.dlink.localhost
192.0.73.2,assert.lookup.com
192.168.1.160,zxcvf74321jd-4234.dlink.localhost
fe80::4c:5dcc:a364:10e4,localhost
user@ubuntu:~$ ls | grep ‘wire|josi’
josishark.py
wiresharkcsv.csv
wiresharkjson.json