feross / spoof

Easily spoof your MAC address in macOS, Windows, & Linux!
https://feross.org/spoofmac/
MIT License
1.78k stars 99 forks source link

Spoofing fails on Mojave with no error message #40

Open delventhalz opened 3 years ago

delventhalz commented 3 years ago

Encountering this issue with a 2018 MacBook Air on macOS Mojave 10.14.6.

Running the following command fails without any status messages:

sudo spoof set aa:bb:cc:dd:ee:ff en0

I run the command, enter my password, and the command seems to complete. However, running spoof list reveals the Mac Address has not changed.

This issue appears to affect manually setting the address with ifconfig as well. Running this command also does not change anything and does not throw an error:

sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff

Not sure if or how Mac spoofing might be disabled system-wide, or if something else is going on here. Any help is appreciated.