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 😃

Very simple FTP client, sync folder to FTP server, use python, opensource

ftp-sync-python Opensource, A way to safe your data, avoid lost data by Virus, Randsomware Some functions: Upload a folder automatically to FTP server

4 Sep 13, 2022
EUserv - A Python script which can help you renew your free EUserv IPv6 VPS

English | 简体中文 This project comes from https://github.com/a-beam-of-light/eu_ex

阿两 0 Jan 06, 2022
API for concurrency connections

Multi-connection-server-API API for concurrency connections difference between this server and the echo server is the call to lsock.setblocking(False)

Muziwandile Nkomo 1 Jan 04, 2022
This is a top level socket library, making servers and clients EASY!

quick-net Sockets don't have to be a pain That's the motto this library was built with, and that's exactly what we made! This is a top-level socket li

Nate the great 15 Dec 17, 2021
Aiotor - a pool of proxies, shifting on each request

Aiotor - a pool of proxies, shifting on each request

Leon 32 Dec 26, 2022
Python Program to connect to different VPN servers autoatically using Windscribe VPN.

AutomateVPN What is VPN ? VPN stands for Virtual Private Network , it is a technology that creates a safe and encrypted connectionover a less secure n

Vivek 1 Oct 27, 2021
Simplest dashboard for WireGuard VPN written in Python w/ Flask

Hi! I'm planning the next major update for this project, please let me know if you have any suggestions or feature requests ;) You can create an issue

Donald Zou 763 Jan 02, 2023
this is demo of tool dosploit for test and dos in network with python

this tool for dos and pentest vul SKILLS: syn flood udp flood $ git clone https://github.com/amicheh/demo_dosploit/ $ cd demo_dosploit $ python3 -m pi

yaser amir chehrazi 5 Sep 22, 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
Pywbem - A WBEM client and related utilities, written in pure Python.

Pywbem - A WBEM client and related utilities, written in pure Python Overview Pywbem is a WBEM client and WBEM indication listener and provides relate

PyWBEM Projects 39 Dec 22, 2022
mitm6 is a pentesting tool that exploits the default configuration of Windows to take over the default DNS server.

mitm6 is a pentesting tool that exploits the default configuration of Windows to take over the default DNS server.

Fox-IT 1.3k Jan 05, 2023
A simple software which can use to make a server in local network

home-nas it is simple software which can use to make a server in local network, it has a web site on it which can use by multipale system, i use nginx

R ansh joseph 1 Nov 10, 2021
Simple DNS resolver for asyncio

Simple DNS resolver for asyncio aiodns provides a simple way for doing asynchronous DNS resolutions using pycares. Example import asyncio import aiodn

Saúl Ibarra Corretgé 471 Dec 27, 2022
Simple Python Script to Parse Apache Log, Get all Unique IPs and Urls visited by that IP

Parse_Apache_Log Simple Python Script to Parse Apache Log, Get all Unique IPs and Urls visited by that IP. It will create 3 different files. allIP.txt

Kathan Patel 2 Mar 29, 2022
league-connection is a python package to communicate to riot client and league client

league-connection is a python package to communicate to riot client and league client.

Sandbox 1 Sep 13, 2022
Tool that creates a complete copy of your server

Discord-Server-Cloner Tool that creates a complete copy of your server Setup: Open run.bat If the file closes, open cmd And write: pip install -r requ

DEEM 3 Dec 13, 2021
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
pyngrok is a Python wrapper for ngrok

pyngrok is a Python wrapper for ngrok that manages its own binary, making ngrok available via a convenient Python API.

Alex Laird 329 Dec 31, 2022
SonicWall SSL-VPN Exploit

VisualDoor SonicWall SSL-VPN Exploit, as used by Phineas Fisher to hack Cayman Trust Bank and Hacking Team.

169 Nov 15, 2022
Script and library to wait for a DNS authority server to get its configuration.

DNSWait dnswait is a small script to wait for the "propagation" of a namserver configuration. Installing It's as easy as: python -m pip install dnswai

Julien Palard 14 Jan 17, 2022