mac电脑卸载LVSecurityAgent

博主mac版本如下:

1.创建一个脚本

shell 复制代码
touch script_of_justice.sh

2.进入脚本文件,并且添加一下内容

shell 复制代码
vim script_of_justice.sh

echo 'delete shit.app..need your root pwd';
sudo rm -rf /Applications/dvc-manageproxy-exe.app;
sudo rm -rf /Applications/LVSecurityAgent.app;
echo 'script is fighting...';
sudo chflags noschg /opt/LVUAAgentInstBaseRoot;
sudo chflags noschg /opt/LVUAAgentInstBaseRoot/face;
sudo chflags noschg /opt/LVUAAgentInstBaseRoot/web;
echo 'delete shit.datafile..';
sudo rm -rf /opt/LVUAAgentInstBaseRoot;
echo 'kill shit.process..';
sudo ps -ef|grep -E 'LVUAAgentInstBaseRoot|dvc-manageproxy-exe' |grep -v "grep"|awk '{print $2}'|xargs sudo kill -9;
echo 'congratulations! You throw that shit!';

3.保存并且退出

shell 复制代码
:wq

4.给权限

shell 复制代码
chmod 755 script_of_justice.sh

5.执行脚本

shell 复制代码
./script_of_justice.sh
相关推荐
飞雪金灵8 小时前
mac电脑 Maven下载安装和配置环境变量
macos·maven·maven下载安装·mac电脑环境
雨声不在9 小时前
macos 12使用docker
macos·docker·容器
一叶龙洲9 小时前
ubuntu26.04 xfce美化成mac
服务器·ubuntu·macos
李小白杂货铺19 小时前
Oh My Zsh 简记
macos·macbook·zsh·主题·插件·oh my zsh·omz
fukai77221 天前
macOS防止休眠的菜单栏小工具
macos
web守墓人1 天前
【go语言】gotar:使用go语言复刻tar命令,并加入7z支持,可独立运行在windows、linux、macos上
linux·macos·golang
之歆2 天前
从 Mac 回到 Windows:用 PowerToys + AutoHotkey 找回熟悉手感
windows·macos
星辰即远方3 天前
字符串合法性检验
macos·ios·cocoa
2501_916008893 天前
苹果上架工具怎么选 不用 Mac 上架 App Store 的几种方案
android·macos·ios·小程序·uni-app·iphone·webview
秋雨梧桐叶落莳3 天前
iOS——3GShare项目总结
学习·macos·ios·objective-c·cocoa