Skip to content

Sahil-Poonia-zz/mac-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages