Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.17 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.17 KB

mac-changer Maintainability

A simple python mac changer to change the mac address of network interfaces.

Installation

make sure you are using linux and have following tool(s) installed on your system:

iproute2 (for Ubuntu / Debian) OR iproute (for CentOS / Fedora)
ethtool

Use the package manager pip to install all the requirements according to requirements.txt.

pip install -r requirements.txt

Usage

python3 mac_changer.py -h

Options

  -h, --help            show this help message and exit
  -i, --interface       name of network interface. (e.g:- wlan0, eth0, etc..)
  -m, --mac             desired mac address. (e.g:- 00:11:22:33:44:55)
  -a                    shows all interfaces
  -r, --reset           reset the mac address of specified network interfac

⚠️ the option 'show all interfaces' requires internet access to show their respective network interface's vendor. else, it'll show an unknown vendor.

License

GNU GPLv3