3 ms·
https://github.com/feross/SpoofMAC https://github.com/feross/SpoofMAC
by fnord77 7y ago
https://github.com/feross/SpoofMAC https://github.com/feross/SpoofMAC
- Exuma 7y agoDoes this work with OSX? Its 5 years since the last update...
- feross 7y agoYes it still works.
- heavyset_go 7y agoHad this alias for years and it still works: alias random-mac='openssl rand -hex 6 | sed '\''s/\(..\)/\1:/g; s/.$//'\'' | xargs sudo ifconfig en0 ether'
- Exuma 7y agoAwesome, so does that change the permanent mac address that comes with the laptop, and it is forever gone? Or does it somehow "reset" when you restart, and you rerun this command multiple times
- heavyset_go 7y agoIt resets when you turn the NIC on and off, I believe.
- oil25 7y agoOn OpenBSD: # echo "lladdr random" >> /etc/hostname.athn0