summaryrefslogtreecommitdiff
path: root/spoof-mac
diff options
context:
space:
mode:
Diffstat (limited to 'spoof-mac')
-rwxr-xr-xspoof-mac3
1 files changed, 3 insertions, 0 deletions
diff --git a/spoof-mac b/spoof-mac
new file mode 100755
index 0000000..722efb5
--- /dev/null
+++ b/spoof-mac
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+openssl rand -hex 6 | sed 's/(..)/1:/g; s/.$//' | xargs sudo ifconfig $1 ether