Linux, Apple & Windows mac address change python scrip for python.
- Open a terminal: To open a terminal, press
Ctrl + Alt + T
on your keyboard or open the terminal from your system's applications menu. - Navigate to the directory containing the script: Use the
cd
command to change to the directory where the script is located. For example, if the script is in the/Mac-Change/mac_change/
directory, you can use the following command:
cd /Mac-Change/mac_change/
- Make sure that the required Python packages are installed: The script may require specific Python packages to be installed. You can install these packages using the
pip
command. For example, to install thesubprocess
package, you can use the following command:
pip install subprocess
- Run the script: To run the script, simply type the name of the script and press enter. For example, if the script is named
mac_changer.py
, you can use the following command to run it:
python mac_changer.py
- Follow the script prompts: The script will prompt you to enter the interface name and the new MAC address. Enter the required information and press enter.
That's it! By following these steps, you can use a Linux Python script to change the MAC address using the terminal.
- Open Command Prompt: To open Command Prompt, press
Windows + R
on your keyboard to open the Run dialog box, typecmd
and press enter, or search for"Command Prompt"
in the Start menu. - Navigate to the directory containing the script: Use the
cd
command to change to the directory where the script is located. - Make sure that the required Python packages are installed: The script may require specific Python packages to be installed. You can install these packages using the
pip
command. For example, to install thesubprocess
package, you can use the following command:
pip install subprocess
- Run the script: To run the script, simply type the name of the script and press enter. For example, if the script is named
windows_mac_changer.py,
you can use the following command to run it:
python windows_mac_changer.py
- Follow the script prompts: The script will prompt you to enter the interface name and the new MAC address. Enter the required information and press enter.
That's it! By following these steps, you can use the windows_mac_changer.py
Python script to change the MAC address in Windows CMD.
Developer : @SAVINDU-DESHAN
Happy Hacking :)