Size: 496
Comment:
|
Size: 602
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
== Show captured raw data destined to port 80 == {{{#!highlight bash tcpdump -X -r /tmp/out.bin }}} |
tcpdump
Powerful command-line packet analyzer.
Capture data destined to port 80
Gets data arriving at interface eth0, to port 80 and stores the hexadecimal and ASCII representation on file /tmp/out.txt
1 tcpdump -X -pi eth0 port 80 > /tmp/out.txt
Capture raw data destined to port 80
Gets data arriving at interface eth0, to port 80 and stores the rawdata on file /tmp/out.bin
1 tcpdump -pi eth0 port 90 -w /tmp/out.bin
Show captured raw data destined to port 80
1 tcpdump -X -r /tmp/out.bin