This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 1. Create a new password entry in Keychain Access called "ExnessLDAP" with your ldap password | |
-- 2. Create a new password entry in Keychain Access called "Exness2Factor" with your 2factor token | |
-- 3. Install oath-toolkit. (brew install oath-toolkit) | |
-- 4. Open this script in Script Editor (both this and the above are in the Applications->Utilities folder) and "Save as.." an Application (.app) with desired name. | |
-- 5. Open Security & Privacy System Preferences, go to Privacy, Accessibility. | |
-- 6. Enable the above .app so it can access Accessibility | |
-- 7. Add the new .app to /Users/[yourshortname]/Applications with a shortcut to your Dock | |
-- 8. Enjoy the fast connection with no need to enter password and increased security of not having a sensitive password stored as plain text. | |
set targetApp to "Cisco AnyConnect Secure Mobility Client" |