Created
October 5, 2018 19:32
-
-
Save csereno/7fee28acc69e8e6e941ee06f2fccb6c2 to your computer and use it in GitHub Desktop.
Batch file to start a Wireshark (dumpcap) capture and output the files to a directory.
This file contains 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
@ECHO OFF | |
CD C:\Temp\WireSharkCaptures\ | |
DEL *.* /F /Q | |
"C:\Program Files\Wireshark\dumpcap.exe -i1 -n -t -b files:400 -b filesize:40000 -f "not port 3389" -w "C:\Temp\WireSharkCaptures\filename.pcap" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment