https://github.com/stellarsand/universal-macchanger
Change the MAC address of a network interface on GNU/Linux, macOS and Windows systems.
https://github.com/stellarsand/universal-macchanger
hacking-tools linux linux-scripts macchanger macos python python-script python3 terminal windows windows-scripts
Last synced: about 1 month ago
JSON representation
Change the MAC address of a network interface on GNU/Linux, macOS and Windows systems.
- Host: GitHub
- URL: https://github.com/stellarsand/universal-macchanger
- Owner: StellarSand
- License: gpl-3.0
- Created: 2023-01-20T11:41:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-20T12:30:38.000Z (about 3 years ago)
- Last Synced: 2024-12-30T17:46:27.307Z (about 1 year ago)
- Topics: hacking-tools, linux, linux-scripts, macchanger, macos, python, python-script, python3, terminal, windows, windows-scripts
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# universal-macchanger
**universal-macchanger** tool allows you to change the MAC address of a network interface on GNU/Linux, macOS and Windows systems.
Changing the MAC address can be useful in various situations, such as hiding your device's identity on a network, or bypassing MAC address filters.
## Contents
- [Supported OS](#supported-os)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Available options](#available-options)
- [Check interfaces & current MAC](#check-interfaces--current-mac)
- [Usage](#usage)
- [Contributing](#contributing)
## Supported OS
- GNU/Linux
- Windows
- macOS
## Prerequisites
- [Python3](https://www.python.org/downloads/)
## Installation
**1. Clone this repo:**
```
git clone https://github.com/the-weird-aquarian/universal-macchanger.git
```
**2. Move into the project directory:**
```
cd universal-macchanger
```
**3. Give executable permissions to the script (Not required for Windows):**
```
chmod +x macchanger
```
## Available options:
```
-h, --help Show this help message and exit
-i, --interface Interface name
-m, --mac Set a MAC address manually
-r, --random Set a random MAC address
```
## Check interfaces & current MAC
You can check all the interfaces & their current MAC addresses using terminal/cmd:
- GNU/Linux: `ip a`
- Windows: `ipconfig \all`
- macOS: `networksetup -listallhardwareports`
## Usage
```
python3 macchanger -i -m
```
Random MAC address can be set using:
```
python3 macchanger -i -r
```
**Examples:**
```
python3 macchanger -i wlan0 -m 00:11:22:33:44:55
```
```
python3 macchanger -i "Wireless Network Adapter" -r
```
## Contributing
Pull requests can be submitted [here](https://github.com/the-weird-aquarian/universal-macchanger/pulls). Any contribution to the project will be highly appreciated.