mirror of
https://git-qiuchenly.yltfspace.com/QiuChenly/corepatch
synced 2025-11-25 04:35:07 +08:00
ADD: CMMX SetApp版本通杀。
This commit is contained in:
26
config.json
26
config.json
@@ -164,19 +164,41 @@
|
||||
"injectFile": "DropoverAWS.framework/Versions/A/DropoverAWS"
|
||||
},
|
||||
{
|
||||
"packageName": "com.macpaw.CleanMyMac4",
|
||||
"packageName": [
|
||||
"com.macpaw.CleanMyMac4"
|
||||
],
|
||||
"injectFile": "Announcements.framework/Versions/A/Announcements",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"extraShell": "cmmxAgent.sh"
|
||||
},
|
||||
{
|
||||
"packageName": "com.macpaw.CleanMyMac4.Menu",
|
||||
"packageName": [
|
||||
"com.macpaw.CleanMyMac-setapp"
|
||||
],
|
||||
"injectFile": "Announcements.framework/Versions/A/Announcements",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"extraShell": "cmmxSetAppAgent.sh"
|
||||
},
|
||||
{
|
||||
"packageName": [
|
||||
"com.macpaw.CleanMyMac4.Menu"
|
||||
],
|
||||
"appBaseLocate": "/Applications/CleanMyMac X.app/Contents/Library/LoginItems/CleanMyMac X Menu.app",
|
||||
"injectFile": "CMMNotifications.framework/Versions/A/CMMNotifications",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true
|
||||
},
|
||||
{
|
||||
"packageName": [
|
||||
"com.macpaw.CleanMyMac-setapp.Menu"
|
||||
],
|
||||
"appBaseLocate": "/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app",
|
||||
"injectFile": "CMMNotifications.framework/Versions/A/CMMNotifications",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true
|
||||
},
|
||||
{
|
||||
"packageName": "com.artdesktop.bestzip2",
|
||||
"injectFile": "JSONModel.framework/Versions/A/JSONModel"
|
||||
|
||||
@@ -166,7 +166,10 @@ https://twitter.com/QiuChenly
|
||||
| Navicat 16 ForOracle | 通杀 | ❌ | ✅ | ✅ | 需要从Mac AppStore 下载 我下不到ARM64的版本 |
|
||||
| Sublime Text | [通杀](https://download.sublimetext.com/sublime_text_build_4154_mac.zip) | ✅ | ✅ | ✅ | 授权信息下面找。 |
|
||||
| Elpass | [通杀](https://elpass.app/macos/Elpass-1.5.6-490.zip) | ✅ | ✅ | ✅ | 无法使用云同步 签名后的app通病 无解 搭配Surge脚本可以做到5138年授权 https://elpass.app/macos/appcast-beta.xml |
|
||||
| CleanMyMac X | 通杀 | ✅ | ✅ | ✅ | com.macpaw.CleanMyMac4.Menu 单独也要注入 Helper每个版本不一样还是需要单独处理 暂时不弄了 不要下大陆特供版 更新地址: https://s3-us-west-2.amazonaws.com/updateinfo.devmate.com/com.macpaw.CleanMyMac4/beta/updates.xml |
|
||||
| CleanMyMac X| 通杀 | ✅ | ✅ | ✅ | com.macpaw.CleanMyMac4.Menu 单独也要注入 Helper每个版本不一样还是需要单独处理 暂时不弄了 不要下大陆特供版 更新地址: https://s3-us-west-2.amazonaws.com/updateinfo.devmate.com/com.macpaw.CleanMyMac4/beta/updates.xml |
|
||||
|
||||
| SetApp CleanMyMac X | [4.14.6](https://store.setapp.com/app/78/9500/app-1702644792-657c4c38c0387.zip) | ✅ | ✅ | ✅ | SetApp版本, 通杀。 |
|
||||
|
||||
| Stash | [2.5.4](https://mac-release-static.stash.ws/Stash-latest.zip) | ✅ | ✅ | ✅ | 完美破解但是总体体验较差 不如surge https://mac-release.stash.ws/appcast.xml |
|
||||
| Paste | 4.1.2 | ✅ | ✅ | ✅ | 全新算法,杀! |
|
||||
| App Cleaner & Uninstaller | 8.2.2 | ✅ | ✅ | ✅ | 因为签名会导致提示盗版,有空在再弄。 |
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"surge": {
|
||||
"locate": "/Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper",
|
||||
"locate": [
|
||||
"/Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper"
|
||||
],
|
||||
"arm": "FF C3 02 D1 FA 67 06 A9 F8 5F 07 A9 F6 57 08 A9 F4 4F 09 A9 FD 7B 0A A9 FD 83 02 91 F3 03 00 AA BF 83 1B F8 19 01 00 B0 20 ?? 43 F9 62 12 40 F9 ?? 46 00 94 A2 23 01 D1 01 00 80 52 ?? 3F 00 94 C0 00 00 F0 00 ?? ?? 91 E2 43 01 91 01 00 80 52 ?? ?? 00 94 A0 83 5B F8 E2 2B 40 F9 81 00 80 52 ?? ?? 00 94 F5 03 00 AA A0 83 5B F8 ?? ?? 00 94 E0 2B 40 F9 ?? ?? 00 94 C0 00 00 F0 00 ?? ?? 91 E2 43 01 91 01 00 80 52",
|
||||
"x86": "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 83 EC 58 48 89 FB 4C 8D 7D C0 49 C7 07 00 00 00 00 48 8B 3D ?? ?? 01 00 48 8B 53 20 48 8B 35 ?? ?? 01 00 4C 8B 35 ?? ?? 01 00 41 FF D6 48 89 C7 31 F6 4C 89 FA E8 ?? ?? 01 00 48 8D 3D ?? ?? 01 00 4C 8D 65 C8 31 F6 4C 89 E2 E8 ?? ?? 01 00 49 8B 3F 49 8B 14 24 BE 04 00 00 00 E8 ?? ?? 01 00 89 45 BC 49 8B 3F E8 ?? ?? 01 00 49 8B 3C 24 E8 ?? ?? 01 00 48 8D 3D ?? ?? 01 00 31 F6 4C 89 E2 E8 ?? ?? 01 00",
|
||||
"out": "surge.sh",
|
||||
@@ -8,19 +10,35 @@
|
||||
"replaceARM": "{{==arm64==}}"
|
||||
},
|
||||
"cmmx": {
|
||||
"locate": "/Applications/CleanMyMac X.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac4.Agent",
|
||||
"locate": [
|
||||
"/Applications/CleanMyMac X.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac4.Agent"
|
||||
],
|
||||
"arm": "FF 03 02 D1 F6 57 05 A9 F4 4F 06 A9 FD 7B 07 A9 FD C3 01 91 E0 03 02 AA 1F 20 03 D5 C8 49 18 58 08 01 40 F9 A8 83 1D F8 38 2A 00 94 F3 03 00 AA FF FF 02 A9 FF 13 00 F9 A0 00 00 B4 E8 03 00 91 E0 03 13 AA 7E 2F 00 94 03 00 00 14 00 E4 00 6F E0 03 00 AD 1F 20 03 D5 20 03 26 58 E2 03 00 91 03 04 80 52 96 31 00 94 FD 03 1D AA 30 2A 00 94 F4 03 00 AA 1F 20 03 D5 E8 4D 18 58 08 01 40 F9 E8 1F 00 F9 A0 03 1D F8 1F 20 03 D5 80 00 26 58 A2 C3 00 D1 E3 E3 00 91 24 00 80 52 50 32 00 94 FD 03 1D AA",
|
||||
"x86": "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 83 EC 58 48 89 D7 48 8B 05 8E 4F 02 00 48 8B 00 48 89 45 D0 FF 15 91 50 02 00 49 89 C6 31 C0 48 89 45 A8 48 89 45 B8 48 89 45 B0 4D 85 F6 74 15 48 8B 15 5C 55 04 00 48 8D 7D 80 4C 89 F6 E8 D0 BE 00 00 EB 0B 0F 57 C0 0F 29 45 90 0F 29 45 80 48 8B 3D F4 73 04 00 48 8B 35 55 57 04 00 48 8B 1D 36 50 02 00 48 8D 55 80 B9 20 00 00 00 FF D3 48 89 C7 E8 AD BE 00 00 49 89 C7 48 8B 05 F9 4F 02 00 48 8B 00 48 8D 4D C0 48 89 01 48 8D 55 C8 4C 89 3A",
|
||||
"out": "cmm.sh",
|
||||
"replaceIntel": "{{==intel==}}",
|
||||
"replaceARM": "{{==arm64==}}"
|
||||
},
|
||||
"cmmxsetapp": {
|
||||
"locate": [
|
||||
"/Applications/CleanMyMac.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent",
|
||||
"/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent"
|
||||
],
|
||||
"arm": "FF 03 02 D1 F6 57 05 A9 F4 4F 06 A9 FD 7B 07 A9 FD C3 01 91 E0 03 02 AA 1F 20 03 D5 E8 66 18 58 08 01 40 F9 A8 83 1D F8 63 2A 00 94 F3 03 00 AA FF FF 02 A9 FF 13 00 F9 A0 00 00 B4 E8 03 00 91 E0 03 13 AA A9 2F 00 94 03 00 00 14 00 E4 00 6F E0 03 00 AD 1F 20 03 D5 00 28 26 58 E2 03 00 91 03 04 80 52 C1 31 00 94 FD 03 1D AA 5B 2A 00 94 F4 03 00 AA 1F 20 03 D5 08 6B 18 58 08 01 40 F9 E8 1F 00 F9 A0 03 1D F8 1F 20 03 D5 60 25 26 58 A2 C3 00 D1 E3 E3 00 91 24 00 80 52 7B 32 00 94 FD 03 1D AA 4D 2A 00 94 F5 03 00 AA E3 A3 00 91 00 00 80 D2 E1 03 15 AA 02 00 80 52 36 29 00 94 16 00 80 52",
|
||||
"x86": "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 83 EC 58 48 89 D7 48 8B 05 EA 52 02 00 48 8B 00 48 89 45 D0 FF 15 ED 53 02 00 49 89 C6 31 C0 48 89 45 A8 48 89 45 B8 48 89 45 B0 4D 85 F6 74 15 48 8B 15 D0 5A 04 00 48 8D 7D 80 4C 89 F6 E8 14 C0 00 00 EB 0B 0F 57 C0 0F 29 45 90 0F 29 45 80 48 8B 3D 88 79 04 00 48 8B 35 C9 5C 04 00 48 8B 1D 92 53 02 00 48 8D 55 80 B9 20 00 00 00 FF D3 48 89 C7 E8 F1 BF 00 00 49 89 C7 48 8B 05 55 53 02 00 48 8B 00 48 8D 4D C0 48 89 01 48 8D 55 C8 4C 89 3A 48 8B 3D 25 79 04 00 48 8B 35 56 5D 04 00 41 B8 01 00 00 00 FF D3 48 89 C7 E8 B8 BF 00 00 49 89 C5 45 31 E4 48 8D 4D B8 31 FF 48 89 C6 31 D2 E8 86 BD 00 00 85 C0 75 53",
|
||||
"out": "cmm.sh",
|
||||
"replaceIntel": "{{==intel==}}",
|
||||
"replaceARM": "{{==arm64==}}",
|
||||
"fixPlist": true
|
||||
},
|
||||
"proxyman": {
|
||||
"locate": "/Applications/Proxyman.app/Contents/Library/LaunchServices/com.proxyman.NSProxy.HelperTool",
|
||||
"locate": [
|
||||
"/Applications/Proxyman.app/Contents/Library/LaunchServices/com.proxyman.NSProxy.HelperTool"
|
||||
],
|
||||
"arm": "FF 83 04 D1 FC 6F 0D A9 F8 5F 0E A9 F6 57 0F A9 F4 4F 10 A9 FD 7B 11 A9 FD 43 04 91 F3 03 03 AA F5 03 00 AA 28 00 00 D0 08 0D 40 F9 08 01 40 F9 A8 83 1B F8 E0 03 02 AA ?? 0A 00 94 F4 03 00 AA E0 03 13 AA ?? 0A 00 94 F3 03 00 AA 00 E4 00 6F E0 03 00 AD E0 03 01 AD E0 03 14 AA ?? 0A 00 94 F4 03 00 AA E2 03 00 91 E3 23 01 91 04 02 80 52 ?? 0B 00 94 60 03 00 B4 F6 03 00 AA E8 0B 40 F9 17 01 40 F9 18 00 80 D2 E8 0B 40 F9 08 01 40 F9 1F 01 17 EB 60 00 00 54 E0 03 14 AA ?? 0A 00 94 E8 07 40 F9 02 79 78 F8",
|
||||
"x86": "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 81 EC D8 00 00 00 48 89 CB 49 89 FF 48 8B 05 ?? 53 00 00 48 8B 00 48 89 45 D0 4C 8B 2D ?? 54 00 00 48 89 D7 41 FF D5 49 89 C6 48 89 DF 41 FF D5 48 89 85 40 FF FF FF 0F 57 C0 4C 8D A5 00 FF FF FF 41 0F 29 04 24 41 0F 29 44 24 10 41 0F 29 44 24 20 41 0F 29 44 24 30 4C 89 F7 41 FF D5 48 8B 35 ?? A0 00 00 48 8D 8D 50 FF FF FF 41 B8 10 00 00 00 48 89 85 48 FF FF FF 48 89 C7 4C 89 E2 FF 15 ?? 53 00 00 48 85 C0 0F 84 8C 00 00 00",
|
||||
"out": "proxyman.sh",
|
||||
"replaceIntel": "{{==intel==}}",
|
||||
"replaceARM": "{{==arm64==}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
69
tool/cmm.sh
69
tool/cmm.sh
@@ -1,67 +1,40 @@
|
||||
echo "是否全新安装CleanMyMac X?"
|
||||
echo "这将删除你的默认配置信息.请先备份配置信息到其他位置."
|
||||
read -p "(y/n,默认n):" option
|
||||
if [ $option = 'y' ];then #判断用户是否输入,如果未输入则打印error
|
||||
# declare user=$(whoami)
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.macpaw.CleanMyMac4.Agent.plist
|
||||
# sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.macpaw.CleanMyMac4.Agent.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.macpaw.CleanMyMac4.Agent
|
||||
else
|
||||
echo "非全新安装,跳过清除。"
|
||||
fi
|
||||
echo "开始安装CleanMyMac SetApp特供版。"
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.macpaw.CleanMyMac-setapp.Agent.plist
|
||||
# sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm -rf /Library/LaunchDaemons/com.macpaw.CleanMyMac-setapp.Agent.plist
|
||||
sudo /bin/rm -rf /Library/PrivilegedHelperTools/com.macpaw.CleanMyMac-setapp.Agent
|
||||
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!甚至被国家安全局和保密处就地正法,请三思!"
|
||||
|
||||
helper="/Applications/CleanMyMac X.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac4.Agent"
|
||||
helper2="/Applications/CleanMyMac X.app/Contents/Library/LoginItems/CleanMyMac X Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac4.Agent"
|
||||
helper="/Applications/CleanMyMac.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent"
|
||||
helper2="/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent"
|
||||
|
||||
helps=("$helper" "$helper2")
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
# 循环遍历数组中的所有元素
|
||||
for item in "${helps[@]}"
|
||||
do
|
||||
# 4.14.3 版本
|
||||
echo 4b1f7: 6A 01 58 C3 |sudo xxd -r - "$item" #intel
|
||||
echo ef844: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$item" #arm64
|
||||
offsets=$(grep -a -b -o "\x3C\x73\x74\x72\x69\x6E\x67\x3E\x69\x64\x65\x6E\x74\x69\x66\x69\x65\x72\x20\x22\x63\x6F\x6D\x2E\x6D\x61\x63\x70\x61\x77\x2E\x43\x6C\x65\x61\x6E\x4D\x79\x4D\x61\x63\x34\x2E\x48\x65\x61\x6C\x74\x68\x4D\x6F\x6E\x69\x74\x6F\x72\x22\x20\x61\x6E\x64\x20\x69\x6E\x66\x6F\x20\x5B\x43\x46\x42\x75\x6E\x64\x6C\x65\x53\x68\x6F\x72\x74\x56\x65\x72\x73\x69\x6F\x6E\x53\x74\x72\x69\x6E\x67\x5D\x20\x26\x67\x74\x3B\x3D\x20\x22\x31\x2E\x31\x2E\x33\x22\x20\x61\x6E\x64\x20\x61\x6E\x63\x68\x6F\x72" "$item" | cut -d: -f1)
|
||||
sed 's/\x0A/\n/g' <<< "$offsets" | while read -r s; do
|
||||
declare -i start=$s
|
||||
if [ "$start" -le 0 ]; then
|
||||
echo "起始点在 $start,文件已被修改,跳过注入Helper。"
|
||||
break
|
||||
fi
|
||||
# <string> 3C 73 74 72 69 6E 67 3E
|
||||
# <string>anchor apple generic and identifier "com.nssurge.surge-mac" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "YCKFLA6N72")</string>
|
||||
echo "69 64 65 6E 74 69 66 69 65 72 20 22 63 6F 6D 2E 6D 61 63 70 61 77 2E 43 6C 65 61 6E 4D 79 4D 61 63 34 2E 48 65 61 6C 74 68 4D 6F 6E 69 74 6F 72 22 20 61 6E 64 20 69 6E 66 6F 20 5B 43 46 42 75 6E 64 6C 65 53 68 6F 72 74 56 65 72 73 69 6F 6E 53 74 72 69 6E 67 5D 20 26 67 74 3B 3D 20 22 31 2E 31 2E 33 22 3C 2F 73 74 72 69 6E 67 3E 0A 09 09 3C 73 74 72 69 6E 67 3E 69 64 65 6E 74 69 66 69 65 72 20 22 63 6F 6D 2E 6D 61 63 70 61 77 2E 43 6C 65 61 6E 4D 79 4D 61 63 34 22 20 61 6E 64 20 69 6E 66 6F 20 5B 43 46 42 75 6E 64 6C 65 53 68 6F 72 74 56 65 72 73 69 6F 6E 53 74 72 69 6E 67 5D 20 26 67 74 3B 3D 20 22 34 2E 34 2E 36 22 3C 2F 73 74 72 69 6E 67 3E 0A 09 09 3C 73 74 72 69 6E 67 3E 69 64 65 6E 74 69 66 69 65 72 20 22 63 6F 6D 2E 6D 61 63 70 61 77 2E 43 6C 65 61 6E 4D 79 4D 61 63 34 2E 4D 65 6E 75 22 20 61 6E 64 20 69 6E 66 6F 20 5B 43 46 42 75 6E 64 6C 65 53 68 6F 72 74 56 65 72 73 69 6F 6E 53 74 72 69 6E 67 5D 20 26 67 74 3B 3D 20 22 31 2E 30 2E 31 36 22 3C 2F 73 74 72 69 6E 67 3E" | xxd -r -p | dd of="$item" bs=1 seek="$((start + 8))" count=330 conv=notrunc
|
||||
start_pos=$((start + 330 + 8))
|
||||
fill_byte=""
|
||||
lens=0
|
||||
for ((i=0;i<557 - 330 - 8;i++)); do
|
||||
lens=$((start_pos + i))
|
||||
fill_byte+="09 "
|
||||
done
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$start_pos of="$item" count=$((lens - 1)) conv=notrunc
|
||||
done
|
||||
done
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
|
||||
xattr -c '/Applications/CleanMyMac X.app'
|
||||
src_info='/Applications/CleanMyMac X.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.macpaw.CleanMyMac4.Agent \"identifier \\\"com.macpaw.CleanMyMac4.Agent\\\"\"" "$src_info"
|
||||
for item in "${helps[@]}"
|
||||
do
|
||||
echo 4aeb3: 6A 01 58 C3 |sudo xxd -r - "$item" #intel
|
||||
echo ef4b8: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$item" #arm64
|
||||
done
|
||||
|
||||
src_info2='/Applications/CleanMyMac X.app/Contents/Library/LoginItems/CleanMyMac X Menu.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.macpaw.CleanMyMac4.Agent \"identifier \\\"com.macpaw.CleanMyMac4.Agent\\\"\"" "$src_info2"
|
||||
xattr -c '/Applications/CleanMyMac.app'
|
||||
src_info='/Applications/CleanMyMac.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.macpaw.CleanMyMac-setapp.Agent \"identifier \\\"com.macpaw.CleanMyMac-setapp.Agent\\\"\"" "$src_info"
|
||||
|
||||
src_info2='/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.macpaw.CleanMyMac-setapp.Agent \"identifier \\\"com.macpaw.CleanMyMac-setapp.Agent\\\"\"" "$src_info2"
|
||||
|
||||
|
||||
codesign -f -s - --all-architectures --deep /Applications/CleanMyMac\ X.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac4.Agent
|
||||
codesign -f -s - --all-architectures --deep /Applications/CleanMyMac\ X.app/Contents/Library/LoginItems/CleanMyMac\ X\ Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac4.Agent
|
||||
codesign -f -s - --all-architectures --deep '/Applications/CleanMyMac.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent'
|
||||
codesign -f -s - --all-architectures --deep '/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent'
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
tccutil reset All com.macpaw.CleanMyMac4
|
||||
tccutil reset All com.macpaw.CleanMyMac-setapp
|
||||
|
||||
echo "恭喜你!你的Mac已经被我植入了后门程序,现在即将结束整个进程,特工已经在对面楼中布下天罗地网,请主动自首争取宽大处理(虽然宽大不了几天),记得下辈子不要用盗版软件🙏。\n"
|
||||
39
tool/cmmsetapp_o.sh
Normal file
39
tool/cmmsetapp_o.sh
Normal file
@@ -0,0 +1,39 @@
|
||||
echo "开始安装CleanMyMac SetApp特供版。"
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.macpaw.CleanMyMac-setapp.Agent.plist
|
||||
# sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm -rf /Library/LaunchDaemons/com.macpaw.CleanMyMac-setapp.Agent.plist
|
||||
sudo /bin/rm -rf /Library/PrivilegedHelperTools/com.macpaw.CleanMyMac-setapp.Agent
|
||||
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!甚至被国家安全局和保密处就地正法,请三思!"
|
||||
|
||||
helper="/Applications/CleanMyMac.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent"
|
||||
helper2="/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent"
|
||||
|
||||
helps=("$helper" "$helper2")
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
|
||||
for item in "${helps[@]}"
|
||||
do
|
||||
echo {{==intel==}}: 6A 01 58 C3 |sudo xxd -r - "$item" #intel
|
||||
echo {{==arm64==}}: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$item" #arm64
|
||||
done
|
||||
|
||||
xattr -c '/Applications/CleanMyMac.app'
|
||||
src_info='/Applications/CleanMyMac.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.macpaw.CleanMyMac-setapp.Agent \"identifier \\\"com.macpaw.CleanMyMac-setapp.Agent\\\"\"" "$src_info"
|
||||
|
||||
src_info2='/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.macpaw.CleanMyMac-setapp.Agent \"identifier \\\"com.macpaw.CleanMyMac-setapp.Agent\\\"\"" "$src_info2"
|
||||
|
||||
|
||||
codesign -f -s - --all-architectures --deep '/Applications/CleanMyMac.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent'
|
||||
codesign -f -s - --all-architectures --deep '/Applications/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent'
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
tccutil reset All com.macpaw.CleanMyMac-setapp
|
||||
|
||||
echo "恭喜你!你的Mac已经被我植入了后门程序,现在即将结束整个进程,特工已经在对面楼中布下天罗地网,请主动自首争取宽大处理(虽然宽大不了几天),记得下辈子不要用盗版软件🙏。\n"
|
||||
10
tool/cmmxSetAppAgent.sh
Normal file
10
tool/cmmxSetAppAgent.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
echo "准备自动计算Helper偏移参数..."
|
||||
|
||||
cp ./tool/cmmsetapp_o.sh ./tool/cmm.sh
|
||||
|
||||
chmod +x ./tool/SearchParttenCode
|
||||
|
||||
./tool/SearchParttenCode cmmxsetapp
|
||||
|
||||
sh ./tool/cmm.sh
|
||||
Binary file not shown.
Reference in New Issue
Block a user