Enable monitor mode for wifi adapter with new MAC (random/custom) python code for Kali Linux/Parrot like distros

https://gist.github.com/eddydesh/bb50f7de314bd559b45a5f04ac10db03 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: … Continue reading Enable monitor mode for wifi adapter with new MAC (random/custom) python code for Kali Linux/Parrot like distros

Changing MAC using python code – GUI interface

  import sys import subprocess import tkinter as tk from tkinter import tsk gui = tk.Tk() gui.title('MAC-Changer') interface_name = ttk.Label(gui, text="Enter the interface name: ") interface_name.grid(row=0, column=0, sticky=tk.W) intface_name = tk.StringVar() interface_name_entry = ttk.Entry(gui, width = 20, textvariable=intface_name) interface_name_entry.grid(row=0, column=1) mac = ttk.Label(gui, text="Enter new MAC address: ") mac.grid(row=1, column=0, sticky=tk.W) mac = tk.StringVar() mac_addr … Continue reading Changing MAC using python code – GUI interface

Changing MAC address using Python code – parsing input instead of prompting

With this code you can directly pass input while running python script. e.g. .py --interface --newmac Copy below code and save it as .py file. Then run the python script to test. You can modify the code as required for your requirements like adding extra arguments. Other versions of this code: GUI basedBasic # MAC … Continue reading Changing MAC address using Python code – parsing input instead of prompting

Changing MAC address using python code – prompting input

Changing MAC address is common process when comes to security domain for operations like pen-testing. However, can also be used on virtual environment for linux based workloads. Copy below code and save it as .py file. Then run the python script to test. Other versions of this code: GUI basedInput Parsing # Mac changer code … Continue reading Changing MAC address using python code – prompting input

Uninstall Nessus on Mac OS

Stop Nessus In System Preferences, select the Nessus button. On the Nessus.Preferences screen, click on the lock to make changes. Next, enter your username and password. Select the Stop Nessus button. The Status becomes red and displays Stopped. Finally, exit the Nessus.Preferences screen. Remove the following Nessus directories, subdirectories, or files /Library/Nessus /Library/LaunchDaemons/com.tenablesecurity.nessusd.plist /Library/PreferencePanes/Nessus Preferences.prefPane /Applications/Nessus Disable the Nessus service To prevent the Mac OS X from … Continue reading Uninstall Nessus on Mac OS