6 lines
221 B
Bash
Executable File
6 lines
221 B
Bash
Executable File
# shellcheck shell=ksh
|
|
# Ethernet Address: 54:8d:5a:84:1b:15 (Device: en0)
|
|
hack_mac="0b:b7:f6:21:bd:0c"
|
|
/sbin/ifconfig en0 up
|
|
/sbin/ifconfig en0 ether "$hack_mac"
|
|
echo "$(date "+%Y-%m-%d %H:%M:%S")" write en0 "$hack_mac" |