logo
logo
  • Home
  • Whoami
  • Services
    • Web Application Penetration Testing
    • Social Engineering Penetration Testing
    • Network Penetration Testing
  • Scripts
  • Blog
  • Shop
    • Clothing
    • Tech
    • Gifts
  • Contact
logo

MacMon Changer

Run this Python script on your terminal to change the mac address and enable monitor mode.

 

				
					#!/usr/bin/env python

import subprocess

iface = input("Enter interface: ")
new_mac = input("Enter new MAC: ")

def mac_changer():
    subprocess.call(["ifconfig", iface, "down",])
    subprocess.call(["ifconfig", iface, "hw", "ether", new_mac])
    subprocess.call(["ifconfig", iface, "up",])
    print("Mac address changed to ", new_mac, "on interface", iface, " successfully")
mac_changer()

def mon_mode():
    subprocess.call(["ifconfig", iface, "down",])
    subprocess.call(["airmon-ng", "check", "kill",])
    subprocess.call(["ifconfig", iface, "up",])
    subprocess.call(["ifconfig", iface, "down",])
    subprocess.call(["iwconfig", iface, "mode", "monitor"])
    subprocess.call(["ifconfig", iface, "up",])
    print("Monitor mode enabled for", iface, "successfully")
mon_mode()

				
			
how to secure your home network
All Blogs, Beginners, Defend, Network, Protect, Uncategorized
Sceptre
On April 23, 2022
Secure your home network – router settings
Read more
0
how-to-protect-your-privacy-1
All Blogs, Beginners, Privacy, Protect
Sceptre
On April 30, 2022
How To Protect Your Online Privacy
Read more
0
how-to-protect-your-privacy-with-iot
All Blogs, Beginners, Defend, Network, Privacy, Protect
Sceptre
On May 4, 2022
How To Protect Your Privacy With IOT
Read more
0
  • 1
  • 2
  • 3
  • 4
  • 5

© 2022 Sceptre Security, All Rights Reserved.