Compare authorized BSSIDs (access point MAC addresses) against found BSSIDs to discover rogue wireless access points.
rogue-mac-check.bin /path/to/allowed_macs.txt /path/to/found_macs.txt
Both input files must be plaintext and newline-separated. Each line should contain a MAC address, however surrounding text is allowed. The first file contains the MAC addresses that are known and authorized, and are used as the whitelist to compare against. The second file contains the MAC addresses that have been found throughout the course of reconnaissance, using tools such as Kismet, airodump-ng, iwlist, etc.
All lines from the second file that contained unmatched MAC addresses.
Use "go run": go run /path/to/rogue-mac-check.go
Use "go build": go build -o /path/to/output/binary /path/to/rogue-mac-check.go
Use "go build", specifying the desired operating system and architecture: GOOS=windows GOARCH=386 go build -o /path/to/binary.exe /path/to/rogue-mac-check.go