/ Published in: Bash
works on mac osx, haven't tested on anything else. let me know!
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ran=$(head /dev/urandom | md5); MAC=00:07:${ran:0:2}:${ran:3:2}:${ran:5:2}:${ran:7:2}; sudo ifconfig wlan0 down hw ether $MAC; sudo ifconfig wlan0 up; echo ifconfig wlan0:0