Tuesday, October 8, 2013

To capture TCP Packets in Mac OS X


In Terminal  use the below command:

sudo tcpdump -s0 -n -il0 -w l0.cap

This will dump the packet info in the user’s home directory. This can be viewed using Wireshark. 

No comments:

Post a Comment