Original author here. Thanks, nh, for sharing this.<p>To those wondering why you would use SpoofMAC when you can just do `sudo ifconfig en1 ether 00:11:22:33:44:55:66`, let me explain why I wrote this.<p>The main advantage of SpoofMAC is that it automatically disassociates from any connected Wi-Fi networks before it changes your MAC address. The ensures the MAC change will be applied correctly. The biggest annoyance with doing it manually is figuring out how to dissociate manually, which usually requires trying to connect to a non-existant network.<p>After I put the code on GitHub, a few random contributors submitted patches for features like random MAC generation, etc. <3 open source.<p>Glad that so many are finding this useful.