diff options
-rwxr-xr-x | spoof-mac.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 + |