Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set filename=%1
- set tshark=C:\tools\wireshark2\tshark.exe
- set sort=C:\tools\GnuWin32\bin\sort
- echo %filename%
- echo.
- echo Fileinfo
- C:\tools\Wireshark2\capinfos.exe %filename%
- echo Statistics
- %tshark% -r %filename% -q -z conv,ip
- echo Number of SSL sessions in file:
- %tshark% -T fields -e ssl.handshake.session_id -r %filename% | %sort% -n | uniq | wc -l
- echo TCP Streams in file:
- %tshark% -T fields -e tcp.stream -r %filename% | %sort% -n | uniq | wc -l
- rem echo TCP length of IP packet
- rem %tshark% -T fields -e frame.number -e ip.addr -e ip.len -r %filename%
- rem Display ping times:
- rem %tshark% -r %filename% -Tfields -e frame.time_relative -e ip.addr -e tcp.analysis.ack_rtt -2 -R ip.dst==yourlocalip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement