在 Mac 上換無線網路 MAC address 的方式

Skip to content

在「Airpass – easily overcome WiFi time limits (tiagoalves.me)」這邊看到的討論,在 id=44338355 給了 command line 的重點:

sudo.exec("/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport en0 -z && ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`",

原連結把這件事情搞成一個 Electron app,所以在 id=44339173 這邊就被臭 XDDD

200 bytes for the business logic.

47MB for the UI & boilerplate around the business logic.

I get that this may be the easiest way to develop and publish an application today, but it's sad that this is the direction we have taken in recent years.

主要是在認 MAC address 的環境用,像是飛機上給 30mins 的 free wifi,通常就是用 MAC address 去記錄是否有用過了。

Stay Informed

Get the best articles every day for FREE. Cancel anytime.