StellarSand / universal-macchanger

Change the MAC address of a network interface on GNU/Linux, macOS and Windows systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

universal-macchanger

universal-macchanger tool allows you to change the MAC address of a network interface on GNU/Linux, macOS and Windows systems.

Changing the MAC address can be useful in various situations, such as hiding your device's identity on a network, or bypassing MAC address filters.

Contents

Supported OS

  • GNU/Linux
  • Windows
  • macOS

Prerequisites

Installation

1. Clone this repo:

git clone https://github.com/the-weird-aquarian/universal-macchanger.git

2. Move into the project directory:

cd universal-macchanger

3. Give executable permissions to the script (Not required for Windows):

chmod +x macchanger

Available options:

-h, --help              Show this help message and exit
-i, --interface         Interface name
-m, --mac               Set a MAC address manually
-r, --random            Set a random MAC address

Check interfaces & current MAC

You can check all the interfaces & their current MAC addresses using terminal/cmd:

  • GNU/Linux: ip a
  • Windows: ipconfig \all
  • macOS: networksetup -listallhardwareports

Usage

python3 macchanger -i <interface> -m <MAC>

Random MAC address can be set using:

python3 macchanger -i <interface> -r

Examples:

python3 macchanger -i wlan0 -m 00:11:22:33:44:55
python3 macchanger -i "Wireless Network Adapter" -r

Contributing

Pull requests can be submitted here. Any contribution to the project will be highly appreciated.

About

Change the MAC address of a network interface on GNU/Linux, macOS and Windows systems.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%