code

Friday, December 13, 2019

Scan devices on your network with Windows natively








I couldn't find any decent solution for a lightweight LAN network discovery tool running from a Windows machine with WinAPI, so I decided to create one, using C++.

This tool can discover other devices on your network automaticlly, based on info gathered from all of the installed network cards on your Windows machine. Then, it uses them to send multi-threaded ARP requests and discover which IPs are responding.
It also prints the machine name if available.

Since the data is stored in JSON objects, it's also very easy to forward it to a remote server.



No comments:

Post a Comment

Mastering Problem-Solving and Cultivating a Research Mindset in the ChatGPT Era (and why you still need to RTFM)

  In this post I'll present a technical problem (some will say it's probably a bug more than it is a feature) I had with a VR app, h...