Unable to spoof on Mac M1 Pro running OS version 12.4 and spoofMac version 2.1.1
- Dominant language
- Python
- Stars
- 3.2k
- Forks
- 277
- PR merge metrics
- No merged PRs in 30d
Description
## Error Message
```
sudo spoof-mac.py set xx:xx:xx:xx:xx en0
ifconfig: ioctl (SIOCAIFADDR): Invalid argument
Traceback (most recent call last):
File "/opt/homebrew/bin/spoof-mac.py", line 138, in
sys.exit(main(arguments, root_or_admin))
File "/opt/homebrew/bin/spoof-mac.py", line 118, in main
set_interface_mac(device, target_mac, port)
File "/opt/homebrew/Cellar/spoof-mac/2.1.1_4/libexec/lib/python3.10/site-packages/spoofmac/interface.py", line 540, in set_interface_mac
spoofer.set_interface_mac(device, mac, port)
File "/opt/homebrew/Cellar/spoof-mac/2.1.1_4/libexec/lib/python3.10/site-packages/spoofmac/interface.py", line 450, in set_interface_mac
subprocess.check_call([
File "/opt/homebrew/Cellar/python@3.10/3.10.4/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ifconfig', 'en0', 'ether', 'xx:xx:xx:xx:xx']' returned non-zero exit status 1.
```
## Spoof Mac version
```
spoof-mac --version
2.1.1
```
## Mac OS details
Version: 12.4
## Similar issues (but the solution there does not work for me)
1. [MAC address spoofing not working in macOS 12 Monterey](https://developer.apple.com/forums/thread/684745)
2. [Odd response when trying to spoof en0 #60](https://github.com/feross/SpoofMAC/issues/60)
## spoof-mac installation details
I brewed it on my mac from https://formulae.brew.sh/formula/spoof-mac
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.