With the use of this tool, you can change your MAC address

Related tags

NetworkingMAC_CHANGER
Overview

Akshat0404/MAC_CHANGER

This tool has to be used on linux kernel.

Steps to use the tool:

  1. git clone https://github.com/Akshat0404/MAC_CHANGER.git
    
  2. Now open the MAC_CHANGER file.

  3. ./MAC_CHANGER
    
  4. Now look for a python file named mac_changer.py in MAC_CHANGER directory using ls command.

  5. Now run the mac_changer.py using the command;

     python3 mac_changer.py -h
     
     python3 mac_changer.py --help
    
  6. The -h or --help will list out the following arguments that can be used using this tool:

     Usage: mac_changer.py [options]
    
        Options:
    
        -h, --help            show this help message and exit
    
        -n NETWORK_INTERFACE, --network_interface=NETWORK_INTERFACE
                               Name of the network interface of which the MAC address
                               has to be changed
    
        -c NEW_MAC, --new_mac=NEW_MAC
                              New MAC address
    
  7. Now in the next few commands, we will see how this tool works.

  8. Here we use -n or --network_interface to specify the network interface to which we wanna change the MAC address.

    -c or --new_mac is used to specify the new mac address.

    Below is a demo command;

     python3 mac_changer.py -n eth0 -c 00:a4:45:56:f2:6b;
    
  9. By running this command the mac address of the network interface eth0 changes to the mac address we want i.e. 00:a4:45:56:f2:6b and the following message will appear after the successful execution of the command;

     [+] MAC address of eth0 has been changed to 00:a4:45:56:f2:6b.
    

    The same implies for the network interface wlan0.

  10. Now if we run the ifconfig command, we can see that the MAC address has been changed to 00:a4:45:56:f2:6b;

    ifconfig

        eth0: flags=xxxx
         
            mtu xxxx
    
            inet xx.x.x.xx  netmask xxx.xxx.xxx.x  broadcast xx.x.x.xxx
    
            ether 00:a4:45:56:f2:6b  txqueuelen xxxx  (Ethernet)
    
            RX packets xx  bytes 46960 (45.8 KiB)
    
            RX errors 0  dropped 0  overruns 0  frame 0
    
            TX packets xx  bytes 10412 (10.1 KiB)
    
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    
        lo: flags=xx
          
             mtu xxxxx
    
            inet xxx.x.x.x  netmask xxx.x.x.x
    
            inet6 ::x  prefixlen xxx  scopeid 0x10
           
            
    
            loop  txqueuelen xxxx  (Local Loopback)
    
            RX packets x  bytes 400 (400.0 B)
    
            RX errors 0  dropped 0  overruns 0  frame 0
    
            TX packets 8  bytes 400 (400.0 B)
    
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
           
          
         

    PS: I have denoted some sensitive information with x.

  11. We all know that lo network interface doesn't need a MAC address;

     python3 mac_changer.py -n lo -c 00:11:22:33:44:55
    

    So if we mention in the network interface argument, the following error appears

     Usage: mac_changer.py [options]
    
     mac_changer.py: error: [-] This network interface does not have MAC address
    
  12. We know that wlan0, lo and eth0 are the valid network interfaces among which only wlan0 and eth0 need a MAC address. So, if any other interface is mentioned other than wlan0 and eth0, the following error message shows up;

     python3 mac_changer.py -n wlan -c 00:00:00:00:00:00
    

    In the above command I have specified wlan as network interface, which is not valid, lets see what the tool does after this command.

    Usage: mac_changer.py [options]
    
    mac_changer.py: error: [-] wlan is not a valid network interface. Please specify a valid network interface.
    
  13. We also know that MAC address is of the format xx:xx:xx:xx:xx:xx, where x is any number from 0-9, lower case alphabet from a-f or upper case alphabet from A-F.

    python3 mac_changer.py -n eth0 -c 00:29:4r:5h:Z2 
    

    As you can see the format of MAC address in the above command is wrong.

    So, if the incorrect format of MAC address is specified, an error message would show up;

    Usage: mac_changer.py [options]
    
    mac_changer.py: error: [-] You have specified an incorrect format for MAC address. Please Enter the MAC address in the format xx:xx:xx:xx:xx:xx, where x is lower case alphabets from a-f or upper case alphabets from A-F or numbers from 0-9.
    

I hope that this tool helps you. Thanks 😃

Tiny Interactive File Transfer Application

TIFTA: Tiny Interactive File Transfer Application This repository holds all the source code, tests and documentation of the TIFTA software. The main g

Jorge Martínez 2 Dec 08, 2021
Py script to aid in setting up the boot chime in OpenCore.

