Created
February 14, 2019 11:33
-
-
Save int0x33/4997187b087acf3c19a7b76f953795f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| MACCHANGER=/usr/bin/macchanger | |
| [ "$IFACE" != "lo" ] || exit 0 | |
| # Bring down interface (for wireless cards that are up to scan for networks), change MAC address to a random vendor address, bring up the interface | |
| /sbin/ifconfig "$IFACE" down | |
| macchanger -A "$IFACE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment