Last active
March 2, 2017 16:21
-
-
Save 13Cubed/27f496ef830c78ee0dcbbf9a3c47f32f to your computer and use it in GitHub Desktop.
A Bash script to call tcpdump for DNS traffic capture.
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
#!/bin/bash | |
/usr/sbin/tcpdump -i [INTERFACE_HERE] -s0 -G 300 -w '/capture/dns_%Y-%m-%d_%H:%M:%S.pcap' 'port 53' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment