0% found this document useful (0 votes)
0 views

TCP dump command (1)

Uploaded by

yirga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

TCP dump command (1)

Uploaded by

yirga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep -e 944121223 -e 913271656

tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep -e 944121223 -e 913271656


en1
tcpdump -i 1 -s0 -A -tttt -nn port 9081 | grep -e 944121223 -e 913271656

tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep -e 944121223 -e 913271656

to take tcpdump it must be by sudo su -

oot@dcwasussd2:/home/wassvc> sudo su -
root@dcwasussd2:/# tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep 913271656
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type EN10MB (Ethernet), capture size 262144 bytes
tcpdump -i 1 -s0 -A -tttt -nn port 9080 -w /home/wassvc/tcpdump192.pcap
tcpdump -i 1 -s0 -A -tttt -nn port 9080 -w /home/wassvc/tcpdump193.pcap

en1
tcpdump -i 1 -s0 -A -tttt -nn port 9081 -w /home/wassvc/tcpdump140.pcap

tcpdump -i 1 -s0 -A -tttt -nn port 9080 -w /home/wassvc/tcpdump142.pcap

tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep 913271656


tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep 913271656
en1
tcpdump -i 1 -s0 -A -tttt -nn port 9081 | grep 913271656

tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep 913271656

#which tcpdump //to check tcpdump is installed


#tcpdump -D //to check avillable interface
#tcpdump -i ens192 -C2 -nn host 10.1.226.76 and port 80 -w /home/wassvc/amsalu.pcap

i interface
C number of packet
nn disable port resolution
w save packet capturing files

tcpdump -i en0 -C2 -nn host 10.1.6.192 and port 80 -w /home/wassvc/tcpdump192.pcap

tcpdump -i en0 -C2 -nn host 10.1.6.193 and port 80 -w /home/wassvc/tcpdump193.pcap

en1
tcpdump -i en1 -C2 -nn host 10.3.6.140 and port 81 -w /home/wassvc/tcpdump140.pcap

tcpdump -i en0 -C2 -nn host 10.3.6.142 and port 80 -w /home/wassvc/tcpdump142.pcap

You might also like