views:

244

answers:

6

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?

+12  A: 

Depending on your exact requirements, Fiddler may be sufficient.

Rowland Shaw
+1 Fiddler is actually one of the most robust tools I've found for the Windows platform. It also comes with a FireFox plugin so that you can easily utilize it cross-browser (other browsers require some hand configuration, but still work).
Justin Niessner
+1  A: 

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/)

Seidr
A: 

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

zaf
A: 

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.

ewall
+1  A: 

I found this in another post, it works

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

Costa
A: 

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.

Zymotik