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 πŸ˜ƒ

tradingview socket api for fetching real time prices.

tradingView-API tradingview socket api for fetching real time prices. How to run git clone https://github.com/mohamadkhalaj/tradingView-API.git cd tra

MohammadKhalaj 35 Dec 31, 2022
Extended refactoring capabilities for Python LSP Server using Rope.

pylsp-rope Extended refactoring capabilities for Python LSP Server using Rope. This is a plugin for Python LSP Server, so you also need to have it ins

36 Dec 24, 2022
This is simple script that changes the config register of a cisco router over serial so that you can reset the password

Cisco-router-config-bypass-tool- This is simple script that changes the config register of a cisco router over serial so that you can bypass the confi

James 1 Jan 02, 2022
A repository to spoof ARP table of any devices and successfully establish Man in the Middle(MITM) attack using Python3 in Linux

arp_spoofer A repository to spoof ARP table of any devices and successfully establish Man in the Middle(MITM) attack using Python3 in Linux Usage: git

Surya Das N 1 Oct 30, 2021
Remote vanilla PDB (over TCP sockets) done right: no extras, proper handling around connection failures and CI.

Overview docs tests package Remote vanilla PDB (over TCP sockets) done right: no extras, proper handling around connection failures and CI. Based on p

Ionel Cristian Mărieș 227 Dec 27, 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
E4GL3OS1NT - Simple Information Gathering Tool

E4GL30S1NT Features userrecon - username reconnaissance facedumper - dump facebook information mailfinder - find email with specific name godorker - d

C0MPL3XDEV 195 Dec 21, 2022
A Python module that allows you to create and use simple sockets.

EasySockets A Python module that allows you to create and use simple sockets. Installation The easysockets module can be installed using pip. pip inst

Matthias Wijnsma 2 Jan 16, 2022
RabbitMQ asynchronous connector library for Python with built in RPC support

About RabbitMQ connector library for Python that is fully integrated with the aio-pika framework. Introduction BunnyStorm is here to simplify working

22 Sep 11, 2022
PcapConverter - A project for generating 15min frames out of a .pcap file containing network traffic

CMB Assignment 02 code + notebooks This is a project for containing code for the

Yannik S 2 Jan 24, 2022
This is the code repository for Mastering Python for Networking and Security – Second Edition

Mastering Python for Networking and Security – Second Edition This is the code repository for Mastering Python for Networking and Security – Second Ed

Frank Gottinger 1 Feb 09, 2022
Simple HTTP Server for CircuitPython

Introduction Simple HTTP Server for CircuitPython Dependencies This driver depen

Adafruit Industries 22 Jan 06, 2023
ProxyBroker is an open source tool that asynchronously finds public proxies from multiple sources and concurrently checks them

ProxyBroker is an open source tool that asynchronously finds public proxies from multiple sources and concurrently checks them. Features F

Denis 3.2k Jan 04, 2023
Python implementation of the Session open group server

API Documentation CLI Reference Want to build from source? See BUILDING.md. Want to deploy using Docker? See DOCKER.md. Installation Instructions Vide

Oxen 36 Jan 02, 2023
A Project to resolve hostname and receive IP

hostname-resolver A Project to resolve hostname and receive IP Installation git clone https://github.com/ihapiw/hostname-resolver.git Head into the ho

iHapiW 5 Sep 12, 2022
An open source bias lighting program which syncs up colored lights to the contents of your screen.

About Firelight Firelight is an open source bias lighting program which syncs up colored lights to the contents of your screen or TV, providing an imm

Roshan 18 Dec 18, 2022
FramIp - it a framework for work at IP and domain

FramIp FramIp - it a framework for work with IP and domain Installation (termux) $ pkg install git && pkg install python && git clone https://github.c

1 Jan 28, 2022
Converts Cisco formatted MAC Addresses to PC formatted MAC Addresses

Cisco-MAC-to-PC-MAC Converts a file with a list of Cisco formatted MAC Addresses to PC formatted MAC Addresses... Ex: abcd.efgh.ijkl to AB:CD:EF:GH:I

Stew Alexander 0 Jan 04, 2022
WebRTC and ORTC implementation for Python using asyncio

aiortc What is aiortc? aiortc is a library for Web Real-Time Communication (WebRTC) and Object Real-Time Communication (ORTC) in Python. It is built o

3.2k Jan 07, 2023
Simple reverse backdoor utility, that uses sockets to communicate.

reverse_backdoor Simple reverse backdoor utility, that uses sockets to communicate. How to use Run rev_bd_listener.py using command below: $ python3 r

1 Dec 10, 2021