From 7371efd58ccf333369a7d91b6f95637b1e25809c Mon Sep 17 00:00:00 2001 From: Narsty <132179825+narstybits@users.noreply.github.com> Date: Fri, 12 May 2023 21:58:25 -0500 Subject: [PATCH 1/3] Add files via upload --- Goodusb/Quick Lock Screen.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Goodusb/Quick Lock Screen.txt diff --git a/Goodusb/Quick Lock Screen.txt b/Goodusb/Quick Lock Screen.txt new file mode 100644 index 0000000..ba56825 --- /dev/null +++ b/Goodusb/Quick Lock Screen.txt @@ -0,0 +1,25 @@ +REM Locks the screen on macOS +REM Provides a quick way to secure your computer when stepping away +REM Ensures privacy and data protection +REM Author: Narsty +REM Title: Quick Lock Screen +REM Version 1.0 MacOs + +DELAY 2000 +GUI SPACE +DELAY 500 +STRING terminal +ENTER +DELAY 500 +STRING echo "Locking Screen..." +ENTER +DELAY 500 +STRING osascript -e 'tell application "System Events" to keystroke "q" using {control down, command down}' +ENTER +DELAY 1000 + + + + + + From 24c95c32c0d3ef068b63121e4ad864ce0dff9083 Mon Sep 17 00:00:00 2001 From: Narsty <132179825+narstybits@users.noreply.github.com> Date: Fri, 12 May 2023 22:22:16 -0500 Subject: [PATCH 2/3] Add files via upload --- Goodusb/Password Generator.txt | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Goodusb/Password Generator.txt diff --git a/Goodusb/Password Generator.txt b/Goodusb/Password Generator.txt new file mode 100644 index 0000000..153348a --- /dev/null +++ b/Goodusb/Password Generator.txt @@ -0,0 +1,37 @@ +REM This script automates the process of generating +REM a strong and secure password on macOS. + +REM Author: Narsty +REM Title: Password Generator +REM Version 1.0 MacOs + +DELAY 2000 +GUI SPACE +DELAY 500 +STRING terminal +ENTER +DELAY 500 +STRING echo "USB Script Utility" +ENTER +DELAY 500 +STRING echo "-------------------" +ENTER +DELAY 500 +STRING echo "Generating Password..." +ENTER +DELAY 500 +STRING password=$(openssl rand -base64 12) +ENTER +DELAY 500 +STRING echo "Generated Password: $password" +ENTER +DELAY 500 +STRING echo "-------------------" +ENTER + + + + + + + From 34a02bfd11bf686151970734cf6036e64bfa4d73 Mon Sep 17 00:00:00 2001 From: Narsty <132179825+narstybits@users.noreply.github.com> Date: Fri, 12 May 2023 22:51:20 -0500 Subject: [PATCH 3/3] Add files via upload --- Goodusb/Toggle Wifi.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Goodusb/Toggle Wifi.txt diff --git a/Goodusb/Toggle Wifi.txt b/Goodusb/Toggle Wifi.txt new file mode 100644 index 0000000..1d4661f --- /dev/null +++ b/Goodusb/Toggle Wifi.txt @@ -0,0 +1,26 @@ +REM Toggle Wifi +REM You'll need to STOP the Script after you see the wifi turn off (about 3 seconds) +REM To turn the wifi Back On let the script run all the way through + +REM Author: Narsty +REM Title: REM Toggle Wifi +REM Version 1.0 MacOs + +DELAY 2000 +GUI SPACE +DELAY 500 +STRING terminal +ENTER +DELAY 500 +STRING echo "Toggling Wi-Fi..." +ENTER +DELAY 500 +STRING networksetup -setairportpower en0 off +ENTER +DELAY 2000 +STRING networksetup -setairportpower en0 on +ENTER +DELAY 500 +STRING echo "Wi-Fi toggled!" +ENTER +