System Ass
Budget: $10 – $30 USD
Use a packet capture program to capture some packets from a PC. Generate some traffic. Export the data as a csv file.
Write a simple program (bash/python) 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, while producing the summary to stdout, also export the full csv data into valid JSON, and write that to a new file.
Only submit your script.
An example of the output format is found below:
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
Write a simple program (bash/python) 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, while producing the summary to stdout, also export the full csv data into valid JSON, and write that to a new file.
Only submit your script.
An example of the output format is found below:
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