蘋果mac地址修改

轉載地址:http://www.xitongzhijia.net/xtjc/20170919/107529.html

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'

需要密碼:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z

注意en0爲指定需要修改的網卡,ether後邊跟需要修改成的地址
sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx

需要密碼或指紋確認:
networksetup -detectnewhardware

查看是否成功
ifconfig
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章