An open API service indexing awesome lists of open source software.

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.

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.