The MAC Spoofer is a cross-platform utility designed to change the MAC address of your network interfaces on Linux, macOS, and Windows systems. This tool is particularly useful for privacy-conscious users who want to obscure their device's identity on a network or for testing purposes in network security.
- Cross-Platform Support: Works on Linux, macOS, and Windows.
- Easy to Use: Simple command-line interface for setting and resetting MAC addresses.
- Root Privileges Check: Ensures the script is run with the necessary permissions.
- Error Handling: Provides clear error messages for common issues.
-
Clone the repository:
git clone https://github.com/TheLeopard65/MAC-Spoofer.git cd MAC-Spoofer
-
Compile the source code: Run the
compiler.sh
script to compile the appropriate version for your operating system:sudo bash compiler.sh
The MAC Spoofer can be used with the following commands:
./mac_spoofer_<os> -s <interface_name> <mac_address>
./mac_spoofer_<os> -r <interface_name>
To set a new MAC address on a Linux system:
sudo ./mac_spoofer_linux -s eth0 00:11:22:33:44:55
To reset the network interface:
sudo ./mac_spoofer_linux -r eth0
-s <interface_name> <mac_address>
: Set a new MAC address for the specified interface.-r <interface_name>
: Reset the specified network interface.
- Linux: Compiled with
g++
. - macOS: Compiled with
g++
. - Windows: Compiled with Visual Studio's Developer Command Prompt.
Before compiling, ensure you have the following installed:
-
Linux:
build-essential
g++
net-tools
iproute2
-
macOS:
- Xcode Command Line Tools
-
Windows:
- Visual Studio with C++ development tools
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
Thank you for using MAC Spoofer! Happy spoofing!