BootChime Py script to aid in setting up the boot chime in OpenCore. It does so by helping you locate your IOHDACodecDevices, IOHDACodecAddress values

CorpNewt 7 Sep 19, 2022
Domain To Api [ PYTHON ]

Domain To IP Usage You Open Terminal For Run The Program python ip.py Input & Output Input Your List e.g domain.txt Output ( For Save Output File )

It's Me Jafar 0 Dec 12, 2021
A Scapy implementation of SMS-SUBMIT and (U)SIM Application Toolkit command packets.

A Scapy implementation of SMS-SUBMIT and (U)SIM Application Toolkit command packets.

mnemonic 83 Dec 11, 2022
boofuzz: Network Protocol Fuzzing for Humans

boofuzz: Network Protocol Fuzzing for Humans Boofuzz is a fork of and the successor to the venerable Sulley fuzzing framework. Besides numerous bug fi

Joshua Pereyda 1.7k Dec 31, 2022
Light, simple RPC framework for Python

Agileutil是一个Python3 RPC框架。基于微服务架构,封装了rpc/http/orm/log等常用组件,提供了简洁的API,开发者可以很快上手,快速进行业务开发。

16 Nov 22, 2022
Using AWS's API Gateway + Lambda + Python to run a simple websocket application. For learning/testing

Using AWS's API Gateway + Lambda + Python to run a simple websocket application. For learning/testing. The AWS Resources seemed overly complex and were missing some critical gotchas in setting up a s

Seth Miller 15 Dec 23, 2022
A benchmark for stateful fuzzing of network protocols

A benchmark for stateful fuzzing of network protocols

3 Apr 25, 2022
A python tool auto change proxy or ip after dealy time set by user

Auto proxy Ghost This tool auto change proxy or ip after dealy time set by user how to run 1. Install required file ./requirements.sh 2.Enter command

Harsh Tagra 0 Feb 23, 2022
A tool to generate valid ip addresses of 55 countries. These ip's can be used for OpenBullet.

IP-Grabber A tool to generate valid ip addresses of 55 countries. These ip's can be used for OpenBullet. ive added the feature to set the generated ip

Saad 9 Dec 17, 2022
Network-Shredder is a python based NIDS.

Network-Shredder is a python based NIDS.

Oussama RAHALI 9 Dec 13, 2022
Python implementation of the IPv8 layer provide authenticated communication with privacy

Python implementation of the IPv8 layer provide authenticated communication with privacy

203 Oct 26, 2022
A Powerful, Smart And Simple Userbot In Telethon

Owner: KeinShin 🇮🇳 BLACK LIGHTNING A Powerful, Smart And Simple Userbot In Telethon. Credits This is A Remix Bot Of Many UserBot. DARKCOBRA FridayUs

Akki ThePro 1 Nov 29, 2021
Nautobot is a Network Source of Truth and Network Automation Platform.

Nautobot is a Network Source of Truth and Network Automation Platform. Nautobot was initially developed as a fork of NetBox (v2.10.4). Nautobot runs as a web application atop the Django Python framew

Nautobot 549 Dec 31, 2022
Lightweight asyncio compatible utilities for consuming broker messages.

A simple asyncio compatible consumer for handling amqp messages.

Mehdi Kamani 3 Apr 10, 2022
It can be used both locally and remotely (indicating IP and port)

It can be used both locally and remotely (indicating IP and port). It automatically finds the offset to the Instruction Pointer stored in the stack.

DiegoAltF4 13 Dec 29, 2022
Easy to use gRPC-web client in python

pyease-grpc Easy to use gRPC-web client in python Tutorial This package provides a requests like interface to make calls to gRPC-Web servers.

Sudipto Chandra 4 Dec 03, 2022
BlueHawk is an HTTP/1.1 compliant web server developed in python

This project is done as a part of Computer Networks course. It aims at the implementation of the HTTP/1.1 Protocol based on RFC 2616 and includes the basic HTTP methods of GET, POST, PUT, DELETE and

2 Nov 11, 2022
ThorFI: A Novel Approach for Network Fault Injection as a Service

ThorFI: a Novel Approach for Network Fault Injection as a Service This repo includes ThorFI, a novel fault injection solution for virtual networks in

DESSERT research lab (Federico II University of Naples, Italy) 6 Dec 14, 2022
Tool for quickly gathering information from Shodan.io about the number of IPs which satisfy large number of different queries

TriOp Tool for quickly gathering information from Shodan.io about the number of IPs which satisfy large number of different queries For furt

Jan Kopriva 27 Nov 03, 2022