Skip to content

Automatic MAC Address Changer in Python. In this project, We are trying to create a complete command-line-based automatic mac changer tool.

License

Notifications You must be signed in to change notification settings

hexdee606/Automatic-MAC-Address-Changer

Repository files navigation

AMC- Automatic Media Access Control (MAC) Address Changer

info Open source CC-0 license Python status

About

AMC script helps you change your network interface address (MAC) as per the given interval time without interrupting your network(Internet).

Tested On

Sr. Operating System Version Virtual Box VM Ware Network Type
1 Kali Linux 2021.2 status status network
2 Kali Linux 2021.1 status status network
3 Kali Linux 2020.4 status status network
4 Kali Linux 2019.4 status status network
5 Kali Linux 2018.4 status status network
6 Ubuntu 20.04 status status network
7 Debian 10.0 status status network

Features

  1. Change MAC address without interrupting the internet.
  2. Command Line Based Script.
  3. Lightweight and easily handleable.

Required packages

  • git required
  • net-tools required
  • macchanger required
  • network-manager required
  • Python3 required
  • pip3 optional
  • pyinstaller Optional

User Type

User must be super user / root user.

Install required packages

 sudo apt update -y
 sudo apt install git-all -y
 sudo apt install net-tools -y
 sudo apt install network-manager -y
 sudo apt install -y macchanger

Install optional packages

 sudo apt update -y
 sudo apt install python3-pip -y
 pip install pyinstaller -y

How to setup Automatic MAC Changer

Create new directory

 mkdir AMC
 cd AMC

Clone AMC from github

 git clone "https://github.com/hexdee606/Automatic-MAC-Address-Changer.git"

Method 1 : By using chmod

 cd Automatic-MAC-Address-Changer
 cd dist
 sudo chmod +x amc
 ./amc

Method 2 : By creating an executable file

 cd AMC
 cd Automatic-MAC-Address-Changer
 pyinstaller --onefile amc.py
 cd dist
 ./amc -h

Available options

[-h]    Help menu 

-i      Network interface

-t      Time to change the mac address 

Whenever you want to use Automatic MAC Changer AMC follow these steps.

Example

 ./amc  -i eth0 -t 30

Troubleshooting methods if the internet is not working.

If unable to access internet/ connection not established then do the following step (after using AMC):

 macchanger -p eth0 (Your Network interface)

If AMC is not working then do the following process:

default: managed=false
To change: managed=true

Connect Us

twitter github email twitter github email twitter github email

We hope you like our project. If 'Yes' click on the star icon at the top right corner or leave a comment so we can improve this script.

❤️ from Alchemists.

About

Automatic MAC Address Changer in Python. In this project, We are trying to create a complete command-line-based automatic mac changer tool.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages