Last active
June 11, 2020 18:36
-
-
Save jsoros/8096ddd5b2a37c561aaea98a7d527de2 to your computer and use it in GitHub Desktop.
Packet capture traffic and write output to file while displaying
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo tcpdump '(src host <ip> and src port 443) or (dst host <IP> and dst port 443)' -U -s 1500 -i eth0 -w - | tee $(date +%Y%m%d%H%M%S).pcap | tcpdump -r - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment