Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismail-benali/natsumactool
NatsuMacTool is a tool that automatically sets a random MAC address for the primary network interface upon system startup.
https://github.com/ismail-benali/natsumactool
bash bash-script mac mac-address macaddress network pentesting random safe safe-settings
Last synced: 23 days ago
JSON representation
NatsuMacTool is a tool that automatically sets a random MAC address for the primary network interface upon system startup.
- Host: GitHub
- URL: https://github.com/ismail-benali/natsumactool
- Owner: Ismail-Benali
- License: mit
- Created: 2024-04-15T22:22:36.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T14:37:33.000Z (7 months ago)
- Last Synced: 2024-10-04T21:51:12.736Z (about 1 month ago)
- Topics: bash, bash-script, mac, mac-address, macaddress, network, pentesting, random, safe, safe-settings
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![natsumactool](https://github.com/Ismail-Benali/NatsuMacTool/assets/90980178/a0d62156-77ad-4708-85e1-5066e1686a32)
NatsuMacTool is a simple script written in Bash to automatically set a random MAC address for the primary network interface upon system startup in Linux.
## Features
- Automatically sets a random MAC address for the primary network interface upon system startup.
- Enhances privacy and security by periodically changing the MAC address.
- Easy to use and configure.## Prerequisites
- Bash
- NetworkManager (nmcli command)## Usage
1. Clone this repository or download the `NatsuMacTool.sh` script.
2. Make the script executable by running:
```
chmod +x NatsuMacTool.sh
```
3. Run the script with sudo privileges:
```
sudo ./NatsuMacTool.sh
```
4. (Optional) Make the script run automatically on system startup by following these steps:
- Open the `rc.local` file for editing with sudo privileges:
```
sudo nano /etc/rc.local
```
- Add the following line before the line `exit 0`:
```
/bin/bash /path/to/NatsuMacTool.sh
```
Replace `/path/to/NatsuMacTool.sh` with the full path to your script file.
- Save the changes and exit the editor.
- Make sure that `rc.local` is executable by running:
```
sudo chmod +x /etc/rc.local
```
- Reboot your system to apply the changes:
```
sudo reboot
```## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.