Size: 843
Comment:
|
← Revision 5 as of 2016-01-28 16:24:19 ⇥
Size: 844
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
== Capture data destined to port 80 and stores it in ASCII== | == Capture data destined to port 80 and stores it in ASCII == |
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 data destined to port 80 and stores it in ASCII
Gets data arriving at interface eth0, to port 80 and stores the ASCII representation on file /tmp/out.txt
1 tcpdump -A -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