NOTE: this doesn't work & I lost a bunch of code at some points. sorry, not sorry.
A simple bash script to scan common networks with ARP requests to steal a found internal IP address, if DHCP does not automatically assign one on startup.
Dependent on arp-scan, which discovers IP:MAC:VENDOR for us. This script could easily be modified to steal MAC addresses using macchanger if desired, which would be useful for bypassing MAC-based access control lists (ACLs).
To-do:
- Add arguments
- Add capability for stealing IP or MAC... or both
- Check for binary
- Default help() function
- Put into container with arp-scan
This isn't to be considered a "finished" product. I've been lazy with this & lost a bunch of code.