diff options
author | pks <pks@pks.rocks> | 2020-11-10 12:23:22 +0100 |
---|---|---|
committer | pks <pks@pks.rocks> | 2020-11-10 12:23:22 +0100 |
commit | a9e6dadf3a9ade7204e803e14dd7c7bac2aecef9 (patch) | |
tree | c215f08866ab1a096e6bcfa01b2a941dcef89050 /spoof-mac | |
parent | 5549f662d63c1d016248e2b86422cae18a628a85 (diff) |
spoof-mac
Diffstat (limited to 'spoof-mac')
-rwxr-xr-x | spoof-mac | 3 |
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 |