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
相关推荐
元Y亨H14 分钟前
Mac 办公效率进阶笔记
macos
元Y亨H18 分钟前
Mac 高级程序员配置笔记 (Java & Python 篇)
macos
元Y亨H27 分钟前
Mac 从入门到精通:效率进阶笔记
macos
开开心心loky2 小时前
[OC 底层] (五) iOS 中常见的几种锁
macos·ios·cocoa
技术小结-李爽6 小时前
Mac快捷键设计规律总结
macos·键盘
铁锚6 小时前
macOS 禁用 mediaanalysisd
macos·策略模式
酉鬼女又兒9 小时前
零基础入门计算机网络:MAC地址、IP地址与ARP协议全面解析(含考研真题详解)
网络·网络协议·tcp/ip·计算机网络·考研·macos·职场和发展
资源分享助手9 小时前
PeekDesktop:实现类似 macOS Sonoma 点击桌面预览(Windows工具教程)
windows·macos·点击回到桌面
鹤卿12310 小时前
iOS OC NSUserDefaults
macos·ios·objective-c
元Y亨H18 小时前
Mac 进阶效率手册:从操作熟练到效率飞升
macos