From 4d09a9128fd5ed971242d6c3d5ca86565fbf2332 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 5 Jul 2017 07:55:22 +0200 Subject: spoof MAC address on mac --- spoof-mac.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 spoof-mac.sh diff --git a/spoof-mac.sh b/spoof-mac.sh new file mode 100755 index 0000000..40f89b4 --- /dev/null +++ b/spoof-mac.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +openssl rand -hex 6 | sed 's/(..)/1:/g; s/.$//' | xargs sudo ifconfig $1 ether + -- cgit v1.2.3