summaryrefslogtreecommitdiff
path: root/spoof-mac.sh
blob: 40f89b49d80ce7d184cf5b054a866bf74d2a40c3 (plain)
1
2
3
4
#!/bin/sh

openssl rand -hex 6 | sed 's/(..)/1:/g; s/.$//' | xargs sudo ifconfig $1 ether