GithubHelp home page GithubHelp logo

mac-changer's Introduction

Change Mac Address

License

Hi everybody :)

  • There are a lot of reasons to change mac address such as anonymity, sabotage in network etc. My program will provide a lot of options for you to change your interface(s)'s mac address.
  • oui.csv file contains all of standard OUI (Organizationally Unique Identifier) part of a mac address (first half of a mac address or first 24bit of mac address)

Getting Started

This program will only works on Linux systems and I believe it would be work perfectly on Macbooks. My OS is Ubuntu 18.04 and I design this program to run on all debian-based linux systems. The installation process will be different if you use other linux distributions.

Features:

  • Everything in this program is in lowercase. So it is case-insensitive. This program has no problem working with uppercase letters, but output of program is always in lowercase.
  • Every interface and mac address that user desire to change will be validate with Regular Expression (Regex).
  • Users can decide which interface they want to change (Wireless or Ethernet).
  • Program can set a completely random mac:
    • This random mac can be just randomly selected from hex characters.
    • Or it can be based on Standard OUI from IEEE which you can access it from here (Text File and CSV File).
  • Original mac address of interfaces will be save at /tmp/ so user can reverse mac address back to normal choose reverse option.
  • Commands for apply these changes are different based on kernel version. Program can detect it and run different kind of codes. (Ubuntu 18.04's kernel version is 4.15)
  • There are more than 17K names of organizations with different OUIs which is alot to process and show users to choose from them. I used prompt_toolkit library to auto-complete names for searching in OUIs.

Prerequisites

sudo apt update && sudo apt upgrade -y
sudo apt install git

Installing

I prefer using Anaconda instead of using Pip or PyPI, but you decide which is good for you.

  • Using Pip:
    sudo apt install python3-pip
    pip install pip
    pip install -r requirements.txt
  • Using Anaconda: Installation process is completely documented here.

Upgrading

  • Pip:
    pip install -U pip
  • Anaconda:
    conda update --all

Version check to verify installation

  • Pip:
    pip --version
  • Anaconda:
    conda --version

Usage

git clone https://github.com/Hiiirad/Mac-Changer.git
cd Mac-Changer/

If kernel version of your OS is older than 4.15 you should run this program like this:

python3 mac-changer.py

Otherwise:

python mac-changer.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

mac-changer's People

Contributors

hiiirad avatar

Stargazers

Roman avatar Eddy Franklin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.