vik-y
3/27/2015 - 10:23 AM

Capture ip of people who are browsing youtube

Capture ip of people who are browsing youtube

sudo tcpdump -i wlan0 -n src 216.58.220.46 -c 5 > capture.dat #can also use src youtube.com
cat capture.dat 
cat capture.dat | awk  -F ' ' '{print $5}' | awk  -F '.' '{print $1"."$2"."$3"."$4}' | awk -F ':' '{print $1}'