Chameleon is a command-line tool that allows users to change their MAC address on a specified network interface. This tool is useful for scenarios where users need to modify their device's MAC address for privacy, security, or network troubleshooting purposes.
- Display the current MAC address of a network interface.
- Change the MAC address to a random value.
- Set a specific MAC address provided by the user.
- Save and restore the original MAC address.
- View the history of MAC address changes.
- Operating System: Linux
- Permissions: The tool requires root or superuser permissions to modify network interface settings.
There are two ways to use this tool:
- Command line arguments
- Menu
sudo ./chameleon.sh <interface>
-
./chameleon.sh -d <interface>
-
./chameleon.sh -r <interface>
-
./chameleon.sh -m <new_mac_address> -i <interface>
-
./chameleon.sh -o <interface>
-
./chameleon.sh -h
sudo ./chameleon.sh <interface>
Replace <interface> with the actual network interface you want to modify.
- Display current MAC address:
- Shows the current MAC address of the specified network interface.
- Change to random MAC address:
- Sets a random MAC address for the specified network interface.
- Change to specific MAC address:
- Allows the user to enter a specific MAC address for the network interface.
- Restore original MAC address:
- Restores the original MAC address for the specified network interface.
- Display MAC address change history:
- Shows the history of MAC address changes.
- Exit:
- Exits the script.
sudo ./chameleon.sh eth0
This tool is distributed under the MIT License.
Changing your MAC address may affect your network connectivity. Use this tool responsibly and ensure compliance with applicable laws and regulations.