TCPDUMP - KIRA BILANGAN PAKET

Contoh UDP - Kitaran 1 saat

root@haruan:/home/pentester# tcpdump -r jumaat.pcap udp |awk '{print substr($1,0,8)};'|uniq -c|grep "14:57:57" |awk '{print $2 ":", $1 " " "Packets"}'

Contoh ICMP - ECHO-REPLY - Kitaran 1 saat

root@haruan:/home/pentester# tcpdump -r jumaat_icmp.pcap 'icmp[icmptype] = icmp-echoreply' |awk '{print substr($1,0,8)};'|uniq -c|sort -rn |grep "15:34:28" |awk '{print $2 ":", $1 " " "Packets"}'

Comments