This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
netsec-djw2/hw2/script.sh
David Westgate 262c186ef7 start hw2
2024-04-25 17:47:30 -07:00

9 lines
408 B
Bash

#!/bin/sh
#Perform a tcpdump capture where you only capture DNS packets.
sudo tcpdump -c 10 -ttt 'tcp port 53 or udp port 53'
#Perform a tcpdump capture where you capture TCP packets that are destined for either port 443 or 8080, and originate from your computer.
#Perform a tcpdump capture where traffic is either UDP or TCP, is inbound to your computer, and destined for a port between 20000 and 35000.