Costa
Costa

Reputation: 4085

How to sniff http requests

I want to sniff a local HTTP request to an ASP.NET web application.

Is telnet an option?

How do you capture packets to a web application?

Upvotes: 7

Views: 19334

Answers (6)

Zymotik
Zymotik

Reputation: 7307

http://www.wireshark.org/ is a very advanced and free sniffer/protocol analyzer. I use it on our servers to monitor things from sip protocol info to raw http data. Its all you need and you can add filter rules to just get the data from certain IP etc. ie:

ip.addr == 192.168.1.1

Raw packets and headers all included.

Upvotes: 4

Costa
Costa

Reputation: 4085

I found this in another post, it works

http://socketsniff.nirsoft-freeware.qarchive.org/_download2.html

Upvotes: 1

ewall
ewall

Reputation: 28100

There are browser add-ins that can make sniffing of the HTTP requests easy:

For Internet Explorer, there is the Fiddler Web Debugger.

For Firefox, there is the Live HTTP Headers add-in.

Upvotes: 0

zaf
zaf

Reputation: 23244

Have you tried browser plugins that allow you to do this? Firebug, etc.

Upvotes: 1

Seidr
Seidr

Reputation: 4936

For ease of setup, I personally would use either the Tamper Data (https://addons.mozilla.org/en-US/firefox/addon/966) or Live HTTP Headers (https://addons.mozilla.org/addon/3829) plugin for the FireFox browser - or for a lower level solution WireShark (http://www.wireshark.org/)

Upvotes: 1

Rowland Shaw
Rowland Shaw

Reputation: 38130

Depending on your exact requirements, Fiddler may be sufficient.

Upvotes: 18

Related Questions