T
T
top132014-04-27 17:14:02
Programming
top13, 2014-04-27 17:14:02

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

4 answer(s)
T
throughtheether, 2014-04-27
@throughtheether

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)

S
slaykovsky, 2014-04-27
@slaykovsky

Write on CL, if you can think with your brains.

P
Puma Thailand, 2014-04-27
@opium

I wrote such a program in c# at one time.

I
Ilya, 2014-04-28
@Gorily

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 question

Ask a Question

731 491 924 answers to any question