Change Mac Address on MacBook Air/Pro (Spoofing)
I recently had an issue changing mac address on my MacBook Air. Here’s how to change mac address to a random one keeping first three digits (otherwise it won’t work). tl;dr: $ networksetup -getmacaddress en0 | awk ‘//{“openssl rand -hex 3” | getline mac; sub(“(:..){3}$”, mac, $3); print $3}’ | sed ‘s/://g; s/\(..\)/:\1/g; s/^://’ | […]