Last active
February 16, 2024 15:23
-
-
Save dongri/0735e9a852093cf83212092e3fe40983 to your computer and use it in GitHub Desktop.
uninstall netskope
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
#!/bin/sh | |
sudo ps aux | grep Netskope | grep -v grep | awk '{ print "kill -9", $2 }' | sudo sh | |
echo '[✓] Kill Netskope Process' | |
sudo rm -rf /Applications/Remove\ Netskope\ Client.app | |
echo '[✓] Removed Remove Netskope Client.app' | |
sudo rm -rf /Library/Application\ Support/Netskope | |
echo '[✓] Removed Agent of Netskope Client.app' | |
echo 'Successfully uninstalled.' |
My apologies for but not being clearer; if one has local admin access this
script (when run locally via terminal) completely removes NetSkope without
the need for a NetSkope uninstall password.
On Thu, Apr 6, 2023 at 5:00 PM Daniel Brum ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
how can this be used without being prompted for the sudo password?
Netskope will just be pushed down after a few hours for example and want to
schedule this script to be run say every hour in case it shows up again.
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/dongri/0735e9a852093cf83212092e3fe40983#gistcomment-4529130>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIO453Y6GB4HJMWEUBA25DW75KIFBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVA4TOMJVGM2TINNHORZGSZ3HMVZKMY3SMVQXIZI>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
--
Chad Jones
***@***.***
Inline image
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how can this be used without being prompted for the sudo password? Netskope will just be pushed down after a few hours for example and want to schedule this script to be run say every hour in case it shows up again.