import subprocess
import time
import sys
iface = input("Enter the name of interface to play with:- ")print("Now lets give you some new identity so you can hide who you are")nmac = input("Enter the new MAC address to be used Or Press 0 to auto generate random MAC:- ")
def macchange():
if nmac == 0:
subprocess.call("macchanger -A " + iface)
else:
subprocess.call("ifconfig", iface, "hw", "ether", nmac)
def monmode():
subprocess.call("iwcofig", iface, "mode monitor")
subprocess.call("iwconfig", iface)
print("Monitor mode Enabled successfully with new MAC address as below", iface)
time.sleep(5)
sys.exit("Thank you for using this tool")
macchange()monmode()
Enable monitor mode for wifi adapter with new MAC (random/custom) python code for Kali Linux/Parrot like distros
Latest posts
-
VCF 9 vs VVF: Which VMware Solution is Right for You?
Since the Broadcom acquisition, the VMware portfolio has undergone its most significant transformation in decades. For the “Virtual Maestro” community, the shift from hundreds of individual point products to two…
-
What is Virtualization-Based Security for Windows Guest Operating Systems
Virtualization-Based Security (VBS) for Windows guest operating systems is a security feature that uses hardware virtualization to create and isolate a secure region of memory from the normal operating system.…
·
-
Export DRS (Distributed Resource Scheduler) rules from a vCenter server using PowerCLI-How to?
To export DRS (Distributed Resource Scheduler) rules from a vCenter server using PowerCLI, you can use the following script. This script will connect to your vCenter server, retrieve the DRS…
·

Leave a comment