AzizAhmad
AzizAhmad

Reputation: 647

how to capture HTTP packets in wireshark

I want to capture packets with some filter. how can I capture HTTP packets in Wireshark1.12.4? and how can I filter packets with "POST" method?

Upvotes: 1

Views: 2807

Answers (2)

AzizAhmad
AzizAhmad

Reputation: 647

this is filter for capturing http packets:

"port 80"

and this is filter for capturing http POST packets:

"port 80 and tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354"

Upvotes: 2

JeffUK
JeffUK

Reputation: 4251

Simple, to capture, select your interface and press 'start capturing' then to filter, put:

http.request.method == "POST" 

in the display filter.

Upvotes: 1

Related Questions