Answer the question
In order to leave comments, you need to log in
How to write a silent mac address scanner on a local network?
There is a question of choice, I know how to use languages, but so far there is little practice. The task is abstract, I need the program to hang in the background and scan the network for neighbors, if found, find mac and save. In search of a cross-platform type solution, we take the python library ....
Answer the question
In order to leave comments, you need to log in
There is scapy for python, but with cross-platform it’s not so simple there (although I think it’s possible to write a scanner by MAC addresses)
Us C# the task in the forehead is solved elementarily:
1. We define the IP array, manually or by the simplest enumeration algorithm.
2. Iterate through the array, checking ip for presence, ping example: stackoverflow.com/a/11804416
3. For success, try to get MAC, examples:
- pietschsoft.com/post/2009/11/08/Resolve_IP_Address...
- stackoverflow.com/a/19244196
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question