How yourpovv/mac-spoofer works
Mac Spoofer is a Windows console application for detecting a Wi-Fi adapter, changing its MAC override, restoring the hardware address, and checking the current/override values. The main workflow is an interactive menu, preceded by an administrator check and possible UAC relaunch. Wi-Fi operations use PowerShell, the Windows registry, and netsh. The source excerpts show these call relationships; the README documents the user-facing options and Windows/admin requirements.
Main entry points: main.go Application startup · wifi.go Adapter detection · banner.go Console banner · elevate.go Admin check
Components 16
Console interface
- Application startup
main.go - Options menu
main.go - Spoof MAC
main.go - Restore MAC
main.go - Check MAC
main.go - Console banner
internal/banner/banner.go
Startup access
- Admin check
internal/elevate/elevate.go - UAC relaunch
internal/elevate/elevate.go
Wi-Fi operations
- Adapter detection
internal/wifi/wifi.go - MAC utilities
internal/wifi/wifi.go - MAC override
internal/wifi/wifi.go - Current MAC query
internal/wifi/wifi.go - Adapter restart
internal/wifi/wifi.go
Other components
- User
- Windows registry
- Windows commands
Connections 25
- User → Application startup: runs
README.md - Application startup → Admin check: checks access
main.go - Application startup → UAC relaunch: requests elevation
main.go - Application startup → Console banner: sets title
main.go - Application startup → Options menu: starts
main.go - Options menu → Console banner: renders
main.go - Options menu → Spoof MAC: dispatches
main.go - Options menu → Restore MAC: dispatches
main.go - Options menu → Check MAC: dispatches
main.go - Spoof MAC → Adapter detection: detects
main.go - Spoof MAC → MAC utilities: generates
main.go - Spoof MAC → Current MAC query: queries
main.go - Spoof MAC → MAC override: applies
main.go - Restore MAC → Adapter detection: detects
main.go - Restore MAC → Current MAC query: queries
main.go - Restore MAC → MAC override: reverts
main.go - Check MAC → Adapter detection: detects
main.go - Check MAC → Current MAC query: queries
main.go - Check MAC → MAC override: reads status
main.go - Adapter detection → Windows commands: probes adapter
internal/wifi/wifi.go - Adapter detection → Windows registry: finds driver key
internal/wifi/wifi.go - Current MAC query → Windows commands: queries address
internal/wifi/wifi.go - MAC override → Windows registry: reads or writes
internal/wifi/wifi.go - MAC override → Adapter restart: restarts adapter
internal/wifi/wifi.go - Adapter restart → Windows commands: runs netsh
internal/wifi/wifi.go