Giter Site home page Giter Site logo

pymacchanger's Introduction

PyMacChanger

Description

PyMacChanger is a Python script designed to facilitate the modification of MAC addresses for network interfaces on Linux systems.

Features

  • Show Current MAC Address: Display the current MAC address of a specified network interface.
  • Random MAC Address: Change the MAC address to a randomly generated one.
  • Original MAC Address: Change the MAC address back to the original (permanent) MAC address.
  • Custom MAC Address: Change the MAC address to a user-specified one.

Prerequisites

  • Python 3
  • Linux operating system
  • macchanger tool (install it using: sudo apt-get install macchanger)

Usage

  1. Clone the repository:

    git clone https://github.com/EmreDinleyici/Python-MacChanger.git
  2. Navigate to the project directory:

    cd PyMacChanger
  3. Run the script with appropriate options:

    python PyMacChanger.py -i <interface> -s

Options

  • -s, --show: Show the current MAC address.
  • -r, --random: Change MAC address to a random MAC address.
  • -p, --permanent: Change MAC address to the original (permanent) MAC address.
  • -i, --interface: Specify the network interface (eth0, wlan0 etc.).
  • -m, --mac: Enter a new MAC address.

Examples

  1. Show current MAC address:

    python PyMacChanger.py -i wlan0 -s
  2. Change to a random MAC address:

    python PyMacChanger.py -i wlan0 -r
  3. Change to a specific MAC address:

    python PyMacChanger.py -i wlan0 -m 00:11:22:33:44:55
  4. Change to permanent(original) MAC address:

    python PyMacChanger.py -i wlan0 -p

Disclaimer

This script is provided as-is; use it at your own risk. Changing MAC addresses may interfere with network connectivity.

pymacchanger's People

Contributors

emredinleyici avatar

Watchers

 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.