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
相关推荐
Lvan的前端笔记18 小时前
python:Mac 系统 uv 完整安装+入门实战
python·macos·uv
pop_xiaoli21 小时前
【iOS】离屏渲染
macos·ios·objective-c·cocoa
鸠摩智首席音效师21 小时前
如何在 macOS 上创建 React.js 应用程序 ?
前端·react.js·macos
colman wang3 天前
Git指令(Mac)
git·macos
酷虎软件3 天前
分享链接+视频音频文案提取 API 接口文档
ide·macos·xcode
Hyyy3 天前
为什么 macOS 应用一换 Bundle ID,之前授予的权限就全失效了?
macos·electron
p似笑非笑4 天前
实战验证——把 SDK 塞进一个 macOS 原生 Agent 应用
macos
p似笑非笑4 天前
在Mac上完美配置VSCode的C/C++开发环境(GCC/G++详细教程)
c语言·vscode·macos
韦胖漫谈IT4 天前
Apple M3 Max 与 Apple M5 Max 对比:本地算力的新旧王者之争
网络·人工智能·macos·transformer
greasyfork5 天前
多种数据库管理混乱?Navicat Premium 17 for Mac 统一解决
数据库·mysql·macos·mac