mac电脑卸载LVSecurityAgent

阅读 38

2024-03-16

博主mac版本如下:
在这里插入图片描述

1.创建一个脚本

touch script_of_justice.sh

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

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.保存并且退出

:wq

4.给权限

chmod 755 script_of_justice.sh

5.执行脚本

./script_of_justice.sh

精彩评论(0)

0 0 举报