randomize your mac address


/ Published in: Bash
Save to your folder(s)

works on mac osx, haven't tested on anything else. let me know!


Copy this code and paste it in your HTML
  1. 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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.