Skip to content

Python script to change the mac address of linux or kali linux system

Notifications You must be signed in to change notification settings

deeanshudeep24/Mac_address_changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This is a Python script for changing the MAC (Media Access Control) address of a network interface on Linux systems using the ifconfig command

Features:

Allows users to specify the interface and the new MAC address.

Verifies if the MAC address change was successful.

Provides feedback and instructions after the MAC address change.

Prerequisites:

  • This program is intended for use on Linux systems.

  • Ensure Python3 is installed.

Usage:

To use the MAC changer program, follow these steps:

Clone or download the repository to your local machine.

Open a terminal and navigate to the directory containing the script.

  • cd Mac_address_changer

Run the script with the following command:

python3 mac_changer.py -i [INTERFACE] -m [NEW_MAC_ADDRESS]

Replace [INTERFACE] with the name of the network interface you want to change (e.g., eth0, wlan0) and [NEW_MAC_ADDRESS] with the desired MAC address.

Example:

  • python3 mac_changer.py -i eth0 -m 00:11:22:33:44:55

Ensure you have administrative privileges to execute the script. The program may not work on all systems or interfaces. Test it on a non-critical system first. Use it responsibly and ethically, respecting local laws and regulations.

This program was written by Deepanshu Deep.

About

Python script to change the mac address of linux or kali linux system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages