Friday, September 28, 2012

How to capture network traffic through command line in C#

Wireshark is a GUI tool which enable us to click and capture network traffic. if you are IT admin guy, you may want something like tcpdump in linux. actually, bundled with the wireshark installation, there is one tool called tshark.exe

image

you can run tshark –D to list all the NIC interfaces,
image

If you want to see traffic for interface 4,using the –i command

image

for me , I just wondering to know which app is trying to send out some http traffic,
image
once found it, love it!

No comments:

 
Locations of visitors to this page