Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milesrack/mac-changer
A Python script to change your MAC address to a random value or specify a new one.
https://github.com/milesrack/mac-changer
mac-address mac-address-spoofing mac-change mac-changer python python3
Last synced: about 1 month ago
JSON representation
A Python script to change your MAC address to a random value or specify a new one.
- Host: GitHub
- URL: https://github.com/milesrack/mac-changer
- Owner: milesrack
- License: gpl-3.0
- Created: 2023-07-23T17:55:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-23T20:21:28.000Z (over 1 year ago)
- Last Synced: 2023-07-23T21:26:49.581Z (over 1 year ago)
- Topics: mac-address, mac-address-spoofing, mac-change, mac-changer, python, python3
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mac-changer
A Python script to change your MAC address to a random value or specify a new one.## Installation
```
git clone https://github.com/milesrack/mac-changer
cd mac-changer
pipx install .
```## Usage
```
usage: mac-changer [-h] [-i INTERFACE] [-r] [-a ADDRESS] [-l]Change your MAC address to a random address or specify a new one.
options:
-h, --help show this help message and exit
-i INTERFACE, --interface INTERFACE
Network interface to modify MAC address (default all)
-r, --random Generate a random MAC address (default)
-a ADDRESS, --address ADDRESS
New MAC address
-l, --list List available interfaces
```## Examples
Random MAC address for all valid wireless and ethernet network interfaces:
```
sudo mac-changer
```
List available network interfaces:
```
sudo mac-changer --list
```
Random MAC address for `wlan0` interface:
```
sudo mac-changer -i wlan0
```
Set MAC address `12:34:56:78:9a:bc` for `wlan0` interface:
```
sudo mac-changer -i wlan0 -a 12:34:56:78:9a:bc
```