-
-
Save jasmas/22a4b1b12676c36074a4999c68e6a482 to your computer and use it in GitHub Desktop.
#!/bin/sh | |
echo Disabling vpnagentd... | |
sudo launchctl disable system/com.cisco.anyconnect.vpnagentd | |
echo Tearing down vpnagentd... | |
sudo launchctl bootout system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist | |
echo Deactivating Cisco AnyConnect Socket Filter Extension... | |
/Applications/Cisco/Cisco\ AnyConnect\ Socket\ Filter.app/Contents/MacOS/Cisco\ AnyConnect\ Socket\ Filter -deactivateExt |
#!/bin/sh | |
echo Enabling vpnagentd... | |
sudo launchctl enable system/com.cisco.anyconnect.vpnagentd | |
echo Bootstrapping vpnagentd... | |
sudo launchctl bootstrap system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist |
Thank you 🙏
Thank you so much. Hopefully that allows to deactivate this junk permanently.
THANK YOU. Omg this was so annoying, blessed are you who has freed me from this pop-up.
It's not working with Secure Client 5.1.3.62. Please help!
Thank you!
It's not working with Secure Client 5.1.3.62. Please help!
For Secure Client 5.1.x try
'/Applications/Cisco/Cisco Secure Client - Socket Filter.app/Contents/MacOS/Cisco Secure Client - Socket Filter' -deactivateExt
It works! Thank you!
Glad everyone is still enjoying this. I wrote it quite a while ago and unfortunately am no longer as embedded in the Cisco ecosystem.
If it deserves a proper repo and anyone is interested in submitting pull requests, let me know.
I actually quit using command line and had a BitBar script I was using on the Mac to enable and disable it visually from the menu bar.
will I get in trouble for disabling and can I safely enable it back without repercussions?
Thanks so much, @jasmas! I've found this content filter can altogether block an internet connection for some of us on Macs when working remotely. I've disabled this within network prefs, but sometimes the only thing that has worked has been to uninstall the filter from apps. I look forward to trying this script the next time it happens on a Mac.
Are you aware of a similar content filter on Windows?