环境:mac m1。系统版本12.5.1
这玩意太恶心了,写了个脚本造福大众。正常卸载是卸载不掉的,但是这脚本能把监控软件骨灰都扬了
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!';
执行前记得chmod赋予执行权限。比如我将脚本保存为 script_of_justice.sh ,然后在命令行下执行 chmod 755 script_of_justice.sh,然后再执行 ./script_of_justice.sh 来调用脚本。
我这脚本很靠谱,但是电脑小白在网上找到别人的脚本别瞎执行,尤其是这种需要管理员权限的脚本!!!
顺便贴一张从别的地方薅来的图,这权限太特么高了!!!
来源地址:https://blog.csdn.net/qq_34507736/article/details/127401463