netdiscover-scanner/netdiscover — reverse-engineered prompt

Reverse engineered prompt

GitHub

Please build me a simple command line network discovery tool in C, basically like Netdiscover. I want to run it on a local network and have it send ARP requests, listen for replies, and show the devices it finds in an easy to read table with IP address, MAC address, and vendor name when possible. It should be useful on small wireless networks that do not have DHCP, and still work on switched networks. Use libpcap and libnet like the original project expects, keep the classic build flow so I can run autogen, configure, make, and install, and include the optional script to refresh the MAC vendor list. Please make sure it compiles cleanly with gcc and feels solid enough for normal Linux use. If anything in the older code is messy, clean it up just enough to build and run reliably, and look up current docs online if you need to.

Want more depth? Deep Reverse