2023 Use a packet capture program to capture some packets on your home PC Export the data | Assignment Collections
Computer Science 2023 Coding Assessment
2023 Use a packet capture program to capture some packets on your home PC Export the data | Assignment Collections
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
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.