Path: blob/master/payloads/library/execution/Disable_WiFi-MacOS/README.md
2971 views
Disable WiFi 🛜
This payload is designed to turn off the Wi-Fi on a MacOS system. To turn the Wi-Fi back on, simply modify the script to replace "off" with "on".
Details
Title: Disable WiFi
Author: bst04 - Aleff
Version: 1.0
Category: Execution
Target: MacOS
Dependencies
REM Change the #MODE value to "on" if you want to run the WiFi, else leave it as "off"
DEFINE #MODE off
How It Works 📜
Sets a user-defined modality (
#MODE
) toon
oroff
.Uses an extension (
EXTENSION DETECT_READY
) to detect when the device is ready with just a littebit more delay...After readiness is confirmed, the script:
Runs commands to open Terminal.
Run or stop the WiFi