Skip to content

Sreenivas-147/mac-address-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

MAC Address Changer

Description

This Python-based script facilitates MAC address manipulation on Linux-based systems (especially Kali Linux). It allows users to either manually assign a MAC address or generate one randomly using OUIs from vendors like Cisco and Dell.

The script:

  • Displays current MAC
  • Changes to manual or random MAC
  • Uses ifconfig via Python’s subprocess

Requirements

Python:

  • Python 3
  • Built-in modules: re, subprocess, random

System:

  • Root/sudo access
  • ifconfig utility (Install via net-tools):
sudo apt update
sudo apt install net-tools

How to Run
sudo python3 mac_changer.py

Script Options
Enter 1: Manual MAC address change
Enter 2: Generate Random MAC using Cisco or Dell OUIs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages