summary refs log tree commit diff
path: root/trackless
diff options
context:
space:
mode:
Diffstat (limited to 'trackless')
-rw-r--r--trackless10
1 files changed, 10 insertions, 0 deletions
diff --git a/trackless b/trackless
new file mode 100644
index 0000000..cd1fd8b
--- /dev/null
+++ b/trackless
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+IFACES=$(ip -o link show | awk -F': ' '{print $2}')
+for IFACE in $IFACES; do
+    if [ $IFACE != "lo" ]; then
+        ip link set $IFACE down &>"/dev/null"
+        macchanger -a $IFACE &>"/dev/null"
+        ip link set $IFACE up &>"/dev/null"
+    fi
+done