Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.25 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.25 KB

MAC-CHANGER2.0

USAGE

clone the repository with git clone https://github.com/fixit-py/MAC-CHANGER2.0.git

change into the directory with cd MAC-CHANGER2.0

give the file permission to run as an executable with chmod +x mac-changer.py

run python mac-changer.py -i "interface" while using python2

run python3 mac-changer.py -i "interface" while using python3

replace the interface with the name of your network interface save fix

ABOUT

This python program changes the MAC address of any interface on the network for a linux machine compatible with both python 2 and python 3 specify the interface name using the -i or --interface from the bash terminal. Prompts the user to enter if they want the MAC address to be changed automatically to any random valid MAC address or the user wants to specify thier custom MAC address. "y" to be changed automatically to any random valid MAC address and "n" to specify thier custom MAC address. note "" must be added to all entry prompted by the program while using python 2

Modules

re subprocess random optparse(argparse)