Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How to sniff traffic on a network?

So I've seen a lot of tutorials about this matter but hey end up not working somehow so I'd just appreciate someone with experiencie just give me some advice.
My goal is to sniff everything happening on a wifi (I'm testing on my own network), seeing what websites are being visited, etc; without the users seeing "connection is not secure" or nothing like that.
I'm not asking for a one-click thing, I understand there's more than just doing something like that. What I'd like is someone more advanced to guide me on the right direction on what should I look into.
Thanks in advance ✌
I recommend using wireshark. There are lots of tutorials on the program.
Anybody knows it how to doit in C#?
I would agree with Lynx, WireShark is probably your best option in this case. There are a lot of examples online and its fairly intuitive to use.
(Jan 28, 2020 07:23 AM)Ramb0x Wrote:  Anybody knows it how to doit in C#?

Why would you want to do it in C#? it would be easier just to use wire shark. you'd be reinventing the wheel oherwise.
For console version of sniffer. Save log to .txt file etc....
Actually it's not a bad idea take the following scenario, you are on a target network want to capture some traffic yet putting wireshark/tshark/netmon is not an option, this can be used to capture credentials. If the device supports promiscuous mode, then that is excellent. I have done it in PowerShell so I know it's possible in C# as well, that (promiscuous mode) was honestly the most tricky but MSDN to the rescue. It might be easier to save as an etl but it's easy to convert it to a .cap for later analysis.


https://docs.microsoft.com/en-us/dotnet/...mework-4.8 - Putting device into promiscuous mode

https://isc.sans.edu/forums/diary/No+Wir...lem/19409/ -- convert etl to cap file


Possibly Related Threads...
Thread / Author Replies Views Last Post
by hdawg12Sep 13, 2022 10:15 PM 4 297 Sep 13, 2022 10:15 PM
Last Post: hdawg12
by laguerre2Apr 11, 2022 06:18 PM 0 189 Apr 11, 2022 06:18 PM
Last Post: laguerre2
by alwayshackingJan 31, 2020 02:54 AM 13 3,048 Jan 31, 2020 02:54 AM
Last Post: bradleystrider