⇤ ← Revision 1 as of 2013-08-14 15:35:31
Size: 288
Comment:
|
Size: 496
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
== 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 {{{#!highlight bash tcpdump -pi eth0 port 90 -w /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
Toggle line numbers
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
Toggle line numbers
1 tcpdump -pi eth0 port 90 -w /tmp/out.bin