Created
July 13, 2017 13:42
-
-
Save kgantsov/2d23ffb0d81cb3682085af4a8780397c to your computer and use it in GitHub Desktop.
Simple bash script to do tcpdump that will listen specified host
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 | |
if [ $# -eq 1 ] | |
then | |
tcpdump -nnvXSs 0 host $1 | |
else | |
echo "No arguments supplied" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment