Colored MAC address spoofing script for Arch Linux
Basic MAC address spoofing script for Arch Linux.
Should also work on other systems, but Arch Linux uses different default names for its network devices.
Requires openssl
for randomness and sudo
.
$ ./spoof.sh
Generate a random MAC address and assign it to the default device (wlp7s0
).
$ ./spoof.sh -i wlan -a dead
face
cafe:babe -c
Set the MAC address of wlan
to dead
and do not color the output.face
cafe:babe
$ ./spoof.sh -h
Output command usage.