Sahil-Poonia-zz / mac-changer

Change the mac address of network interfaces.

Home Page:https://sahil-poonia.github.io/mac-changer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Change the mac address of network interfaces.

https://sahil-poonia.github.io/mac-changer/

License:GNU General Public License v3.0


Languages

Language:Python 100.0%