Skip to content

Instantly share code, notes, and snippets.

View coenraadhuman's full-sized avatar
🐧

Coenraad Human coenraadhuman

🐧
  • Netherlands
  • 03:16 (UTC +02:00)
View GitHub Profile
@coenraadhuman
coenraadhuman / MAC_changer.sh
Created April 29, 2017 10:18
MAC Spoofing script for Ubuntu 16.04
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
exec sudo "$0" "$@"
fi
change_mac() {
echo -n "Choose network interface. (enp4s0f2): "
read nic
ifconfig $nic down