sniffing

How to intercept packets sent by an application and check their header and content? [closed]

血红的双手。 提交于 2019-11-27 13:08:18
问题 I'd like to know how can I intercept packets sent by a certain application and then to check what those packets contain. I need some advice what to do because I've never done such a thing and I want to learn by myself. 回答1: Pcap.Net Pcap.Net is a .NET wrapper for WinPcap written in C++/CLI and C#. It Features almost all WinPcap features and includes a packet interpretation framework. SharpPcap SharpPcap is a cross-platform packet capture framework for the .NET environment, based on the famous

Why is browser sniffing not a recommended practice?

对着背影说爱祢 提交于 2019-11-27 08:54:34
You hear it all over the place: using javascript to sniff the user agent string to detect browser versions is a Very Bad Thing. The latest version of jQuery has now deprecated its $.browser object in place of $.support . But what should I do if there's a bug or problem which is only affecting IE and not the other browsers, and I'm not sure why? In my case, some jQuery code makes a tooltip appear and disappear with an animation on mouseover and mouseout. In Internet Explorer, it looks awful, and jittery, with the tooltip div changing to a really large size before hiding, and if you run your

Packet sniffing in Python (Windows)

安稳与你 提交于 2019-11-27 07:01:31
What is the best way to sniff network packets using Python? I've heard from several places that the best module for this is a module called Scapy, unfortunately, it makes python.exe crash on my system. I would assume that it's just a problem with how I installed it, except that many other people have told me that it doesn't work particularly well on Windows. (If anyone is interested, I'm running Windows Vista, which might affect things). Does anyone know of a better solution? UPD: After reading the answer telling me to install PyPcap, I messed around with it a bit and found out that Scapy,

Are there any HTTP/HTTPS interception tools like Fiddler for mac OS X? [closed]

限于喜欢 提交于 2019-11-27 02:56:34
I would like to know if there are any applications like fiddler but for mac OS X, as I need to debug some requests from web applications in Mac OS X. I used to do it with fiddler on Windows and would love to have this tool available on Mac as well. outis There's the more general but perhaps not as helpful to you Wireshark . One of the SO server sites might be better suited for your question. In fact, it's already been asked on SuperUser . Charles is written in Java and runs on Macs. It's not free though. You can point your Mac at your Windows+Fiddler machine: http://www.fiddler2.com/fiddler

In C# how could I listen to a COM (Serial) Port that is already open?

[亡魂溺海] 提交于 2019-11-26 18:28:44
问题 I am using a program that talks to my COMM port, but I have made another program that I want to "sniff" the comm port messages and perform it's own actions against those messages in addition. Is this possible in .NET c#? 回答1: There are third party libraries/tools/products that expose the traffic f you are interested. Here is one I used for serial port emulation - but I think it provides something you can use: http://com0com.sourceforge.net/ 回答2: If you have control over the first program that

Why is browser sniffing not a recommended practice?

柔情痞子 提交于 2019-11-26 14:24:24
问题 You hear it all over the place: using javascript to sniff the user agent string to detect browser versions is a Very Bad Thing. The latest version of jQuery has now deprecated its $.browser object in place of $.support . But what should I do if there's a bug or problem which is only affecting IE and not the other browsers, and I'm not sure why? In my case, some jQuery code makes a tooltip appear and disappear with an animation on mouseover and mouseout. In Internet Explorer, it looks awful,

Are there any HTTP/HTTPS interception tools like Fiddler for mac OS X? [closed]

久未见 提交于 2019-11-26 10:18:04
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I would like to know if there are any applications like fiddler but for mac OS X, as I need to debug some requests from web