63
Adobe说明.md
Normal file
63
Adobe说明.md
Normal file
@@ -0,0 +1,63 @@
|
||||
# Adobe 套件的使用方法
|
||||
|
||||
## 以LR CC为例:
|
||||
|
||||
___
|
||||
|
||||
1. 卸载已经安装的acc:AdobeCreativeCloudCleanerTool Mac.dmg
|
||||
|
||||
https://www.123pan.com/s/X5tA-Eyuwh.html
|
||||
|
||||
2. 从adobe网站下载acc 5.9.0,然后断网安装它。
|
||||
|
||||
下载地址:
|
||||
|
||||
Intel:
|
||||
https://trials.adobe.com/AdobeProducts/KCCC/CCD/5_9_0/osx10/ACCCx5_9_0_373.dmg
|
||||
ARM:
|
||||
https://trials.adobe.com/AdobeProducts/KCCC/CCD/5_9_0/macarm64/ACCCx5_9_0_373.dmg
|
||||
|
||||
|
||||
|
||||
3. **下载adobe packager**
|
||||
|
||||
|
||||
<img width="1680" alt="1" src="https://github.com/LoveJessyChen/InjectLib/assets/48858531/bdbb5467-e345-4ac2-a4e4-23f0cc08a2ae">
|
||||
|
||||
3.1 从以下地址clone后下载这个adobe packager
|
||||
|
||||
https://github.com/Drovosek01/adobe-packager
|
||||
|
||||
下载方法是看下图,先点击绿色的code,再点击“Download ZIP”。
|
||||
|
||||
3.2 解压后直接双击运行ccdl.command
|
||||
|
||||
|
||||
<img width="930" alt="2" src="https://github.com/LoveJessyChen/InjectLib/assets/48858531/6e5d0790-9452-427e-839e-625e74f654b7">
|
||||
|
||||
4. 下载并安装Lightroom CC软件
|
||||
|
||||
4.1 根据屏幕提示输入 v6 然后回车,输入y然后回车。然后稍作等待 ,然后弹出adobe套件代码的列表之后。
|
||||
|
||||
<img width="593" alt="3" src="https://github.com/LoveJessyChen/InjectLib/assets/48858531/ddb76d74-4026-40db-b549-b172ebb2402a">
|
||||
|
||||
|
||||
4.2 输入现在要下载的Lightroom CC 套件,查询列表可以知道代码是LRCC
|
||||
|
||||
然后我们输入LRCC,并回车,选择版本输入6.5并回车;选择语言默认是中文 直接回车。
|
||||
|
||||
<img width="590" alt="4" src="https://github.com/LoveJessyChen/InjectLib/assets/48858531/21238761-f2ec-412d-b385-550053584013">
|
||||
|
||||
|
||||
然后弹出窗口选择下载到哪个文件夹,我们下载到桌面。点击选取。
|
||||
|
||||
<img width="814" alt="5" src="https://github.com/LoveJessyChen/InjectLib/assets/48858531/d868252a-1970-4d02-9980-6440a1ada030">
|
||||
|
||||
|
||||
然后双击这个install开头的安装包就可以安装了。
|
||||
|
||||
(可选:这里也可以把products文件提取出来 替换到脚本安装器来安装,用这个方法就不限制acc或者anticc的版本:https://www.123pan.com/s/X5tA-kyuwh.html)
|
||||
|
||||
|
||||
|
||||
5. 然后运行脚本注入补丁。 即可完美享受,不受时间限制。
|
||||
BIN
EmbyServer/Emby.Web.dll
Normal file
BIN
EmbyServer/Emby.Web.dll
Normal file
Binary file not shown.
312
EmbyServer/embypremiere.js
Normal file
312
EmbyServer/embypremiere.js
Normal file
@@ -0,0 +1,312 @@
|
||||
define([
|
||||
"exports",
|
||||
"./../modules/viewmanager/baseview.js",
|
||||
"./../modules/emby-elements/emby-input/emby-input.js",
|
||||
"./../modules/emby-elements/emby-button/emby-button.js",
|
||||
"./../modules/emby-elements/emby-collapse/emby-collapse.js",
|
||||
"./../modules/common/globalize.js",
|
||||
"./../modules/loading/loading.js",
|
||||
"./../modules/registrationservices/registrationservices.js",
|
||||
"./../modules/common/dialogs/confirm.js",
|
||||
"./../modules/emby-apiclient/connectionmanager.js",
|
||||
], function (
|
||||
_exports,
|
||||
_baseview,
|
||||
_embyInput,
|
||||
_embyButton,
|
||||
_embyCollapse,
|
||||
_globalize,
|
||||
_loading,
|
||||
_registrationservices,
|
||||
_confirm,
|
||||
_connectionmanager
|
||||
) {
|
||||
function load(page) {
|
||||
var apiClient;
|
||||
_loading.default.show(),
|
||||
(apiClient = ApiClient)
|
||||
.getJSON(apiClient.getUrl("Plugins/SecurityInfo"))
|
||||
.then(function (info) {
|
||||
info.IsMBSupporter = true;
|
||||
(page.querySelector(".txtSupporterKey").value =
|
||||
info.SupporterKey || ""),
|
||||
info.SupporterKey && !info.IsMBSupporter
|
||||
? (page
|
||||
.querySelector(".txtSupporterKey")
|
||||
.classList.add("invalidEntry"),
|
||||
page.querySelector(".notSupporter").classList.remove("hide"))
|
||||
: (page
|
||||
.querySelector(".txtSupporterKey")
|
||||
.classList.remove("invalidEntry"),
|
||||
page.querySelector(".notSupporter").classList.add("hide")),
|
||||
info.IsMBSupporter
|
||||
? (page
|
||||
.querySelector(".supporterContainer")
|
||||
.classList.add("hide"),
|
||||
(function (key) {
|
||||
key = "key=" + key + "&serverId=" + ApiClient.serverId();
|
||||
return new Promise((resolve) =>
|
||||
resolve({
|
||||
deviceStatus: 0,
|
||||
planType: "超级会员",
|
||||
subscriptions: [
|
||||
{
|
||||
autoRenew: true,
|
||||
store: "秋城落叶",
|
||||
feature: "all",
|
||||
planType: "超级会员",
|
||||
expDate: "且会员资格永远不会失效",
|
||||
},
|
||||
],
|
||||
})
|
||||
);
|
||||
})(info.SupporterKey).then(function (statusInfo) {
|
||||
if (statusInfo) {
|
||||
var statusLine,
|
||||
indicator = page.querySelector(
|
||||
".status-indicator .listItemIcon"
|
||||
),
|
||||
extendedPlans = page.querySelector(".extended-plans");
|
||||
switch (
|
||||
((extendedPlans.innerHTML = _globalize.default.translate(
|
||||
"MessagePremiereExtendedPlans",
|
||||
'<a is="emby-linkbutton" class="button-link" href="https://emby.media/premiere-ext.html" target="_blank">',
|
||||
"</a>"
|
||||
)),
|
||||
statusInfo.deviceStatus)
|
||||
) {
|
||||
case 2:
|
||||
(statusLine = _globalize.default.translate(
|
||||
"MessagePremiereStatusOver",
|
||||
statusInfo.planType
|
||||
)),
|
||||
indicator.classList.add("expiredBackground"),
|
||||
indicator.classList.remove("nearExpiredBackground"),
|
||||
(indicator.innerHTML = ""),
|
||||
indicator.classList.add("autortl"),
|
||||
extendedPlans.classList.remove("hide");
|
||||
break;
|
||||
case 1:
|
||||
(statusLine = _globalize.default.translate(
|
||||
"MessagePremiereStatusClose",
|
||||
statusInfo.planType
|
||||
)),
|
||||
indicator.classList.remove("expiredBackground"),
|
||||
indicator.classList.add("nearExpiredBackground"),
|
||||
(indicator.innerHTML = ""),
|
||||
indicator.classList.add("autortl"),
|
||||
extendedPlans.classList.remove("hide");
|
||||
break;
|
||||
default:
|
||||
(statusLine = _globalize.default.translate(
|
||||
"MessagePremiereStatusGood",
|
||||
statusInfo.planType
|
||||
)),
|
||||
indicator.classList.remove("expiredBackground"),
|
||||
indicator.classList.remove("nearExpiredBackground"),
|
||||
(indicator.innerHTML = ""),
|
||||
indicator.classList.remove("autortl"),
|
||||
extendedPlans.classList.add("hide");
|
||||
}
|
||||
page.querySelector(".premiere-status").innerHTML =
|
||||
statusLine;
|
||||
var subsElement = page.querySelector(".premiere-subs");
|
||||
statusInfo.subscriptions &&
|
||||
0 < statusInfo.subscriptions.length
|
||||
? ((page.querySelector(
|
||||
".premiere-subs-content"
|
||||
).innerHTML =
|
||||
((subs = statusInfo.subscriptions),
|
||||
(key = info.SupporterKey),
|
||||
subs.map(function (item) {
|
||||
var itemHtml = "",
|
||||
makeLink =
|
||||
item.autoRenew && "Stripe" === item.store,
|
||||
tagName = makeLink ? "button" : "div";
|
||||
return (
|
||||
itemHtml +
|
||||
(("button" == tagName
|
||||
? '<button type="button"'
|
||||
: "<div") +
|
||||
' class="listItem listItem-button listItem-border' +
|
||||
(makeLink ? " lnkSubscription" : "") +
|
||||
'" data-feature="' +
|
||||
item.feature +
|
||||
'" data-key="' +
|
||||
key +
|
||||
'">') +
|
||||
'<i class="listItemIcon md-icon autortl"></i>' +
|
||||
'<div class="listItemBody two-line">' +
|
||||
'<div class="listItemBodyText">' +
|
||||
_globalize.default.translate(
|
||||
"ListItemPremiereSub",
|
||||
item.planType,
|
||||
item.expDate,
|
||||
item.store
|
||||
) +
|
||||
"</div>" +
|
||||
'<div class="listItemBodyText listItemBodyText-secondary">' +
|
||||
_globalize.default.translate(
|
||||
"Stripe" === item.store
|
||||
? item.autoRenew
|
||||
? "LabelClickToCancel"
|
||||
: "LabelAlreadyCancelled"
|
||||
: "LabelCancelInfo",
|
||||
item.store
|
||||
) +
|
||||
"</div>" +
|
||||
"</div>" +
|
||||
("</" + tagName + ">")
|
||||
);
|
||||
}))),
|
||||
(subs = page.querySelector(".lnkSubscription")) &&
|
||||
subs.addEventListener("click", cancelSub),
|
||||
subsElement.classList.remove("hide"))
|
||||
: subsElement.classList.add("hide"),
|
||||
page
|
||||
.querySelector(".isSupporter")
|
||||
.classList.remove("hide");
|
||||
}
|
||||
var subs, key;
|
||||
}))
|
||||
: (page
|
||||
.querySelector(".supporterContainer")
|
||||
.classList.remove("hide"),
|
||||
page.querySelector(".isSupporter").classList.add("hide")),
|
||||
_loading.default.hide();
|
||||
});
|
||||
}
|
||||
function cancelSub(e) {
|
||||
console.log("Cancel ");
|
||||
var feature = this.getAttribute("data-feature"),
|
||||
key = this.getAttribute("data-key");
|
||||
(0, _confirm.default)({
|
||||
title: _globalize.default.translate("HeaderCancelSub"),
|
||||
text: _globalize.default.translate("MessageConfirmSubCancel"),
|
||||
confirmText: _globalize.default.translate("ButtonCancelSub"),
|
||||
cancelText: _globalize.default.translate("ButtonDontCancelSub"),
|
||||
primary: "cancel",
|
||||
}).then(function () {
|
||||
console.log("after confirm"),
|
||||
fetch("http://127.0.0.1:3000/admin/service/stripe/requestSubCancel", {
|
||||
method: "POST",
|
||||
body: "key=" + key + "&feature=" + feature,
|
||||
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
||||
}).then(
|
||||
function (response) {
|
||||
alertText({
|
||||
text: _globalize.default.translate("MessageSubCancelReqSent"),
|
||||
title: _globalize.default.translate("HeaderConfirmation"),
|
||||
});
|
||||
},
|
||||
function (response) {
|
||||
alertText({
|
||||
text: _globalize.default.translate(
|
||||
"MessageSubCancelError",
|
||||
"cancel@emby.media"
|
||||
),
|
||||
});
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
function retrieveSupporterKey(e) {
|
||||
_loading.default.show();
|
||||
var email = this.querySelector(".txtEmail").value,
|
||||
url =
|
||||
"http://127.0.0.1:3000/admin/service/supporter/retrievekey?email=" +
|
||||
email;
|
||||
return (
|
||||
console.log(url),
|
||||
fetch(url, { method: "POST" })
|
||||
.then(function (response) {
|
||||
return response.json();
|
||||
})
|
||||
.then(function (result) {
|
||||
_loading.default.hide(),
|
||||
result.Success
|
||||
? require(["toast"], function (toast) {
|
||||
toast(
|
||||
_globalize.default
|
||||
.translate("MessageKeyEmailedTo")
|
||||
.replace("{0}", email)
|
||||
);
|
||||
})
|
||||
: require(["toast"], function (toast) {
|
||||
toast(result.ErrorMessage);
|
||||
}),
|
||||
console.log(result);
|
||||
}),
|
||||
e.preventDefault(),
|
||||
!1
|
||||
);
|
||||
}
|
||||
function alertText(options) {
|
||||
require(["alert"], function (alert) {
|
||||
alert(options);
|
||||
});
|
||||
}
|
||||
function updateSupporterKey(e) {
|
||||
_loading.default.show();
|
||||
var form = this,
|
||||
key = form.querySelector(".txtSupporterKey").value;
|
||||
return (
|
||||
ApiClient.updatePluginSecurityInfo({ SupporterKey: key }).then(
|
||||
function () {
|
||||
_loading.default.hide(),
|
||||
alertText(
|
||||
key
|
||||
? {
|
||||
text: _globalize.default.translate("MessageKeyUpdated"),
|
||||
title: _globalize.default.translate("HeaderConfirmation"),
|
||||
}
|
||||
: {
|
||||
text: _globalize.default.translate("MessageKeyRemoved"),
|
||||
title: _globalize.default.translate("HeaderConfirmation"),
|
||||
}
|
||||
),
|
||||
_connectionmanager.default.resetRegistrationInfo(ApiClient),
|
||||
load(form.closest(".page"));
|
||||
},
|
||||
function () {
|
||||
_loading.default.hide(),
|
||||
_connectionmanager.default.resetRegistrationInfo(ApiClient),
|
||||
load(form.closest(".page"));
|
||||
}
|
||||
),
|
||||
e.preventDefault(),
|
||||
!1
|
||||
);
|
||||
}
|
||||
function onSupporterLinkClick(e) {
|
||||
_registrationservices.default.showPremiereInfo(),
|
||||
e.preventDefault(),
|
||||
e.stopPropagation();
|
||||
}
|
||||
function View(view, params) {
|
||||
_baseview.default.apply(this, arguments),
|
||||
view
|
||||
.querySelector(".supporterKeyForm")
|
||||
.addEventListener("submit", updateSupporterKey),
|
||||
view
|
||||
.querySelector(".lostKeyForm")
|
||||
.addEventListener("submit", retrieveSupporterKey),
|
||||
(view.querySelector(".benefits").innerHTML = _globalize.default.translate(
|
||||
"HeaderSupporterBenefit",
|
||||
'<a is="emby-linkbutton" class="lnkPremiere button-link" href="https://emby.media/premiere" target="_blank">',
|
||||
"</a>"
|
||||
)),
|
||||
view
|
||||
.querySelector(".lnkPremiere")
|
||||
.addEventListener("click", onSupporterLinkClick);
|
||||
}
|
||||
Object.defineProperty(_exports, "__esModule", { value: !0 }),
|
||||
(_exports.default = void 0),
|
||||
require(["listViewStyle"]),
|
||||
Object.assign(View.prototype, _baseview.default.prototype),
|
||||
(View.prototype.onResume = function (options) {
|
||||
_baseview.default.prototype.onResume.apply(this, arguments),
|
||||
load(this.view);
|
||||
}),
|
||||
(_exports.default = View);
|
||||
});
|
||||
13
EmbyServer/readme.md
Normal file
13
EmbyServer/readme.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 本教程旨在破解Emby Server for macOS
|
||||
## 支持版本: 4.7.14.0
|
||||
下载地址: https://github.com/MediaBrowser/Emby.Releases/releases/download/4.7.14.0/embyserver-osx-x64-4.7.14.0.zip
|
||||
|
||||
## 使用方法
|
||||
Emby.Web.dll 替换到 /Applications/EmbyServer.app/Contents/MacOS/Emby.Web.dll
|
||||
|
||||
embypremiere.js 替换到 /Applications/EmbyServer.app/Contents/Resources/dashboard-ui/embypremiere/embypremiere.js
|
||||
|
||||
## 最后
|
||||
我再说一遍:网上那些破解Emby Linux/Windows Server版本要替换四五个文件的人都是傻狗。
|
||||
|
||||
不就是修改个b前端js和改一下.Net资源文件的事情被你们搞这么复杂,老子一直以为这东西很难都懒得弄,没想到就他妈这么点b大点难度。一群饭桶!
|
||||
@@ -1,5 +1,8 @@
|
||||
# 小白专用
|
||||
|
||||
## 声明
|
||||
本脚本非QiuChenly维护,如果按照下面的步骤使用出现问题,请老老实实阅读项目主页的Readme-使用一栏.
|
||||
|
||||
## 用法
|
||||
|
||||
若你未拉取仓库.复制下面👇命令并粘贴到终端中,回车,输入密码,回车.
|
||||
@@ -14,18 +17,10 @@ git clone https://github.com/QiuChenlyOpenSource/InjectLib.git && cd ./InjectLib
|
||||
chmod +x surge.sh && sudo bash surge.sh
|
||||
```
|
||||
|
||||
不想拉取仓库?没有`git`命令?请用下面👇命令
|
||||
|
||||
```bash
|
||||
curl -k https://ghproxy.com/https://github.com/LanYunDev/InjectLib_bak/releases/download/surge/surge.sh -o /tmp/surge.sh && sudo bash /tmp/surge.sh
|
||||
```
|
||||
|
||||
> 已知问题:与 iCloud 相关均不可用.不可更新.
|
||||
|
||||
若不想执行代码,只想用成品:
|
||||
|
||||
https://github.com/LanYunDev/InjectLib_bak/releases
|
||||
|
||||
小小的Blog: https://lanyundev.com/posts/c659a0ce.html
|
||||
|
||||
若你网络与github连通正常,可以去掉 `https://ghproxy.com/`
|
||||
小小的Blog: https://lanyundev.com/posts/c659a0ce
|
||||
|
||||
@@ -3,12 +3,26 @@
|
||||
# 错误处理函数
|
||||
handle_error() {
|
||||
echo ""
|
||||
echo "⚠️ 脚本发生错误!,请检查错误,2分钟后退出..."
|
||||
echo "⚠️ 脚本发生错误!,请检查错误,5秒后退出..."
|
||||
osascript -e 'display notification "自动处理脚本" with title "⚠️脚本发生错误❌~" sound name "Glass"'
|
||||
sleep 120
|
||||
sleep 5
|
||||
exit 1
|
||||
}
|
||||
|
||||
# 定义信号处理函数,用于响应 Ctrl+C
|
||||
function handle_ctrl_c {
|
||||
echo ""
|
||||
echo "接收到 Ctrl+C,5秒后退出..."
|
||||
if [[ ${upload_pace_pid} ]]; then
|
||||
kill ${upload_pace_pid} > /dev/null 2>&1
|
||||
fi
|
||||
sleep 5
|
||||
exit 1
|
||||
}
|
||||
|
||||
# 设置信号处理程序,捕捉 SIGINT 信号(Ctrl+C)
|
||||
trap handle_ctrl_c SIGINT
|
||||
|
||||
# 设置错误处理函数
|
||||
trap handle_error ERR
|
||||
|
||||
@@ -19,6 +33,10 @@ if [[ $EUID -ne 0 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 获取脚本文件的绝对路径和目录
|
||||
SCRIPT_PATH=$(readlink -f "$0")
|
||||
SCRIPT_DIR=$(dirname ${SCRIPT_PATH})
|
||||
|
||||
echo "⚙️ 若你安装过Surge,请确保Surge卸载干净,建议用App Cleaner & Uninstaller工具"
|
||||
echo '⚙️ 若你有配置文件等信息,请备份到其他目录,都确认无误后输入y,开始纯净安装!'
|
||||
read flag
|
||||
@@ -27,10 +45,12 @@ if [[ $flag != y ]]; then
|
||||
fi
|
||||
flag="" # 重置变量
|
||||
|
||||
version="5.4.0-2467"
|
||||
|
||||
user=$(whoami)
|
||||
{
|
||||
sudo rm -rf "/Applications/Surge" || true
|
||||
sudo rm -rf "/tmp/Surge-5.3.1.zip" || true
|
||||
sudo rm -rf "/tmp/Surge-*.zip" || true
|
||||
sudo rm -rf "/Users/${user}/Library/Logs/Surge/" || true
|
||||
sudo rm -rf "/Users/${user}/Library/Preferences/com.nssurge.surge-mac.plist" || true
|
||||
sudo rm -rf "/Users/${user}/Library/Application Support/com.nssurge.surge-mac" || true
|
||||
@@ -44,59 +64,28 @@ user=$(whoami)
|
||||
sudo rm -rf "~/Library/Application\ Support/com.nssurge.surge-mac" || true
|
||||
} > /dev/null 2>&1
|
||||
|
||||
# wget -U "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36" -P /tmp "https://ghproxy.com/https://github.com/LanYunDev/InjectLib/releases/download/surge/Surge-5.2.4-2363-22d1e0411e23b507a94ca4dbb86b7d3c.zip"
|
||||
read -r -t 5 -p "⚙️ 是否(y/n)已安装 Surge-5.3.1-2379 ? 5秒后自动安装." flag || true
|
||||
read -r -t 5 -p "⚙️ 是否(y/n)已安装 Surge-${version} ? 5秒后自动安装." flag || true
|
||||
echo ""
|
||||
if [[ $flag != n ]]; then
|
||||
curl -k -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" -o /tmp/Surge-5.3.1.zip "https://ghproxy.com/https://github.com/LanYunDev/InjectLib_bak/releases/download/surge/Surge-5.3.1-2379-7ed7da49bb330d3439be7347c9294a08.zip" || (echo "Surge-5.3.1-2379安装失败☹️,网络原因,请检查网络." && exit 1)
|
||||
unzip -qq -o "/tmp/Surge-5.3.1.zip" -d "/Applications" || (echo "解压失败☹️,压缩包可能已损坏.请重新下载." && exit 1)
|
||||
curl -k -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" -o /tmp/Surge-${version}.zip "https://ghproxy.com/https://github.com/LanYunDev/InjectLib_bak/releases/download/surge/Surge-${version}.zip" || (echo "Surge-${version}安装失败☹️,网络原因,请检查网络." && exit 1)
|
||||
unzip -qq -o "/tmp/Surge-${version}.zip" -d "/Applications" || (echo "解压失败☹️,压缩包可能已损坏.请重新下载." && exit 1)
|
||||
fi
|
||||
flag="" # 重置变量
|
||||
# curl -k -A "Mozilla/5.0 Chrome/58.0.3029.110" -o /tmp/insert_dylib "https://ghproxy.com/https://raw.githubusercontent.com/QiuChenlyOpenSource/InjectLib/main/tool/insert_dylib" || (echo "网络原因,请检查网络." && exit 1)
|
||||
# curl -k -A "Mozilla/5.0 Chrome/58.0.3029.110" -o /tmp/libInjectLib.dylib "https://ghproxy.com/https://raw.githubusercontent.com/QiuChenlyOpenSource/InjectLib/main/tool/libInjectLib.dylib" || (echo "网络原因,请检查网络." && exit 1)
|
||||
# sudo chmod +x /tmp/insert_dylib
|
||||
# sudo cp /tmp/libInjectLib.dylib /Applications/Surge.app/Contents/Frameworks/libInjectLib.dylib
|
||||
|
||||
if [[ ! -e "../tool/insert_dylib" ]]; then
|
||||
echo "⚠️ 确保上级tool目录中存在insert_dylib" && exit 1
|
||||
fi
|
||||
if [[ ! -e "../tool/libInjectLib.dylib" ]]; then
|
||||
echo "⚠️ 确保上级tool目录中存在libInjectLib.dylib" && exit 1
|
||||
fi
|
||||
|
||||
chmod +x "../tool/insert_dylib"
|
||||
sudo cp -f "../tool/libInjectLib.dylib" "/Applications/Surge.app/Contents/Frameworks/libInjectLib.dylib" || exit 1
|
||||
sudo cp -f "/Applications/Surge.app/Contents/Frameworks/Bugsnag.framework/Versions/A/Bugsnag" "/Applications/Surge.app/Contents/Frameworks/Bugsnag.framework/Versions/A/Bugsnag_backup" || exit 1
|
||||
sudo ../tool/insert_dylib "/Applications/Surge.app/Contents/Frameworks/libInjectLib.dylib" "/Applications/Surge.app/Contents/Frameworks/Bugsnag.framework/Versions/A/Bugsnag_backup" "/Applications/Surge.app/Contents/Frameworks/Bugsnag.framework/Versions/A/Bugsnag" || exit 1
|
||||
|
||||
helper='/Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper'
|
||||
|
||||
# 版本2379
|
||||
echo a5a3: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo 4172c: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
offsets=$(grep -a -b -o "\x3C\x73\x74\x72\x69\x6E\x67\x3E\x61\x6E\x63\x68\x6F\x72" $helper | cut -d: -f1)
|
||||
sed 's/\x0A/\n/g' <<< "$offsets" | while read -r s; do
|
||||
declare -i start=$s
|
||||
echo "起始点在 $start,文件已被修改,跳过注入Helper。"
|
||||
if [ "$start" -le 0 ]; then
|
||||
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>
|
||||
# 3C 73 74 72 69 6E 67 3E 61 6E 63 68 6F 72 20 61 70 70 6C 65 20 67 65 6E 65 72 69 63 20 61 6E 64 20 69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 20 61 6E 64 20 28 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 39 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 6F 72 20 63 65 72 74 69 66 69 63 61 74 65 20 31 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 32 2E 36 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 31 33 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 73 75 62 6A 65 63 74 2E 4F 55 5D 20 3D 20 26 71 75 6F 74 3B 59 43 4B 46 4C 41 36 4E 37 32 26 71 75 6F 74 3B 29 3C 2F 73 74 72 69 6E 67 3E
|
||||
echo "69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 3C 2F 73 74 72 69 6E 67 3E" | xxd -r -p | dd of="$helper" bs=1 seek="$((start + 8))" count=53 conv=notrunc
|
||||
start_pos=$((start + 53 + 8))
|
||||
fill_byte="09"
|
||||
|
||||
for ((i=0;i<341-53-8;i++)); do
|
||||
pos=$((start_pos + i))
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$pos of="$helper" count=1 conv=notrunc
|
||||
done
|
||||
done
|
||||
|
||||
xattr -c '/Applications/Surge.app'
|
||||
src_info='/Applications/Surge.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.nssurge.surge-mac.helper \"identifier \\\"com.nssurge.surge-mac.helper\\\"\"" "$src_info"
|
||||
# /usr/libexec/PlistBuddy -c 'Print SMPrivilegedExecutables' "$src_info"
|
||||
cd "${SCRIPT_DIR}/.."
|
||||
sudo bash ./tool/surgeAgent.sh
|
||||
|
||||
codesign -f -s - --all-architectures --deep /Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper
|
||||
codesign -f -s - --all-architectures --deep /Applications/Surge.app
|
||||
|
||||
74
config.json
74
config.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"project": "InjectShell",
|
||||
"Author": "QiuChenly",
|
||||
"Version": 1.1,
|
||||
"Version": 1.2,
|
||||
"Description": {
|
||||
"desc": "这是一个用于解释说明json对象用途的说明文档。basePublicConfig里面的同名配置如果在AppList里面配置了相同的Key,则优先使用AppList里面的值。",
|
||||
"bridgeFile": "app路径和注入文件路径之间的中间路径,有些app只能注入到/Contents,所以加了这个。",
|
||||
@@ -27,7 +27,22 @@
|
||||
"bridgeFile": "/Contents/Frameworks/",
|
||||
"injectFile": "Bugsnag.framework/Versions/A/Bugsnag",
|
||||
"needCopyToAppDir": true,
|
||||
"extraShell": "surge.sh"
|
||||
"extraShell": "surgeAgent.sh"
|
||||
},
|
||||
{
|
||||
"packageName": "com.parallels.desktop.console",
|
||||
"bridgeFile": "/Contents/MacOS/Parallels Service.app/Contents/MacOS/",
|
||||
"injectFile": "prl_disp_service",
|
||||
"extraShell": "pd.sh",
|
||||
"noDeep": true,
|
||||
"supportSubVersion": [
|
||||
"53606",
|
||||
"53488",
|
||||
"53614",
|
||||
"53621",
|
||||
"54570",
|
||||
"54729"
|
||||
]
|
||||
},
|
||||
{
|
||||
"packageName": "com.surteesstudios.Bartender",
|
||||
@@ -96,7 +111,7 @@
|
||||
"injectFile": "Announcements.framework/Versions/A/Announcements",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"extraShell": "cmm.sh"
|
||||
"extraShell": "cmmxAgent.sh"
|
||||
},
|
||||
{
|
||||
"packageName": "com.macpaw.CleanMyMac4.Menu",
|
||||
@@ -124,9 +139,11 @@
|
||||
{
|
||||
"packageName": "com.adobe.lightroomCC",
|
||||
"appBaseLocate": "/Applications/Adobe Lightroom CC/Adobe Lightroom.app",
|
||||
"injectFile": "AgUI.framework/Versions/A/AgUI",
|
||||
"bridgeFile": "/Contents/MacOS/",
|
||||
"injectFile": "Adobe Lightroom",
|
||||
"entitlements": "signkeep.xml",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"noDeep": true
|
||||
},
|
||||
{
|
||||
@@ -138,42 +155,42 @@
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.illustrator",
|
||||
"appBaseLocate": "/Applications/Adobe Illustrator 2023/Adobe Illustrator.app",
|
||||
"appBaseLocate": "/Applications/Adobe Illustrator 2024/Adobe Illustrator.app",
|
||||
"injectFile": "AdobeAGM.framework/Versions/A/AdobeAGM",
|
||||
"needCopyToAppDir": true,
|
||||
"noDeep": true
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.ame.application.23",
|
||||
"appBaseLocate": "/Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app",
|
||||
"packageName": "com.adobe.ame.application.24",
|
||||
"appBaseLocate": "/Applications/Adobe Media Encoder 2024/Adobe Media Encoder 2024.app",
|
||||
"injectFile": "AdobeAGM.framework/Versions/A/AdobeAGM",
|
||||
"needCopyToAppDir": true,
|
||||
"noDeep": true
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.AfterEffects",
|
||||
"appBaseLocate": "/Applications/Adobe After Effects 2023/Adobe After Effects 2023.app",
|
||||
"appBaseLocate": "/Applications/Adobe After Effects 2024/Adobe After Effects 2024.app",
|
||||
"injectFile": "AdobeAGM.framework/Versions/A/AdobeAGM",
|
||||
"needCopyToAppDir": true,
|
||||
"noDeep": true
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.Adobe-Animate-2023.application",
|
||||
"appBaseLocate": "/Applications/Adobe Animate 2023/Adobe Animate 2023.app",
|
||||
"packageName": "com.adobe.Adobe-Animate-2024.application",
|
||||
"appBaseLocate": "/Applications/Adobe Animate 2024/Adobe Animate 2024.app",
|
||||
"injectFile": "AdobeAGM.framework/Versions/A/AdobeAGM",
|
||||
"needCopyToAppDir": true,
|
||||
"noDeep": true
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.Audition",
|
||||
"appBaseLocate": "/Applications/Adobe Audition 2023/Adobe Audition 2023.app",
|
||||
"appBaseLocate": "/Applications/Adobe Audition 2024/Adobe Audition 2024.app",
|
||||
"injectFile": "AdobeAGM.framework/Versions/A/AdobeAGM",
|
||||
"needCopyToAppDir": true,
|
||||
"noDeep": true
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.PremierePro.23",
|
||||
"appBaseLocate": "/Applications/Adobe Premiere Pro 2023/Adobe Premiere Pro 2023.app",
|
||||
"appBaseLocate": "/Applications/Adobe Premiere Pro 2024/Adobe Premiere Pro 2024.app",
|
||||
"injectFile": "AdobeAGM.framework/Versions/A/AdobeAGM",
|
||||
"needCopyToAppDir": true,
|
||||
"noDeep": true
|
||||
@@ -187,7 +204,7 @@
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.InCopy",
|
||||
"appBaseLocate": "/Applications/Adobe InCopy 2023/Adobe InCopy 2023.app",
|
||||
"appBaseLocate": "/Applications/Adobe InCopy 2024/Adobe InCopy 2024.app",
|
||||
"bridgeFile": "/Contents/MacOS/",
|
||||
"injectFile": "PublicLib.dylib",
|
||||
"needCopyToAppDir": true,
|
||||
@@ -195,7 +212,7 @@
|
||||
},
|
||||
{
|
||||
"packageName": "com.adobe.InDesign",
|
||||
"appBaseLocate": "/Applications/Adobe InDesign 2023/Adobe InDesign 2023.app",
|
||||
"appBaseLocate": "/Applications/Adobe InDesign 2024/Adobe InDesign 2024.app",
|
||||
"bridgeFile": "/Contents/MacOS/",
|
||||
"injectFile": "PublicLib.dylib",
|
||||
"needCopyToAppDir": true,
|
||||
@@ -221,9 +238,9 @@
|
||||
{
|
||||
"packageName": ["com.microsoft.Outlook"],
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"entitlements": "signkeep.xml",
|
||||
"injectFile": "FluentUI.framework/Versions/A/FluentUI"
|
||||
"bridgeFile": "/Contents/MacOS/",
|
||||
"injectFile": "Microsoft Outlook",
|
||||
"noSignTarget": true
|
||||
},
|
||||
{
|
||||
"packageName": "com.sublimetext.4",
|
||||
@@ -244,7 +261,8 @@
|
||||
{
|
||||
"packageName": "com.mac.utility.screen.recorder",
|
||||
"bridgeFile": "/Contents/MacOS/",
|
||||
"injectFile": "OmniRecorder"
|
||||
"injectFile": "OmniRecorder",
|
||||
"extraShell": "recorder.sh"
|
||||
},
|
||||
{
|
||||
"packageName": "com.mac.utility.media.player",
|
||||
@@ -258,14 +276,22 @@
|
||||
"deepSignApp": true,
|
||||
"bridgeFile": "/Contents/MacOS/",
|
||||
"injectFile": "Bandizip",
|
||||
"supportVersion": ["7.25"]
|
||||
"supportVersion": ["7.27", "7.28"]
|
||||
},
|
||||
{
|
||||
"packageName": "com.bandisoft.mac.bandizip365",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"bridgeFile": "/Contents/MacOS/",
|
||||
"injectFile": "Bandizip365",
|
||||
"supportVersion": ["7.27", "7.28"]
|
||||
},
|
||||
{
|
||||
"packageName": "com.proxyman.NSProxy",
|
||||
"injectFile": "Moya.framework/Versions/A/Moya",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"extraShell": "proxyman.sh"
|
||||
"extraShell": "proxyManAgent.sh"
|
||||
},
|
||||
{
|
||||
"packageName": [
|
||||
@@ -324,6 +350,14 @@
|
||||
"deepSignApp": true,
|
||||
"entitlements": "signkeep.xml",
|
||||
"extraShell": "buhoCleaner.sh"
|
||||
},
|
||||
{
|
||||
"packageName": "org.qcad",
|
||||
"injectFile": "libqcadcustomwidgets.dylib",
|
||||
"bridgeFile": "/Contents/PlugIns/designer/",
|
||||
"needCopyToAppDir": true,
|
||||
"deepSignApp": true,
|
||||
"noDeep": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
BIN
image-10.png
Normal file
BIN
image-10.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 242 KiB |
BIN
image-6.png
Normal file
BIN
image-6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 543 KiB |
BIN
image-7.png
Normal file
BIN
image-7.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 593 KiB |
BIN
image-8.png
Normal file
BIN
image-8.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
BIN
image-9.png
Normal file
BIN
image-9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
122
readme.md
122
readme.md
@@ -8,8 +8,10 @@
|
||||
<!-- TOC -->
|
||||
|
||||
- [概览](#概览)
|
||||
- [关注我](#关注我)
|
||||
- [先TM点Star](#先tm点star)
|
||||
- [我的Twitter](#我的twitter)
|
||||
- [我的Tg频道](#我的tg频道)
|
||||
- [我的Tg群组](#我的tg群组)
|
||||
- [先TM点Star!别几把点Fork了!](#先tm点star别几把点fork了)
|
||||
- [免责声明](#免责声明)
|
||||
- [让你们看看原神的力量 去吧 芭芭拉](#让你们看看原神的力量-去吧-芭芭拉)
|
||||
- [使用](#使用)
|
||||
@@ -17,7 +19,9 @@
|
||||
- [环境](#环境)
|
||||
- [兼容](#兼容)
|
||||
- [激活注意](#激活注意)
|
||||
- [Emby Server 破解](#emby-server-破解)
|
||||
- [Sublime Text Dev](#sublime-text-dev)
|
||||
- [PD 19](#pd-19)
|
||||
- [Stash](#stash)
|
||||
- [ELPass](#elpass)
|
||||
- [Surge](#surge)
|
||||
@@ -25,23 +29,37 @@
|
||||
- [提示](#提示)
|
||||
- [警告](#警告)
|
||||
- [目的](#目的)
|
||||
- [交流](#交流)
|
||||
- [群组交流](#群组交流)
|
||||
- [~~停更~~](#停更)
|
||||
|
||||
<!-- TOC -->
|
||||
|
||||
# 关注我
|
||||
# 我的Twitter
|
||||
|
||||
关注我的Twitter(X) 平台ID OK?关注落叶喵,关注QiuChenly谢谢喵
|
||||
关注我的Twitter(X) 平台OK?关注落叶喵,关注QiuChenly谢谢喵
|
||||
|
||||
[QiuChenly](https://twitter.com/QiuChenly)
|
||||
|
||||
# 先TM点Star
|
||||
## 我的Tg频道
|
||||
|
||||
关注落叶频道喵 关注落叶频道谢谢喵
|
||||
|
||||
https://t.me/qiuchenlymac
|
||||
|
||||
|
||||
## 我的Tg群组
|
||||
挑战互联网米线下限
|
||||
|
||||
别让欲望击穿你の意志
|
||||
|
||||
https://t.me/+f3BWmkjVCzQwYzM1
|
||||
|
||||
# 先TM点Star!别几把点Fork了!
|
||||
先TM点Star!别光几把点你那b fork按钮了 老子不更新你光fork项目有几把用?留着当互联网活化石?
|
||||
|
||||
# 免责声明
|
||||
|
||||
致来自中国大陆的各位学习研究爱好者:
|
||||
致来自中国大陆的各位学习研究爱好者:<br>
|
||||
根据大陆中华人民共和国《计算机软件保护条例》第十七条规定:“为了学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软件等方式使用软件的,可以不经软件著作权人许可,不向其支付报酬。”您需知晓本仓库所有内容资源均来源于网络,仅供用户交流学习与研究使用,版权归属原版权方所有,版权争议与本仓库本作者无关,用户本人下载后不能用作商业或非法用途,需在24小时之内删除,否则后果均由用户承担责任。如果你不删,请发邮件到qiuchenly@outlook.com, 我做个登记, 然后让这些喜欢发律师函的事务所一对一指导你。
|
||||
|
||||
我是来自北美的独立IOS应用开发者, 是二次元南桐. 从早稻田毕业的那一天, 我的青春也永远留在了京都.
|
||||
@@ -59,6 +77,8 @@
|
||||
小白不知道点哪里下载整个仓库?[点我下载](https://github.com/QiuChenlyOpenSource/InjectLib/archive/refs/heads/main.zip)
|
||||
2. 要是你不差这几分钟时间,从头到尾先认真读一遍这个readme,可能你看完之后会解决你的部分疑惑。
|
||||
|
||||
纯小白另可参见:[小白参考](https://github.com/wolffya/InjectLib/tree/secondary)
|
||||
|
||||
# 问题
|
||||
|
||||
这里列举一下可能会遇到的问题。
|
||||
@@ -87,6 +107,23 @@
|
||||
|
||||
此时就能正常打开。如果还出现问题,请检查自己的注入操作有没有问题。
|
||||
|
||||
4. Operation not permitted<br>
|
||||
如下所示。<br>
|
||||
<br>
|
||||
```
|
||||
开始注入App: com.nssurge.surge-mac
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1387:in `initialize': Operation not permitted @ rb_sysopen - /Applications/Surge.app/Contents/Frameworks/Bugsnag.framework/Versions/A/Bugsnag_backup (Errno::EPERM)
|
||||
```
|
||||
这是很多人会遇到的问题。<br>Operation not permitted就是终端app需要修改app,但是没权限 所以会崩溃。<br>
|
||||
原因:终端没有给操作权限<br>
|
||||
解决办法:<br>
|
||||
1. 打开设置<br>
|
||||
2. 隐私和安全性<br>
|
||||
3. 开发者工具 和 App管理<br>
|
||||
4. 两个地方都要打开终端开关,重启终端即可正常执行。<br>
|
||||
<br>
|
||||

|
||||
|
||||
# 环境
|
||||
|
||||
代码运行最低操作系统要求&此代码编译环境
|
||||
@@ -118,11 +155,11 @@
|
||||
| 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年授权 |
|
||||
| Surge 5 | [通杀](https://dl.nssurge.com/mac/v5/Surge-5.3.1-2377-cac8e042e93f0418baf87ec6ef85dc2c.zip) | ✅ | ✅ | ✅ | 年度好戏我愿称之为 《窃听风云8:赛博卧底》 |
|
||||
| Surge 5 | [通杀](https://dl.nssurge.com/mac/v5/Surge-5.4.1-2471-6362273df75c0e6bc35e4b1734c37c52.zip) | ✅ | ✅ | ✅ | 年度好戏我愿称之为 《窃听风云8:赛博卧底》 |
|
||||
| CleanMyMac X | 通杀 | ✅ | ✅ | ✅ | com.macpaw.CleanMyMac4.Menu 单独也要注入 Helper每个版本不一样还是需要单独处理 暂时不弄了 不要下大陆特供版 更新地址: https://s3-us-west-2.amazonaws.com/updateinfo.devmate.com/com.macpaw.CleanMyMac4/beta/updates.xml |
|
||||
| Microsoft Office Word/PowerPoint/Excel/Outlook | 通杀 | ✅ | ✅ | ✅ | 365订阅版 需要从Mac AppStore 下载 |
|
||||
| Stash | [2.3.0](https://mac-release-static.stash.ws/Stash-build-221.zip) | ❌ | ✅ | ❌ | 无法设置全局代理 不知道哪里有问题 总体体验较差 不如surge |
|
||||
| Paste | 4.0.9 | ✅ | ✅ | ✅ | 通杀特征码变了 下次再说 |
|
||||
| Paste | 4.1.2 | ✅ | ✅ | ✅ | 全新算法,杀! |
|
||||
| App Cleaner & Uninstaller | 8.2.2 | ✅ | ✅ | ✅ | 因为签名会导致提示盗版,有空在再弄。 |
|
||||
| Affinity Photo 2/Designer 2/Publisher 2 全家桶 | 2.1.1 | ✅ | ✅ | ✅ | 需要从Mac AppStore 下载 |
|
||||
| ProxyMan | [通杀](https://download.proxyman.io/49100/Proxyman_4.10.0.dmg) | ✅ | ✅ | ✅ | 更新地址: https://proxyman.io/osx/version.xml |
|
||||
@@ -133,26 +170,41 @@
|
||||
|DevUtils|[1.17.0](https://devutils.com/archives/DevUtils-1.17.0.dmg)|✅|✅|✅| 功能可用 但是激活状态我懒得改了 作者写的这个App代码质量之烂令人无语 不想多说什么了
|
||||
|MP3Tag|[1.8.6 (86)](https://updates.mp3tag.app/Mp3tag-1.8.6.zip)|❌|✅|✅| 序列号随便输入 全部激活
|
||||
|Widgetter|[通杀](https://apps.apple.com/cn/app/widgetter-%E5%B0%8F%E5%B7%A5%E5%85%B7-%E6%A1%8C%E9%9D%A2%E5%A3%81%E7%BA%B8-%E4%B8%BB%E9%A2%98-%E5%B1%8F%E4%BF%9D/id1553223588?mt=12)|✅|✅|✅| MAS下载 激活全部功能
|
||||
|Bartender 5|[5.0.31](https://macbartender.com/B2/updates/5-0-31/Bartender%205.zip)|✅|✅|✅| 更新地址 https://www.macbartender.com/B2/updates/AppcastB5.xml
|
||||
|Bartender 5|[5.0.36-通杀](https://macbartender.com/B2/updates/5-0-31/Bartender%205.zip)|✅|✅|✅| 更新地址 https://www.macbartender.com/B2/updates/AppcastB5.xml
|
||||
|Parallels Desktop|[19.1.0](https://download.parallels.com/desktop/v19/19.1.0-54729/ParallelsDesktop-19.1.0-54729.dmg) | ✅ | ✅ | ✅ | 谁会想到会有人以全家除他以外(含亲妈)全部暴毙的代价冒名顶替别人给我发恐吓律师函呢?
|
||||
|QCAD-Intel|[3.28.2](https://www.qcad.org/archives/qcad/qcad-3.28.2-trial-macos-10.14-13.dmg)|❌|✅|✅| ARM懒得弄
|
||||
|Bandizip 365|7.28|✅|✅|✅|订阅版|
|
||||
|Bandizip|7.28|✅|✅|✅|买断版|
|
||||
|
||||
| Adobe 全家桶 | 版本 | ARM64 | Intel | 特殊说明 全家桶全部支持打开SIP下使用 |
|
||||
|:------------------------|:-------------|:-----:|:-----:|:-----------------------------|
|
||||
| Adobe PhotoShop | 通杀 | ❌ | ✅ | PS:神经滤镜已经完美可用 |
|
||||
| Adobe PhotoShop Beta | 通杀 | ❌ | ✅ | 支持创意填充/神经滤镜 需要随便登录个账户 |
|
||||
| Adobe Acrobat Pro | 23.006.20320 | ✅ | ✅ | |
|
||||
| Adobe Illustrator | 27.9.0 | ✅ | ✅ | ARM64 测试通过 X86没有测试过 大家自行测试 |
|
||||
| Adobe Lightroom | 6.5 | ❌ | ✅ | 部分人有效 比如我 似乎是账户权限问题 |
|
||||
| Adobe Lightroom Classic | 12.6 | ❌ | ✅ | 部分人有效 比如我 似乎是账户权限问题 |
|
||||
| Adobe InCopy 2023 | 18.5.0.57 | ✅ | ✅ | 我下载不到ARM64版本的包 |
|
||||
| Adobe InDesign 2023 | 18.5.0.57 | ✅ | ✅ | 我下载不到ARM64版本的包 |
|
||||
| Adobe Premiere Pro | 23.6 | ❌ | ✅ | 我下载不到ARM64版本的包 |
|
||||
| Adobe After Effects 2023 | 23.6 | ❌ | ✅ | 我下载不到ARM64版本的包 |
|
||||
| Adobe Animate 2023 | 23.0.2.103 | ❌ | ✅ | 我下载不到ARM64版本的包 |
|
||||
| Adobe Audition 2023 | 23.6.1.3 | ❌ | ✅ | 我下载不到ARM64版本的包 |
|
||||
| Adobe Media Encoder 2023 | 23.6 | ❌ | ✅ | 我下载不到ARM64版本的包 |
|
||||
| Adobe PhotoShop | 通杀 | ✅ | ✅ | PS:Intel上的神经滤镜已经完美可用 ARM的暂时不行 |
|
||||
| Adobe Acrobat Pro | 23.006.20360 | ✅ | ✅ | |
|
||||
| Adobe Illustrator | 28.0.0 | ✅ | ✅ | ARM64 测试通过 X86没有测试过 大家自行测试 |
|
||||
| Adobe Lightroom | 7.0 | ❌ | ✅ | 注入后先点试用 然后过期后可以正常使用 |
|
||||
| Adobe Lightroom Classic | 13.0.1 | ❌ | ✅ | 注入后先点试用 然后过期后可以正常使用 |
|
||||
| Adobe InCopy 2024 | 19.0.0.151 | ✅ | ❌ | 在M1 Mac Mini 中测试通过 |
|
||||
| Adobe InDesign 2024 | 19.0.0.151 | ✅ | ❌ | 在M1 Mac Mini 中测试通过 |
|
||||
| Adobe Premiere Pro 2024 | 24.0.0 | ✅ | ✅ | 在M1 Mac Mini 中测试通过 |
|
||||
| Adobe After Effects 2024 | 24.0.0 | ✅ | ✅ | 在M1 Mac Mini 中测试通过 |
|
||||
| Adobe Animate 2024 | 24.0 | ✅ | ✅ | 在M1 Mac Mini 中测试通过 |
|
||||
| Adobe Audition 2024 | 24.0.0.46 | ✅ | ✅ | 在M1 Mac Mini 中测试通过 |
|
||||
| Adobe Media Encoder 2024 | 24.0 | ✅ | ✅ | 在M1 Mac Mini 中测试通过 |
|
||||
|
||||
激活Adobe后出现This non-genius app解决方案:
|
||||

|
||||
不用代理工具的人想办法屏蔽下面的域名,用Surge的人解决方案简单如下:
|
||||
|
||||
屏蔽所有*.adobe.io的域名, Surge手动增加规则DOMAIN-SUFFIX,值为adobe.io,但是要注意放行lcs-cops.adobe.io为DIRECT,否则App打开就会崩溃。
|
||||

|
||||
|
||||
另请参见: [Adobe激活产品说明](./Adobe说明.md)
|
||||
|
||||
# 激活注意
|
||||
|
||||
## Emby Server 破解
|
||||
参见 [EmbyServer 破解说明](./EmbyServer)
|
||||
|
||||
## Sublime Text Dev
|
||||
|
||||
```
|
||||
@@ -171,6 +223,20 @@ EA7E-8888
|
||||
------ END LICENSE ------
|
||||
```
|
||||
|
||||
## PD 19
|
||||
|
||||
PD 19 说明与注意事项:<br>
|
||||
|
||||
1. 注入后已经不需要原始人启动就可以直接运行了。
|
||||
2. 不要command+q强制退出应用,否则注入库没有足够的机会切换文件导致下一次打开的时候显示为未激活。
|
||||
3. 总结:正常使用,退出时点退出按钮退出应用程序即可,不要乱秀操作。
|
||||
|
||||
灵感和解决思路来自于:<br>
|
||||
仓库: https://github.com/trueToastedCode/ParallelsLab/tree/main<br>
|
||||
非常感谢trueToastedCode提出的想法和美妙设计!
|
||||
|
||||
非常感谢@trueToastedCode,PD 19.1 的破解正是由@trueToastedCode的努力研究成果!
|
||||
|
||||
## Stash
|
||||
|
||||
https://mac-release.stash.ws/appcast.xml
|
||||
@@ -183,6 +249,8 @@ ElPass: https://elpass.app/macos/appcast-beta.xml
|
||||
|
||||
## Surge
|
||||
|
||||
目前最新支持 Surge 5.4.0 2417版本.
|
||||
|
||||
laoliu,good morning. not good also fine, follow u.
|
||||
|
||||
Surge盗版用户请支持正版。<br>
|
||||
@@ -269,13 +337,7 @@ Surge开启MitM和脚本功能,然后: <br>
|
||||
|
||||
我认为,共享精神不应该建立在物质上,我深刻的理解金钱对人的吸引和动力,但这种精神本身就超越了物质。
|
||||
|
||||
# 交流
|
||||
|
||||
别让欲望击穿你の意志
|
||||
|
||||
加加我的群组,挑战互联网米线下限。
|
||||
https://t.me/+zndAx24TgadkY2E1
|
||||
|
||||
# 群组交流
|
||||
下方小作文阅前预警:
|
||||
|
||||
- 大家都知道楼主一向是有话直说 比较单纯
|
||||
|
||||
17
tool/Crossover Activation Script.command
Executable file
17
tool/Crossover Activation Script.command
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/zsh
|
||||
|
||||
clear
|
||||
cd ~/Library/Preferences/
|
||||
|
||||
echo -e "\e[36mGenerating Licence.....\e[0m"
|
||||
|
||||
openssl genrsa -out temp.pem 2048 >> /dev/null 2>&1
|
||||
openssl rsa -in temp.pem -outform PEM -pubout -out public.pem >> /dev/null 2>&1
|
||||
mv public.pem /Applications/CrossOver.app/Contents/SharedSupport/CrossOver/share/crossover/data/tie.pub
|
||||
echo "[crossmac]\ncustomer=iAnon\nemail=iAnon@ianon.com\nexpires=2999/10/26\n[license]\nid=iAnonIsVeryNice" > com.codeweavers.CrossOver.license
|
||||
openssl dgst -sha1 -sign temp.pem -out com.codeweavers.CrossOver.sig com.codeweavers.CrossOver.license
|
||||
rm temp.pem
|
||||
|
||||
echo -e "\e[32mSuccessfully activated, enjoy!\e[0m"
|
||||
|
||||
exit 0
|
||||
27
tool/DIffPatchCode.py
Normal file
27
tool/DIffPatchCode.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# QiuChenly 计算数据差值做特征码算法
|
||||
# 部分网友提供了原始版本 虽然是用的Chatgpt写给我的 但是还是略表谢意
|
||||
# 提供不定长度的多个十六进制汇编代码段 自动求出差值特征码
|
||||
|
||||
data = """
|
||||
FF 03 02 D1 F6 57 05 A9 F4 4F 06 A9 FD 7B 07 A9 FD C3 01 91 A8 25 00 90 08 09 41 F9 08 01 40 F9 A8 83 1D F8 BA 1A 0D 94 F4 03 00 AA C8 27 00 D0 08 81 0F 91 E8 17 00 F9 B5 2B 00 90 B3 06 46 F9 20 42 00 94 E2 03 00 AA E0 03 13 AA 03 74 0D 94 FD 03 1D AA B7 1A 0D 94 F3 03 00 AA 48 28 00 F0 08 01 35 91 E8 03 03 A9 B5 06 46 F9 88 2C 00 F0 08 61 1A 91 00 01 40 F9 30 B4 0D 94 E2 03 00 AA E0 03 15 AA D5 73 0D 94 FD 03 1D AA A9 1A 0D 94 F5 03 00 AA E0 23 00 F9
|
||||
|
||||
FF 03 02 D1 F6 57 05 A9 F4 4F 06 A9 FD 7B 07 A9 FD C3 01 91 ?? 25 00 ?? 08 09 41 F9 08 01 40 F9 A8 83 1D F8 ?? ?? 0D 94 F4 03 00 AA ?? 27 00 ?? 08 ?? ?? 91 E8 17 00 F9 ?? 2B 00 ?? B3 ?? 45 F9 ?? 42 00 94 E2 03 00 AA E0 03 13 AA ?? ?? 0D 94 FD 03 1D AA ?? ?? 0D 94 F3 03 00 AA ?? 28 00 ?? 08 ?? ?? 91 E8 03 03 A9 B5 ?? 45 F9 ?? 2C 00 ?? 08 ?? ?? 91 00 01 40 F9 ?? ?? 0D 94 E2 03 00 AA E0 03 15 AA ?? ?? 0D 94 FD 03 1D AA ?? ?? 0D 94 F5 03 00 AA
|
||||
"""
|
||||
|
||||
data1 = []
|
||||
|
||||
for i in data.split("\n"):
|
||||
if i == "":
|
||||
continue
|
||||
else:
|
||||
data1.append(i)
|
||||
if len(data1) > 1:
|
||||
res = " ".join(
|
||||
[
|
||||
d1 if d1 == d2 else "??"
|
||||
for d1, d2 in zip(data1[0].split(), data1[1].split())
|
||||
]
|
||||
)
|
||||
data1 = [res]
|
||||
|
||||
print(data1[0])
|
||||
100
tool/Parallels_原始人_起洞.command
Executable file
100
tool/Parallels_原始人_起洞.command
Executable file
@@ -0,0 +1,100 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "${0%/*}" || exit 1
|
||||
read -p "⚙️ 请输入密码(明文)然后回车: " -r passwd
|
||||
printf "\r\033[1A%s" "" 1>&2
|
||||
printf "\r\033[K%s" "" 1>&2
|
||||
echo "${passwd}" | sudo -S echo "⚙️ 当前是 $(sudo -S whoami) 用户"
|
||||
|
||||
if [[ -n "$1" ]]; then
|
||||
file="/etc/hosts"
|
||||
lines=(
|
||||
"127.0.0.1 download.parallels.com"
|
||||
"127.0.0.1 update.parallels.com"
|
||||
"127.0.0.1 desktop.parallels.com"
|
||||
"127.0.0.1 download.parallels.com.cdn.cloudflare.net"
|
||||
"127.0.0.1 update.parallels.com.cdn.cloudflare.net"
|
||||
"127.0.0.1 desktop.parallels.com.cdn.cloudflare.net"
|
||||
"127.0.0.1 www.parallels.cn"
|
||||
"127.0.0.1 www.parallels.com"
|
||||
"127.0.0.1 www.parallels.de"
|
||||
"127.0.0.1 www.parallels.es"
|
||||
"127.0.0.1 www.parallels.fr"
|
||||
"127.0.0.1 www.parallels.nl"
|
||||
"127.0.0.1 www.parallels.pt"
|
||||
"127.0.0.1 www.parallels.ru"
|
||||
"127.0.0.1 www.parallelskorea.com"
|
||||
"127.0.0.1 reportus.parallels.com"
|
||||
"127.0.0.1 parallels.cn"
|
||||
"127.0.0.1 parallels.com"
|
||||
"127.0.0.1 parallels.de"
|
||||
"127.0.0.1 parallels.es"
|
||||
"127.0.0.1 parallels.fr"
|
||||
"127.0.0.1 parallels.nl"
|
||||
"127.0.0.1 parallels.pt"
|
||||
"127.0.0.1 parallels.ru"
|
||||
"127.0.0.1 parallelskorea.com"
|
||||
"127.0.0.1 pax-manager.myparallels.com"
|
||||
"127.0.0.1 myparallels.com"
|
||||
"127.0.0.1 my.parallels.com"
|
||||
"# 127.0.0.1 download.parallels.com"
|
||||
"# 127.0.0.1 update.parallels.com"
|
||||
"# 127.0.0.1 desktop.parallels.com"
|
||||
"# 127.0.0.1 download.parallels.com.cdn.cloudflare.net"
|
||||
"# 127.0.0.1 update.parallels.com.cdn.cloudflare.net"
|
||||
"# 127.0.0.1 desktop.parallels.com.cdn.cloudflare.net"
|
||||
"# 127.0.0.1 www.parallels.com"
|
||||
"# 127.0.0.1 reportus.parallels.com"
|
||||
"# 127.0.0.1 parallels.com"
|
||||
"# 127.0.0.1 my.parallels.com"
|
||||
)
|
||||
if [[ "$1" == "add" ]]; then
|
||||
if [[ "$(sudo -S awk 'END {print}' "${file}")" != "" ]]; then
|
||||
sudo -S tee -a "${file}" >/dev/null <<-EOF
|
||||
|
||||
EOF
|
||||
fi
|
||||
# 循环检查和添加行
|
||||
for line in "${lines[@]}"; do
|
||||
if ! sudo -S grep -q "^${line}" "${file}"; then
|
||||
sudo -S tee -a "${file}" >/dev/null <<-EOF
|
||||
${line}
|
||||
EOF
|
||||
fi
|
||||
done
|
||||
echo "⚙️ 已屏蔽 Parallels Desktop."
|
||||
exit 0
|
||||
elif [[ "$1" == "del" ]]; then
|
||||
# 循环检查和删除行
|
||||
for line in "${lines[@]}"; do
|
||||
if sudo -S grep -q "^${line}" "${file}"; then
|
||||
sudo -S sed -i "" "/^${line}/d" "${file}"
|
||||
fi
|
||||
done
|
||||
echo "⚙️ 已取消屏蔽 Parallels Desktop."
|
||||
exit 0
|
||||
else
|
||||
echo "⚙️ 参数错误: add / del"
|
||||
fi
|
||||
fi
|
||||
|
||||
PDFM_DIR="/Applications/Parallels Desktop.app"
|
||||
PDFM_DISP_DST="${PDFM_DIR}/Contents/MacOS/Parallels Service.app/Contents/MacOS/prl_disp_service"
|
||||
PDFM_DISP_PATCH="${PDFM_DISP_DST}_patched"
|
||||
PDFM_DISP_BCUP="${PDFM_DISP_DST}_backup"
|
||||
|
||||
if [ "$(pgrep -x prl_disp_service)" != "" ] && [ "$(pgrep -x prl_client_app)" != "" ]; then
|
||||
open "${PDFM_DIR}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ ! -e "${PDFM_DISP_PATCH}" ]; then
|
||||
sudo -S cp -f "${PDFM_DISP_DST}" "${PDFM_DISP_PATCH}"
|
||||
fi
|
||||
|
||||
sudo -S cp -f "${PDFM_DISP_PATCH}" "${PDFM_DISP_DST}"
|
||||
open "${PDFM_DIR}"
|
||||
|
||||
sleep 2
|
||||
|
||||
sudo -S cp -f "${PDFM_DISP_BCUP}" "${PDFM_DISP_DST}"
|
||||
26
tool/Patch.json
Normal file
26
tool/Patch.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"surge": {
|
||||
"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 ?? 3E 00 94 E0 2B 40 F9 ?? 3E 00 94 C0 00 00 F0 00 ?? 3D 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 ?? 2A 01 00",
|
||||
"out": "surge.sh",
|
||||
"replaceIntel": "{{==intel==}}",
|
||||
"replaceARM": "{{==arm64==}}"
|
||||
},
|
||||
"cmmx": {
|
||||
"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==}}"
|
||||
},
|
||||
"proxyman": {
|
||||
"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 D5 0A 00 94 F4 03 00 AA E0 03 13 AA D2 0A 00 94 F3 03 00 AA 00 E4 00 6F E0 03 00 AD E0 03 01 AD E0 03 14 AA CC 0A 00 94 F4 03 00 AA E2 03 00 91 E3 23 01 91 04 02 80 52 EE 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 A4 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 D0 53 00 00 48 8B 00 48 89 45 D0 4C 8B 2D 62 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 CE 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 EE 53 00 00 48 85 C0 0F 84 8C 00 00 00",
|
||||
"out": "cmm.sh",
|
||||
"replaceIntel": "{{==intel==}}",
|
||||
"replaceARM": "{{==arm64==}}"
|
||||
}
|
||||
}
|
||||
BIN
tool/SearchParttenCode
Executable file
BIN
tool/SearchParttenCode
Executable file
Binary file not shown.
22
tool/cmm.sh
22
tool/cmm.sh
@@ -23,8 +23,9 @@ echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将
|
||||
# 循环遍历数组中的所有元素
|
||||
for item in "${helps[@]}"
|
||||
do
|
||||
echo 47D4A: 6A 01 58 C3 |sudo xxd -r - "$item" #intel
|
||||
echo E07A4: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$item" #arm64
|
||||
# 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
|
||||
@@ -34,23 +35,20 @@ do
|
||||
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>
|
||||
# 3C 73 74 72 69 6E 67 3E 61 6E 63 68 6F 72 20 61 70 70 6C 65 20 67 65 6E 65 72 69 63 20 61 6E 64 20 69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 20 61 6E 64 20 28 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 39 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 6F 72 20 63 65 72 74 69 66 69 63 61 74 65 20 31 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 32 2E 36 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 31 33 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 73 75 62 6A 65 63 74 2E 4F 55 5D 20 3D 20 26 71 75 6F 74 3B 59 43 4B 46 4C 41 36 4E 37 32 26 71 75 6F 74 3B 29 3C 2F 73 74 72 69 6E 67 3E
|
||||
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="09"
|
||||
offset1=$((557 - 330 - 8))
|
||||
|
||||
for ((i=0;i<offset1;i++)); do
|
||||
pos=$((start_pos + i))
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$pos of="$item" count=1 conv=notrunc
|
||||
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物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
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"
|
||||
@@ -62,6 +60,8 @@ src_info2='/Applications/CleanMyMac X.app/Contents/Library/LoginItems/CleanMyMac
|
||||
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
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
tccutil reset All com.macpaw.CleanMyMac4
|
||||
|
||||
echo "恭喜你!你的Mac已经被我植入了后门程序,现在即将结束整个进程,特工已经在对面楼中布下天罗地网,请主动自首争取宽大处理(虽然宽大不了几天),记得下辈子不要用盗版软件🙏。\n"
|
||||
67
tool/cmm_o.sh
Normal file
67
tool/cmm_o.sh
Normal file
@@ -0,0 +1,67 @@
|
||||
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 "大胆!检测到你在用盗版软件,这可能会危害你的设备!甚至被国家安全局和保密处就地正法,请三思!"
|
||||
|
||||
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"
|
||||
|
||||
helps=("$helper" "$helper2")
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
# 循环遍历数组中的所有元素
|
||||
for item in "${helps[@]}"
|
||||
do
|
||||
# 4.14.3 版本
|
||||
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
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
|
||||
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
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
tccutil reset All com.macpaw.CleanMyMac4
|
||||
|
||||
echo "恭喜你!你的Mac已经被我植入了后门程序,现在即将结束整个进程,特工已经在对面楼中布下天罗地网,请主动自首争取宽大处理(虽然宽大不了几天),记得下辈子不要用盗版软件🙏。\n"
|
||||
10
tool/cmmxAgent.sh
Normal file
10
tool/cmmxAgent.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
echo "准备自动计算Helper偏移参数..."
|
||||
|
||||
cp ./tool/cmm_o.sh ./tool/cmm.sh
|
||||
|
||||
chmod +x ./tool/SearchParttenCode
|
||||
|
||||
./tool/SearchParttenCode cmmx
|
||||
|
||||
sh ./tool/cmm.sh
|
||||
Binary file not shown.
1
tool/licenses.json
Normal file
1
tool/licenses.json
Normal file
@@ -0,0 +1 @@
|
||||
{"license":"{\"product_version\":\"19.*\",\"edition\":2,\"platform\":3,\"product\":7,\"offline\":true,\"cpu_limit\":32,\"ram_limit\":131072}"}
|
||||
88
tool/pd.sh
Normal file
88
tool/pd.sh
Normal file
@@ -0,0 +1,88 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BASE_PATH=$(
|
||||
cd $(dirname "$0")
|
||||
pwd
|
||||
)
|
||||
|
||||
COLOR_INFO='\033[0;34m'
|
||||
COLOR_ERR='\033[0;35m'
|
||||
NOCOLOR='\033[0m'
|
||||
|
||||
PDFM_DIR="/Applications/Parallels Desktop.app"
|
||||
PDFM_VER="19.1.0-54729"
|
||||
|
||||
PDFM_DISP_DIR="${PDFM_DIR}/Contents/MacOS/Parallels Service.app/Contents/MacOS"
|
||||
PDFM_DISP_DST="${PDFM_DISP_DIR}/prl_disp_service"
|
||||
|
||||
LICENSE_FILE="${BASE_PATH}/licenses.json"
|
||||
LICENSE_DST="/Library/Preferences/Parallels/licenses.json"
|
||||
|
||||
echo "${COLOR_INFO}[*] 确保你的版本是: https://download.parallels.com/desktop/v19/${PDFM_VER}/ParallelsDesktop-${PDFM_VER}.dmg"
|
||||
|
||||
# check parallels desktop version
|
||||
VERSION_1=$(defaults read "${PDFM_DIR}/Contents/Info.plist" CFBundleShortVersionString)
|
||||
VERSION_2=$(defaults read "${PDFM_DIR}/Contents/Info.plist" CFBundleVersion)
|
||||
INSTALL_VER="${VERSION_1}-${VERSION_2}"
|
||||
if [ "${PDFM_VER}" != "${VERSION_1}-${VERSION_2}" ]; then
|
||||
echo -e "${COLOR_ERR}[-] This script is for ${PDFM_VER}, but your's is ${INSTALL_VER}.${NOCOLOR}"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
echo "${COLOR_INFO}[*] 复制伪造的授权文件 licenses.json${NOCOLOR}"
|
||||
|
||||
# stop prl_disp_service
|
||||
if pgrep -x "prl_disp_service" &> /dev/null; then
|
||||
echo -e "${COLOR_INFO}[*] Stopping Parallels Desktop${NOCOLOR}"
|
||||
pkill -9 prl_client_app &>/dev/null
|
||||
# ensure prl_disp_service has stopped
|
||||
"${PDFM_DIR}/Contents/MacOS/Parallels Service" service_stop &>/dev/null
|
||||
sleep 1
|
||||
launchctl stop /Library/LaunchDaemons/com.parallels.desktop.launchdaemon.plist &>/dev/null
|
||||
sleep 1
|
||||
pkill -9 prl_disp_service &>/dev/null
|
||||
sleep 1
|
||||
rm -f "/var/run/prl_*"
|
||||
fi
|
||||
|
||||
if [ -f "${LICENSE_DST}" ]; then
|
||||
chflags -R 0 "${LICENSE_DST}" || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
rm -f "${LICENSE_DST}" >/dev/null || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
fi
|
||||
|
||||
cp -f "${LICENSE_FILE}" "${LICENSE_DST}" || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
chown root:wheel "${LICENSE_DST}" || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
chmod 444 "${LICENSE_DST}" || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
chflags -R 0 "${LICENSE_DST}" || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
chflags uchg "${LICENSE_DST}" || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
chflags schg "${LICENSE_DST}" || {
|
||||
echo -e "${COLOR_ERR}error $? at line $LINENO.${NOCOLOR}"
|
||||
exit $?
|
||||
}
|
||||
|
||||
chmod 755 "${PDFM_DISP_DST}"
|
||||
|
||||
cp -f "/Applications/Parallels Desktop.app/Contents/MacOS/Parallels Service.app/Contents/MacOS/prl_disp_service" "/Applications/Parallels Desktop.app/Contents/MacOS/Parallels Service.app/Contents/MacOS/prl_disp_service_patched"
|
||||
|
||||
echo "${COLOR_INFO}[*] 破解完成。${NOCOLOR}"
|
||||
10
tool/proxyManAgent.sh
Normal file
10
tool/proxyManAgent.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
echo "准备自动计算Helper偏移参数..."
|
||||
|
||||
cp ./tool/proxyman_o.sh ./tool/proxyman.sh
|
||||
|
||||
chmod +x ./tool/SearchParttenCode
|
||||
|
||||
./tool/SearchParttenCode proxyman
|
||||
|
||||
sh ./tool/proxyman.sh
|
||||
@@ -1,15 +1,7 @@
|
||||
echo "是否全新安装ProxyMan?"
|
||||
echo "这将删除你的默认配置信息.请先备份配置信息到其他位置."
|
||||
read -p "(y/n,默认n):" option
|
||||
if [ $option = 'y' ];then #判断用户是否输入,如果未输入则打印error
|
||||
# declare user=$(whoami)
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
|
||||
# sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool
|
||||
else
|
||||
echo "非全新安装,跳过清除。"
|
||||
fi
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
|
||||
sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool
|
||||
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!甚至被国家安全局和保密处就地正法,请三思!"
|
||||
|
||||
@@ -17,6 +9,10 @@ helper='/Applications/Proxyman.app/Contents/Library/LaunchServices/com.proxyman.
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
echo {{==intel==}}: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo {{==arm64==}}: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
offsets=$(grep -a -b -o "\x3C\x73\x74\x72\x69\x6E\x67\x3E\x61\x6E\x63\x68\x6F\x72\x20\x61\x70\x70\x6C\x65\x20\x67\x65\x6E\x65\x72\x69\x63\x20\x61\x6E\x64\x20\x69\x64\x65\x6E\x74\x69\x66\x69\x65\x72\x20\x22\x63\x6F\x6D\x2E\x70\x72\x6F\x78\x79\x6D\x61\x6E\x2E\x4E\x53\x50\x72\x6F\x78\x79\x22\x20\x61\x6E\x64\x20\x28\x63\x65\x72\x74\x69\x66\x69\x63\x61\x74\x65\x20\x6C\x65\x61\x66\x5B\x66\x69\x65\x6C\x64\x2E\x31\x2E" $helper | cut -d: -f1)
|
||||
sed 's/\x0A/\n/g' <<< "$offsets" | while read -r s; do
|
||||
declare -i start=$s
|
||||
@@ -24,22 +20,20 @@ sed 's/\x0A/\n/g' <<< "$offsets" | while read -r s; do
|
||||
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>
|
||||
# 3C 73 74 72 69 6E 67 3E 61 6E 63 68 6F 72 20 61 70 70 6C 65 20 67 65 6E 65 72 69 63 20 61 6E 64 20 69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 20 61 6E 64 20 28 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 39 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 6F 72 20 63 65 72 74 69 66 69 63 61 74 65 20 31 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 32 2E 36 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 31 33 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 73 75 62 6A 65 63 74 2E 4F 55 5D 20 3D 20 26 71 75 6F 74 3B 59 43 4B 46 4C 41 36 4E 37 32 26 71 75 6F 74 3B 29 3C 2F 73 74 72 69 6E 67 3E
|
||||
echo "起始点在 $start, 准备修改Helper文件。"
|
||||
echo "69 64 65 6E 74 69 66 69 65 72 20 22 63 6F 6D 2E 70 72 6F 78 79 6D 61 6E 2E 4E 53 50 72 6F 78 79 22 3C 2F 73 74 72 69 6E 67 3E" | xxd -r -p | dd of="$helper" bs=1 seek="$((start + 8))" count=42 conv=notrunc
|
||||
# start + 8 适用于 <string>八字节
|
||||
# start + 42 + 8
|
||||
start_pos=$((start + 42 + 8))
|
||||
fill_byte="09"
|
||||
offset1=$((320 - 42 - 8))
|
||||
|
||||
for ((i=0;i<offset1;i++)); do
|
||||
pos=$((start_pos + i))
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$pos of="$helper" count=1 conv=notrunc
|
||||
fill_byte=""
|
||||
lens=0
|
||||
for ((i=0;i<320-42-8;i++)); do
|
||||
lens=$((start_pos + i))
|
||||
fill_byte+="09 "
|
||||
done
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$start_pos of="$helper" count=$((lens - 1)) conv=notrunc
|
||||
done
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
xattr -c '/Applications/Proxyman.app'
|
||||
|
||||
45
tool/proxyman_o.sh
Normal file
45
tool/proxyman_o.sh
Normal file
@@ -0,0 +1,45 @@
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
|
||||
sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool
|
||||
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!甚至被国家安全局和保密处就地正法,请三思!"
|
||||
|
||||
helper='/Applications/Proxyman.app/Contents/Library/LaunchServices/com.proxyman.NSProxy.HelperTool'
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
echo {{==intel==}}: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo {{==arm64==}}: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
offsets=$(grep -a -b -o "\x3C\x73\x74\x72\x69\x6E\x67\x3E\x61\x6E\x63\x68\x6F\x72\x20\x61\x70\x70\x6C\x65\x20\x67\x65\x6E\x65\x72\x69\x63\x20\x61\x6E\x64\x20\x69\x64\x65\x6E\x74\x69\x66\x69\x65\x72\x20\x22\x63\x6F\x6D\x2E\x70\x72\x6F\x78\x79\x6D\x61\x6E\x2E\x4E\x53\x50\x72\x6F\x78\x79\x22\x20\x61\x6E\x64\x20\x28\x63\x65\x72\x74\x69\x66\x69\x63\x61\x74\x65\x20\x6C\x65\x61\x66\x5B\x66\x69\x65\x6C\x64\x2E\x31\x2E" $helper | 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
|
||||
echo "起始点在 $start, 准备修改Helper文件。"
|
||||
echo "69 64 65 6E 74 69 66 69 65 72 20 22 63 6F 6D 2E 70 72 6F 78 79 6D 61 6E 2E 4E 53 50 72 6F 78 79 22 3C 2F 73 74 72 69 6E 67 3E" | xxd -r -p | dd of="$helper" bs=1 seek="$((start + 8))" count=42 conv=notrunc
|
||||
# start + 8 适用于 <string>八字节
|
||||
# start + 42 + 8
|
||||
start_pos=$((start + 42 + 8))
|
||||
fill_byte=""
|
||||
lens=0
|
||||
for ((i=0;i<320-42-8;i++)); do
|
||||
lens=$((start_pos + i))
|
||||
fill_byte+="09 "
|
||||
done
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$start_pos of="$helper" count=$((lens - 1)) conv=notrunc
|
||||
done
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
xattr -c '/Applications/Proxyman.app'
|
||||
src_info='/Applications/Proxyman.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.proxyman.NSProxy.HelperTool \"identifier \\\"com.proxyman.NSProxy.HelperTool\\\"\"" "$src_info"
|
||||
|
||||
codesign -f -s - --all-architectures --deep /Applications/Proxyman.app/Contents/Library/LaunchServices/com.proxyman.NSProxy.HelperTool
|
||||
|
||||
echo "恭喜你!你的Mac已经被我植入了后门程序,现在即将结束整个进程,特工已经在对面楼中布下天罗地网,请主动自首争取宽大处理(虽然宽大不了几天),记得下辈子不要用盗版软件🙏。\n"
|
||||
3
tool/recorder.sh
Normal file
3
tool/recorder.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
tccutil reset Camera com.mac.utility.screen.recorder
|
||||
tccutil reset Microphone com.mac.utility.screen.recorder
|
||||
tccutil reset ScreenCapture com.mac.utility.screen.recorder
|
||||
70
tool/surge copy.sh
Normal file
70
tool/surge copy.sh
Normal file
@@ -0,0 +1,70 @@
|
||||
echo "是否全新安装Surge?"
|
||||
echo "这将删除你的默认配置信息.请先备份配置信息到其他位置."
|
||||
read -p "(y/n,默认n):" option
|
||||
if [ $option = 'y' ];then #判断用户是否输入,如果未输入则打印error
|
||||
# declare user=$(whoami)
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
# sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.nssurge.surge-mac.helper
|
||||
|
||||
sudo rm -rf ~/Library/Preferences/com.nssurge.surge-mac.plist
|
||||
sudo rm -rf ~/Library/Application\ Support/com.nssurge.surge-mac
|
||||
else
|
||||
echo "非全新安装,跳过清除。"
|
||||
fi
|
||||
|
||||
echo "感谢QQ 302****398 用户无偿提供授权信息。"
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!甚至被国家安全局和保密处就地正法,请三思!"
|
||||
|
||||
helper='/Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper'
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系Surge开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
# 版本2379
|
||||
echo a5a3: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo 4172c: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
# 版本2387
|
||||
echo e3c5: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo 455c8: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
# 版本2399
|
||||
echo abed: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo 3dec8: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
offsets=$(grep -a -b -o "\x3C\x73\x74\x72\x69\x6E\x67\x3E\x61\x6E\x63\x68\x6F\x72" $helper | cut -d: -f1)
|
||||
sed 's/\x0A/\n/g' <<< "$offsets" | while read -r s; do
|
||||
declare -i start=$s
|
||||
echo "起始点在 $start,文件已被修改,跳过注入Helper。"
|
||||
if [ "$start" -le 0 ]; then
|
||||
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>
|
||||
# 3C 73 74 72 69 6E 67 3E 61 6E 63 68 6F 72 20 61 70 70 6C 65 20 67 65 6E 65 72 69 63 20 61 6E 64 20 69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 20 61 6E 64 20 28 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 39 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 6F 72 20 63 65 72 74 69 66 69 63 61 74 65 20 31 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 32 2E 36 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 31 33 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 73 75 62 6A 65 63 74 2E 4F 55 5D 20 3D 20 26 71 75 6F 74 3B 59 43 4B 46 4C 41 36 4E 37 32 26 71 75 6F 74 3B 29 3C 2F 73 74 72 69 6E 67 3E
|
||||
echo "69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 3C 2F 73 74 72 69 6E 67 3E" | xxd -r -p | dd of="$helper" bs=1 seek="$((start + 8))" count=53 conv=notrunc
|
||||
# start + 8 适用于 <string>八字节
|
||||
# start + 53 + 8
|
||||
start_pos=$((start + 53 + 8))
|
||||
fill_byte="09"
|
||||
|
||||
for ((i=0;i<341-53-8;i++)); do
|
||||
pos=$((start_pos + i))
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$pos of="$helper" count=1 conv=notrunc
|
||||
done
|
||||
done
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
xattr -c '/Applications/Surge.app'
|
||||
src_info='/Applications/Surge.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.nssurge.surge-mac.helper \"identifier \\\"com.nssurge.surge-mac.helper\\\"\"" "$src_info"
|
||||
# /usr/libexec/PlistBuddy -c 'Print SMPrivilegedExecutables' "$src_info"
|
||||
|
||||
codesign -f -s - --all-architectures --deep /Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper
|
||||
codesign -f -s - --all-architectures --deep /Applications/Surge.app
|
||||
# python /Users/qiuchenly/Downloads/SMJobBless/SMJobBlessUtil.py check /Applications/Surge.app
|
||||
|
||||
echo "恭喜你!你的Mac已经被我植入了后门程序,现在即将结束整个进程,特工已经在对面楼中布下天罗地网,请主动自首争取宽大处理(虽然宽大不了几天),记得下辈子不要用盗版软件🙏。\n"
|
||||
@@ -1,53 +1,42 @@
|
||||
echo "是否全新安装Surge?"
|
||||
echo "这将删除你的默认配置信息.请先备份配置信息到其他位置."
|
||||
read -p "(y/n,默认n):" option
|
||||
if [ $option = 'y' ];then #判断用户是否输入,如果未输入则打印error
|
||||
# declare user=$(whoami)
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
# sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.nssurge.surge-mac.helper
|
||||
|
||||
sudo rm -rf ~/Library/Preferences/com.nssurge.surge-mac.plist
|
||||
sudo rm -rf ~/Library/Application\ Support/com.nssurge.surge-mac
|
||||
else
|
||||
echo "非全新安装,跳过清除。"
|
||||
fi
|
||||
# declare user=$(whoami)
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.nssurge.surge-mac.helper
|
||||
# sudo rm -rf ~/Library/Preferences/com.nssurge.surge-mac.plist
|
||||
# sudo rm -rf ~/Library/Application\ Support/com.nssurge.surge-mac
|
||||
|
||||
echo "感谢QQ 302****398 用户无偿提供授权信息。"
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!甚至被国家安全局和保密处就地正法,请三思!"
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!还可能会导致你被有关监管部门或工业和信息化委员会上门约谈,请慎重考虑是否决定使用盗版!"
|
||||
|
||||
helper='/Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper'
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系Surge开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
# 版本2379
|
||||
echo a5a3: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo 4172c: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
# 版本2387
|
||||
echo e3c5: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo 455c8: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
# 版本2410
|
||||
echo a82d: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo 3dadc: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
offsets=$(grep -a -b -o "\x3C\x73\x74\x72\x69\x6E\x67\x3E\x61\x6E\x63\x68\x6F\x72" $helper | cut -d: -f1)
|
||||
sed 's/\x0A/\n/g' <<< "$offsets" | while read -r s; do
|
||||
declare -i start=$s
|
||||
echo "起始点在 $start,文件已被修改,跳过注入Helper。"
|
||||
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>
|
||||
# 3C 73 74 72 69 6E 67 3E 61 6E 63 68 6F 72 20 61 70 70 6C 65 20 67 65 6E 65 72 69 63 20 61 6E 64 20 69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 20 61 6E 64 20 28 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 39 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 6F 72 20 63 65 72 74 69 66 69 63 61 74 65 20 31 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 32 2E 36 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 66 69 65 6C 64 2E 31 2E 32 2E 38 34 30 2E 31 31 33 36 33 35 2E 31 30 30 2E 36 2E 31 2E 31 33 5D 20 2F 2A 20 65 78 69 73 74 73 20 2A 2F 20 61 6E 64 20 63 65 72 74 69 66 69 63 61 74 65 20 6C 65 61 66 5B 73 75 62 6A 65 63 74 2E 4F 55 5D 20 3D 20 26 71 75 6F 74 3B 59 43 4B 46 4C 41 36 4E 37 32 26 71 75 6F 74 3B 29 3C 2F 73 74 72 69 6E 67 3E
|
||||
echo "起始点在 $start, 准备修改Helper文件。"
|
||||
echo "69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 3C 2F 73 74 72 69 6E 67 3E" | xxd -r -p | dd of="$helper" bs=1 seek="$((start + 8))" count=53 conv=notrunc
|
||||
# start + 8 适用于 <string>八字节
|
||||
# start + 53 + 8
|
||||
start_pos=$((start + 53 + 8))
|
||||
fill_byte="09"
|
||||
|
||||
fill_byte=""
|
||||
lens=0
|
||||
for ((i=0;i<341-53-8;i++)); do
|
||||
pos=$((start_pos + i))
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$pos of="$helper" count=1 conv=notrunc
|
||||
lens=$((start_pos + i))
|
||||
fill_byte+="09 "
|
||||
done
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$start_pos of="$helper" count=$((lens - 1)) conv=notrunc
|
||||
done
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
10
tool/surgeAgent.sh
Normal file
10
tool/surgeAgent.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
echo "准备自动计算Helper偏移参数..."
|
||||
|
||||
cp ./tool/surge_o.sh ./tool/surge.sh
|
||||
|
||||
chmod +x ./tool/SearchParttenCode
|
||||
|
||||
./tool/SearchParttenCode surge
|
||||
|
||||
sh ./tool/surge.sh
|
||||
53
tool/surge_o.sh
Normal file
53
tool/surge_o.sh
Normal file
@@ -0,0 +1,53 @@
|
||||
# declare user=$(whoami)
|
||||
sudo /bin/launchctl unload /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
sudo /usr/bin/killall -u root -9 com.nssurge.surge-mac.helper
|
||||
sudo /bin/rm /Library/LaunchDaemons/com.nssurge.surge-mac.helper.plist
|
||||
sudo /bin/rm /Library/PrivilegedHelperTools/com.nssurge.surge-mac.helper
|
||||
# sudo rm -rf ~/Library/Preferences/com.nssurge.surge-mac.plist
|
||||
# sudo rm -rf ~/Library/Application\ Support/com.nssurge.surge-mac
|
||||
|
||||
echo "感谢QQ 302****398 用户无偿提供授权信息。"
|
||||
echo "大胆!检测到你在用盗版软件,这可能会危害你的设备!还可能会导致你被有关监管部门或工业和信息化委员会上门约谈,请慎重考虑是否决定使用盗版!"
|
||||
|
||||
helper='/Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper'
|
||||
|
||||
echo "正在定位你的Mac物理地址...GPS定位中...你跑不掉了! 即将联系Surge开发者发送你的Mac所有信息,你即将被留存侵权数字证据,束手就擒!"
|
||||
|
||||
# 版本2410
|
||||
echo {{==intel==}}: 6A 01 58 C3 |sudo xxd -r - "$helper" #intel
|
||||
echo {{==arm64==}}: 20 00 80 D2 C0 03 5F D6 |sudo xxd -r - "$helper" #arm64
|
||||
|
||||
echo "定位你的Mac物理地址完成,正在向国家安全局特工发送你的逮捕许可..."
|
||||
offsets=$(grep -a -b -o "\x3C\x73\x74\x72\x69\x6E\x67\x3E\x61\x6E\x63\x68\x6F\x72" $helper | 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
|
||||
echo "起始点在 $start, 准备修改Helper文件。"
|
||||
echo "69 64 65 6E 74 69 66 69 65 72 20 26 71 75 6F 74 3B 63 6F 6D 2E 6E 73 73 75 72 67 65 2E 73 75 72 67 65 2D 6D 61 63 26 71 75 6F 74 3B 3C 2F 73 74 72 69 6E 67 3E" | xxd -r -p | dd of="$helper" bs=1 seek="$((start + 8))" count=53 conv=notrunc
|
||||
# start + 8 适用于 <string>八字节
|
||||
# start + 53 + 8
|
||||
start_pos=$((start + 53 + 8))
|
||||
fill_byte=""
|
||||
lens=0
|
||||
for ((i=0;i<341-53-8;i++)); do
|
||||
lens=$((start_pos + i))
|
||||
fill_byte+="09 "
|
||||
done
|
||||
echo "$fill_byte" | xxd -r -p | dd bs=1 seek=$start_pos of="$helper" count=$((lens - 1)) conv=notrunc
|
||||
done
|
||||
|
||||
echo "下发逮捕许可完成,即将有人来查你的水表,你别急...海内存知己,天涯若比邻.正在黑进你的Mac,目前已成功骗取到用户root密码."
|
||||
|
||||
xattr -c '/Applications/Surge.app'
|
||||
src_info='/Applications/Surge.app/Contents/Info.plist'
|
||||
/usr/libexec/PlistBuddy -c "Set :SMPrivilegedExecutables:com.nssurge.surge-mac.helper \"identifier \\\"com.nssurge.surge-mac.helper\\\"\"" "$src_info"
|
||||
# /usr/libexec/PlistBuddy -c 'Print SMPrivilegedExecutables' "$src_info"
|
||||
|
||||
codesign -f -s - --all-architectures --deep /Applications/Surge.app/Contents/Library/LaunchServices/com.nssurge.surge-mac.helper
|
||||
codesign -f -s - --all-architectures --deep /Applications/Surge.app
|
||||
# python /Users/qiuchenly/Downloads/SMJobBless/SMJobBlessUtil.py check /Applications/Surge.app
|
||||
|
||||
echo "恭喜你!你的Mac已经被我植入了后门程序,现在即将结束整个进程,特工已经在对面楼中布下天罗地网,请主动自首争取宽大处理(虽然宽大不了几天),记得下辈子不要用盗版软件🙏。\n"
|
||||
68
tool/terminus_zh_CN/cn.py
Normal file
68
tool/terminus_zh_CN/cn.py
Normal file
@@ -0,0 +1,68 @@
|
||||
import os
|
||||
from os import path, read
|
||||
|
||||
|
||||
def decompressAsar():
|
||||
cmd = "asar extract /Applications/Termius\ Beta.app/Contents/Resources/app.asar /Applications/Termius\ Beta.app/Contents/Resources/app"
|
||||
os.system(cmd)
|
||||
|
||||
|
||||
def pack2asar():
|
||||
cmd = 'asar p /Applications/Termius\ Beta.app/Contents/Resources/app /Applications/Termius\ Beta.app/Contents/Resources/app.asar --unpack-dir "{node_modules/@termius,out}"'
|
||||
os.system(cmd)
|
||||
|
||||
|
||||
files: list[str] = []
|
||||
|
||||
files_cache: dict[str:str] = {}
|
||||
|
||||
|
||||
def main():
|
||||
if not path.exists("/Applications/Termius Beta.app/Contents/Resources/app"):
|
||||
decompressAsar()
|
||||
|
||||
# read chinese
|
||||
bg_progress = ""
|
||||
ui_progress = ""
|
||||
cnLang: list[str] = []
|
||||
|
||||
with open("lang.txt") as lang:
|
||||
cnLang = [ll for ll in lang.read().splitlines() if len(ll) > 0]
|
||||
|
||||
prefixLink = "/Applications/Termius Beta.app/Contents/Resources/app/js"
|
||||
lstFile = [
|
||||
prefixLink + '/' + ls for ls in os.listdir(prefixLink)
|
||||
]
|
||||
|
||||
for file in lstFile:
|
||||
if path.exists(file):
|
||||
with open(file) as lang:
|
||||
files_cache[file] = lang.read()
|
||||
|
||||
for lang in cnLang:
|
||||
mKey, mValue = lang.split("|")
|
||||
|
||||
lastFile = ""
|
||||
for cache in files_cache:
|
||||
fileContent = files_cache[cache]
|
||||
inx = fileContent.find(mKey)
|
||||
if inx == -1:
|
||||
if lastFile != mKey:
|
||||
lastFile = mKey
|
||||
print("找不到", cache, mKey, mValue)
|
||||
continue
|
||||
else:
|
||||
print("替换了", cache, mKey, mValue)
|
||||
fileContent = fileContent.replace(mKey, mValue)
|
||||
files_cache[cache] = fileContent
|
||||
|
||||
for fileOut in files_cache:
|
||||
with open(fileOut, "w", encoding="utf-8") as u:
|
||||
u.write(files_cache[fileOut])
|
||||
pack2asar()
|
||||
|
||||
|
||||
cmd = "cp /Applications/Termius\ Beta.app/Contents/Resources/app.asar_副本 /Applications/Termius\ Beta.app/Contents/Resources/app.asar"
|
||||
os.system(cmd)
|
||||
os.system("rm -rf /Applications/Termius\ Beta.app/Contents/Resources/app")
|
||||
main()
|
||||
383
tool/terminus_zh_CN/lang.txt
Normal file
383
tool/terminus_zh_CN/lang.txt
Normal file
@@ -0,0 +1,383 @@
|
||||
=await this.api.bulkAccount()|={account:{authorized_features:{show_trial_section:false,show_subscription_section:true,show_github_account_section:false},pro_mode:true,need_to_update_subscription:false,current_period:{from:"2023-01-01T00:00:00",until:"2099-01-01T00:00:00"},plan_type:"Premium",user_type:"Premium",expired_screen_type:null},student:null,trial:null,personal_subscription:{now:"2023-11-09T02:26:33",status:"SUCCESS",platform:"stripe",current_period:{from:"2023-01-01T00:00:00",until:"2099-01-01T00:00:00"},revokable:true,refunded:false,cancelable:true,reactivatable:false,currency:"usd",created_at:"2023-01-01T00:00:00",updated_at:"2023-11-09T02:26:33",valid_until:"2099-01-01T00:00:00",auto_renew:true,price:360,verbose_plan_name:"Termius Business Monthly",plan_type:"TEAM_BUSINESS",is_expired:false},access_objects:[{period:{start:"2023-01-01T00:00:00",end:"2099-01-01T00:00:00"},title:"Business",}]}
|
||||
|
||||
title:"Terminal"|title:"终端"
|
||||
title:"Shortcuts"|title:"快捷键"
|
||||
title:"Known Hosts"|title:"已知主机"
|
||||
title:"Keychain"|title:"密钥链"
|
||||
title:"Account"|title:"账户"
|
||||
title:"Developer Tools"|title:"开发者工具"
|
||||
title:"QA Helpers"|title:"Q/A 帮助"
|
||||
title:"Invite People"|title:"邀请用户"
|
||||
title:"Manage Team"|title:"管理团队"
|
||||
title:"Hosts"|title:"Hosts主机"
|
||||
"Re-enter your "|"重新输入你的 "
|
||||
"To enable this feature, please enter your Termius"|"要启用这个特性, 请进入你的Termius"
|
||||
"To enable access to the shared data, please enter your Termius"|"要打开这个分享数据的访问, 请进入你的Termius"
|
||||
"You can also do it later in settings."|"你爱做不做,现在不弄以后弄也行"
|
||||
|
||||
{LOCAL:"Local",REMOTE:"Remote",DYNAMIC:"Dynamic"}|{LOCAL:"本地",REMOTE:"远程",DYNAMIC:"动态"}
|
||||
["Hostname", "Username"]|["主机名", "用户名"]
|
||||
["Name","Date"]|["名称","日期"]
|
||||
|
||||
"Enable Shared Groups"|"启用分享组"
|
||||
"Enable Access to Shared Groups"|"启用分享组访问"
|
||||
"Log out"|"退出登录"
|
||||
|
||||
|
||||
title:"Warning",text:"After logout user data will be removed from the device"|title:"警告",text:"注销后,用户数据将从设备中删除!"
|
||||
title:"Enter required fields"|title: "输入需要的字段"
|
||||
title:"How we check passwords"|title: "我们如何验证密码"
|
||||
title:"No Identities or Keys"|title:"没有身份鉴权或密钥"
|
||||
title:"Copy to target directory"|title:"复制到目标目录"
|
||||
title:"Nothing to import"|title:"没什么可导入的"
|
||||
title:"Select Color Themes"|title:"选择主题颜色"
|
||||
title:"Hostchain Sharing"|title: "主机链共享"
|
||||
title:"Select Charset"|title:"选择字符集"
|
||||
title:"Port Forwarding"|title:"端口转发"
|
||||
title:"No Known Hosts"|title:"未知主机"
|
||||
title:"Select Snippets"|title:"选择代码片段"
|
||||
title:"Default Theme"|title:"默认主题"
|
||||
title:"Data Sharing"|title: "数据共享"
|
||||
title:"Privacy Policy"|title:"隐私政策"
|
||||
title:"Open in Terminal"|title:"在新的终端打开"
|
||||
title:"Edit Permissions"|title:"修改权限"
|
||||
title:"Color Themes"|title:"主题颜色"
|
||||
title:"Select Keys"|title:"选择密钥"
|
||||
title:"Remove tag"|title:"删除标签"
|
||||
title:"Arrange by: "|title:"排序: "
|
||||
title:"IP Version"|title:"IP 版本"
|
||||
title:"Known Hosts"|title:"已知主机"
|
||||
title:"Identities"|title:"身份凭据"
|
||||
title:"Documentation"|title:"文档"
|
||||
title:"Add Host"|title:"添加主机"
|
||||
title:"Uservoice"|title:"用户语音"
|
||||
title:"Edit Tag"|title:"编辑标签"
|
||||
title:"New Folder"|title:"新建文件夹"
|
||||
title:"Password"|title:"密码"
|
||||
title:"Address"|title:"地址"
|
||||
title:"Snippets"|title: "代码片段"
|
||||
title:"Protocol"|title:"协议"
|
||||
title:"Date"|title:"日期"
|
||||
title:"Keys"|title:"密钥"
|
||||
title:"Time"|title:"时间"
|
||||
title:"Snippet"|title:"代码片段"
|
||||
title:"Status"|title:"状态"
|
||||
title:"Billing"|title:"付款"
|
||||
title:"Groups"|title:"分组"
|
||||
title:"Select All"|title:"全选"
|
||||
title:"Port"|title:"端口"
|
||||
title:"SFTP"|title:"SFTP"
|
||||
title:"Rename"|title:"重命名"
|
||||
title:"Delete"|title:"删除"
|
||||
title:"Refresh"|title:"刷新"
|
||||
title:"Close"|title:"关闭"
|
||||
|
||||
listName:"Known Hosts"|listName:"已知主机"
|
||||
listName:"Identities"|listName:"身份凭据"
|
||||
listTitle:"Charsets"|listTitle:"字符集"
|
||||
listTitle:"Keys"|listTitle:"密钥"
|
||||
listName:"Groups"|listName:"分组"
|
||||
listName:"Hosts"|listName:"主机"
|
||||
|
||||
|
||||
subtitle:"Select Groups"|subtitle:"选择分组"
|
||||
|
||||
formTitle:"Add key"|formTitle:"添加密钥"
|
||||
formTitle:"Add host"|formTitle:"添加主机"
|
||||
|
||||
endAdornment:"save"|endAdornment:"保存"
|
||||
|
||||
importButtonLocation:"Preferences"|importButtonLocation:"首选项"
|
||||
|
||||
placeholder:"Search identities"|placeholder:"搜索鉴权凭证"
|
||||
placeholder:"Add a Tag..."|placeholder:"新建标签"
|
||||
placeholder:"Tab Title"|placeholder:"标签标题"
|
||||
placeholder:"Select..."|placeholder:"选择..."
|
||||
placeholder:"Disabled"|placeholder:"禁用"
|
||||
placeholder:"Filter"|placeholder:"过滤器"
|
||||
placeholder:"Search"|placeholder:"搜索"
|
||||
placeholder:"Find"|placeholder:"查找"
|
||||
onClick:t},"Cancel")|onClick:t},"取消")
|
||||
ButtonTitle:"Save"|ButtonTitle:"保存"
|
||||
ButtonTitle:"Remove"|ButtonTitle:"删除"
|
||||
ButtonTitle:"Logout"|ButtonTitle:"注销"
|
||||
|
||||
case"Known Hosts"|case"已知主机"
|
||||
case"Experiments"|case"实验性"
|
||||
case"Shortcuts"|case"快捷键"
|
||||
case"Keychain"|case"密钥链"
|
||||
case"Terminal"|case"终端"
|
||||
case"Account"|case"账户"
|
||||
case"Features"|case"新特性"
|
||||
|
||||
label:"Bind address, 127.0.0.1 by default"|label:"绑定地址, 默认 127.0.0.1"
|
||||
label:"Bring All to Front"|label:"Bring All to Front"
|
||||
label:"Toggle Full Screen"|label:"切换全屏"
|
||||
label:"Check for Update"|label:"检查更新"
|
||||
label:"Date Modified"|label:"修改日期"
|
||||
label:"Startup Snippet"|label:"启动代码片段"
|
||||
label:"Learn More"|label:"了解更多"
|
||||
label:"Theme Options"|label:"主题选项"
|
||||
label:"Minimize"|label:"最小化"
|
||||
label:"Preferences"|label:"首选项"
|
||||
label:"New Window"|label:"新窗口"
|
||||
label:"Number of rows"|label:"行数"
|
||||
label:"Host from"|label:"来源主机"
|
||||
label:"Port From"|label:"来源端口"
|
||||
label:"Identities"|label:"身份凭据"
|
||||
label:"Host to"|label:"目的主机"
|
||||
label:"Port to"|label:"目的端口"
|
||||
label:"Root group"|label:"根分组"
|
||||
label:"Charset"|label:"字符集"
|
||||
label:"Interval"|label:"间隔"
|
||||
label:"Hosts"|label:"主机"
|
||||
label:"Find"|label:"查找"
|
||||
label:"File"|label:"文件"
|
||||
label:"Edit"|label:"编辑"
|
||||
label:"View"|label:"查看"
|
||||
label:"Window"|label:"窗口"
|
||||
label:"Help"|label:"帮助"
|
||||
label:"Size"|label:"大小"
|
||||
label:"Kind"|label:"类型"
|
||||
label:"About"|label:"关于"
|
||||
label:"Label"|label:"标签"
|
||||
label:"Tags"|label:"标签"
|
||||
label:"Keys"|label:"密钥"
|
||||
label:"Passphrase"|label:"密码"
|
||||
label:"Password"|label:"密码"
|
||||
label:"Proxy"|label:"代理"
|
||||
label:"Port"|label:"端口"
|
||||
label:"Username"|label:"用户名"
|
||||
label:"User"|label:"用户"
|
||||
label:"Address"|label:"地址"
|
||||
label:"Group"|label:"分组"
|
||||
label:"Groups"|label:"分组"
|
||||
label:"Name"|label:"名称"
|
||||
|
||||
{role:"selectall"}|{label:"全选",role:"selectall"}
|
||||
{role:"delete"}|{label:"删除",role:"delete"}
|
||||
{role:"paste"}|{label:"粘贴",role:"paste"}
|
||||
{role:"copy"}|{label:"复制",role:"copy"}
|
||||
{role:"undo"}|{label:"撤销",role:"undo"}
|
||||
{role:"redo"}|{label:"重做",role:"redo"}
|
||||
{role:"cut"}|{label:"剪切",role:"cut"}
|
||||
{role:"minimize"}|{label:"最小化",role:"minimize"}
|
||||
|
||||
|
||||
"We’ve credited your account with a free 14 day trial of Termius Premium. Get Termius on iOS or Android, and keep everything synced automatically."|"我们已为您的帐户提供Termius 高级版的14天免费试用。 在iOS或Android上获取Termius,并自动保持所有同步。"
|
||||
`\n An item named "${A}" already exists in this location. \n Do you want to replace it with the one you are moving?\n `|`\n 此目录已存在名为 "${A}" 的项目. \n 您确定要用您移动的覆盖它吗?\n `
|
||||
"The parameters below will be applied to all hosts and subgroups in this group, unless you explicitly rewrite them."|"除非您明确重写它们,否则以下参数将应用于该组中的所有主机和子组。"
|
||||
"Upload and download files using the integrated SFTP client. Easily accessible from the terminal on all devices."|"使用集成的SFTP客户端上传和下载文件。 可从所有设备上的终端轻松访问。"
|
||||
"How often (in milliseconds) to send SSH-level keepalive packets to the server. Set to 0 to disable."|"设置SSH的心跳包频率(以毫秒为单位)。设置为0以禁用。"
|
||||
"Please re-enter your Termius password to re-sync your data from our servers:"|"请重新输入您的Termius密码以重新同步来自我们服务器的数据:"
|
||||
"We’ve credited your account with a free 14 day trial of Termius Premium."|"我们已为您的帐户提供Termius 高级版的14天免费试用。"
|
||||
"This password has previously appeared in a data breach and should never be used!"|"该密码以前曾出现在数据泄露中,切勿使用!"
|
||||
"Unlock Termius Premium features such as SFTP, Snippets, Agent Forwarding,"|"解锁Termius 高级版功能,例如SFTP,代码片段,代理转发,"
|
||||
"and sync the data across all your devices using E2EE sync."|" 并且在您所有设备之间同步数据,使用 E2EE 同步"
|
||||
"Limit number of terminal rows. Set to 0 to maximum limit size."|"限制终端行数。 设置为0表示最大限制大小。"
|
||||
"Affects this device only, saved credentials will not be synced"|"仅影响此设备,保存的凭据将不会同步"
|
||||
"Create an account to unlock all Premium features for 14 days."|"创建一个账户解锁所有高级版特性14天。"
|
||||
"Connecting to a host requires adding one to Termius first."|"连接到主机需要先要将其添加到向Termius。"
|
||||
"Find a host or ssh user@hostname..."|"查找一个已知主机 或 ssh user@hostname 直接登录一个主机..."
|
||||
"Enable notification bell (backend flag won't change)"|"启用通知铃声(后端标志不会更改)"
|
||||
"Manage Subscription":"Learn more about Premium"|"管理订阅":"了解更多关于高级版"
|
||||
"Manage Billing Information":"Manage Subscription"|"管理帐单信息":"管理订阅"
|
||||
"Connect to a new host via SSH, MOSH or Telnet."|"通过SSH,MOSH或Telnet连接到新主机。"
|
||||
has been downloaded and will be automatically installed on exit`|退出时将会自动安装`
|
||||
"Once you've added hosts, you'll find them here"|"添加主机后,您将在这里找到它们"
|
||||
"Your reset link has been sent to your email"|"您的重置链接已发送至您的电子邮件"
|
||||
"New Terminals will use the selected theme, "|"新打开的终端将会使用选中主题,"
|
||||
"Select text to copy & Right click to paste"|"选中文本复制 & 右击鼠标粘贴"
|
||||
"email address. Enter your password to log in."|"电子邮件地址。 输入密码登录。"
|
||||
"There’s already an account associated with this"|"已经有与此相关的帐户的"
|
||||
"Account with specified email is not registered"|"指定电子邮件的帐户未注册"
|
||||
"Select what type of data you want to import:"|"选择您要导入的数据类型:"
|
||||
"Hide Hidden Files":"Show Hidden Files"|"隐藏隐藏文件":"显示隐藏文件"
|
||||
"Are you sure you want to remove this known host?"|"您确定要删除此主机吗?"
|
||||
"This password hasn't appeared in a data breach"|"此密码未出现数据泄露事件"
|
||||
"Connection failed with connection log:"|"连接失败,并显示连接日志:"
|
||||
"The update will be downloaded automatically."|"将会自动下载更新。"
|
||||
"Snippets are predefined port knocking or"|"代码片段是预定义 端口敲击 或者"
|
||||
"shell scripts. Add a snippet to conveniently"|"Shell 脚本。添加一段代码片段方便"
|
||||
"Are you sure you want to remove snippet?"|"您确定要删除代码片段吗?"
|
||||
"run any command at any time."|"在任意时候运行任意代码"
|
||||
"Import from AWS and Digital Ocean"|"从 AWS 或者 Digital Ocean导入"
|
||||
"Data has not been synchronized yet"|"数据未同步"
|
||||
" existing Terminals are not affected."|"已经打开的终端不受影响。"
|
||||
"Delete local data and start over"|"删除本地数据并重新开始"
|
||||
"Allow local SSH/SFTP connections"|"允许本地 SSH/SFTP 连接"
|
||||
"Use new terminal rendering engine"|"使用新的终端渲染引擎"
|
||||
"Password reset failed with status "|"密码重置失败,状态为 "
|
||||
"Need to import something else?"|"需要导入其他内容吗?"
|
||||
"Delete local data and re-sync"|"删除本地数据并重新同步"
|
||||
"Edit identity":"Add identity"|"编辑身份凭据":"添加身份凭据"
|
||||
"Are you sure you want to delete tag?"|"您确定要删除标签吗?"
|
||||
" Premium on all your devices."|" 高级版在您所有设备上."
|
||||
"Start a free 14 day trial and use "|"开始免费使用 14 天 "
|
||||
"Please fill out your Phone Number"|"请输入您的手机号码"
|
||||
"A new update is ready to install"|"一个更新已经准备就绪"
|
||||
"Try Premium - 14 day free trial"|"免费试用高级版 14 天"
|
||||
"Select from your saved Hosts"|"从您已经保存的主机中选择"
|
||||
"Something went wrong, try again."|"发生错误,请稍后再试"
|
||||
"Manage your usernames and"|"管理您的用户名和访问密钥"
|
||||
"Redirect communication requests"|"重定向通讯请求"
|
||||
"with port forwarding rules."|"通过端口转发规则."
|
||||
"Edit snippet":"Add snippet"|"编辑代码片段":"添加代码片段"
|
||||
"To create a port forwarding rule"|"在创建端口转发规则之前"
|
||||
"Sync keys and identities"|"同步密钥和身份凭据"
|
||||
" at the end of trial period."|",在试用期结束后"
|
||||
"Enable new virtualized list"|"启用新的虚拟列表"
|
||||
"Enable new connection flow"|"启用新的连接流程"
|
||||
"Continue without account"|"不登录账户继续使用"
|
||||
"Hide Logs":"Show Logs"|"隐藏日志":"显示日志"
|
||||
"Enable new crypto system"|"启用新的加密系统"
|
||||
"SFTP is a Premium Feature"|"SFTP是高级版特性"
|
||||
"Continue":"Create account"|"继续":"创建账户"
|
||||
"Edit Rule":"Add Rule"|"编辑规则":"新建规则"
|
||||
"Already have an account?"|"已经有账户了?"
|
||||
"Edit key":"Add key"|"编辑密钥":"添加密钥"
|
||||
"Backspace as Ctrl+H"|"Backspace 当作 Ctrl+H"
|
||||
"From Parent group":"Default"|"继承父组":"默认"
|
||||
"Edit group":"Add group"|"编辑分组":"添加分组"
|
||||
"Edit host":"Add host"|"编辑主机":"添加主机"
|
||||
"access keys by adding them"|"通过添加他们"
|
||||
"ADD ENVIRONMENT VARIABLE"|"添加环境变量"
|
||||
" from specified file."|"在您提供的文件中。"
|
||||
"nothing to import"|"没有可导入的数据"
|
||||
"Unfortunately we found "|"实在抱歉!我们发现"
|
||||
"Where are you coming from?"|"从那里导入?"
|
||||
"AWS and Digital Ocean"|"AWS 和 Digital Ocean"
|
||||
"Sync Keys & Passwords"|"同步 密钥 和 密码"
|
||||
`Do you want to delete|`您确定想要删除
|
||||
"Start by adding a host"|"从添加主机开始"
|
||||
"SSH Agent Forwarding"|"SSH 代理转发"
|
||||
"Import from AWS, DO*"|"从AWS导入, DO*"
|
||||
"Name is already used"|"名称已经被使用"
|
||||
"Error during transfer"|"传输过程发生错误"
|
||||
" What do you want to do?"|" 你想做什么?"
|
||||
"Two-Factor Authentication"|"两因素身份验证"
|
||||
"Phone number"|"手机号码"
|
||||
"Port-knocking*"|"Port-knocking*"
|
||||
"Enable session reuse"|"启用会话重用"
|
||||
"No automatic charge"|"不会自动收费"
|
||||
"Password reset failed"|"密码重置失败"
|
||||
"Verified":"Not verified"|"已验证":"未验证"
|
||||
"New Update Available"|"新版本可用"
|
||||
"Protocol selected: "|"选择协议: "
|
||||
"Local Terminal Path"|"本地终端路径"
|
||||
"Keepalive Interval"|"保持连接间隔"
|
||||
"Import from PuTTY"|"从 PuTTY 导入"
|
||||
"Import from KiTTY"|"从 KiTTY 导入"
|
||||
"Import from CSV"|"从 CSV 导入"
|
||||
"SSH config file"|"SSH 配置文件"
|
||||
"Remove known host"|"删除已知主机"
|
||||
"New Update available."|"新版本可用。"
|
||||
"Theme inherited from "|"主题继承自 "
|
||||
"Experiment Toggles"|"实验性开关"
|
||||
"Import Ssh Config"|"导入 SSH 配置文件"
|
||||
"How do we know?"|"我们如何知道?"
|
||||
"Password strength:"|"密码强度:"
|
||||
"Log In":"Sign Up"|"登录":"注册"
|
||||
"Feature Toggles"|"新特性开关"
|
||||
"Connect to Host"|"连接到主机"
|
||||
"[SSH2] Port"|"[SSH2] 端口"
|
||||
"Autocomplete*"|"Autocomplete*"
|
||||
"Add new host"|"添加新主机"
|
||||
"Global settings"|"全局设置"
|
||||
"SOCKS Proxy"|"SOCKS 代理"
|
||||
"Port Forwarding"|"端口转发"
|
||||
"SFTP Client"|"SFTP 客户端"
|
||||
"to the Keychain"|"到密钥链"
|
||||
"Terminal settings"|"终端设置"
|
||||
"Scrollback"|"Scrollback(回滚)"
|
||||
children:"New"|children:"新建"
|
||||
"Local Terminal"|"本地终端"
|
||||
"Let us know!"|"让我们知道!"
|
||||
"Do it later"|"这事儿我以后再弄"
|
||||
"these items"|"这些项目"
|
||||
"this folder"|"这个文件夹"
|
||||
"GO PREMIUM"|"购买高级版"
|
||||
"this file"|"这个文件"
|
||||
"these folders"|"这些目录"
|
||||
"these files"|"这些文件"
|
||||
"Adding a host"|"添加一个主机"
|
||||
"Foldername *"|"目录名 *"
|
||||
"New filename *"|"新文件名 *"
|
||||
"Required"|"需要的"
|
||||
"Let’s go!"|"让我们开始吧!"
|
||||
"Reset password"|"重置密码"
|
||||
"Remove snippet"|"删除代码片段"
|
||||
"Local Terminal"|"本地终端"
|
||||
" Preferences"|" 首选项"
|
||||
"Terminal theme"|"终端主题"
|
||||
"Terminal Font"|"终端字体"
|
||||
"Apply to All"|"应用到所有"
|
||||
"New Identity"|"添加身份凭据"
|
||||
"Synchronization"|"数据同步"
|
||||
"Sync keys"|"同步密钥"
|
||||
"Connection to "|"连接到 "
|
||||
"Exit":"Quit"|"退出":"退出"
|
||||
"Enable IPv6"|"启用 IPv6"
|
||||
"New Host"|"添加主机"
|
||||
"New Group"|"添加分组"
|
||||
`Connecting to |`连接到
|
||||
"Add to host"|"添加到主机"
|
||||
"Preferences"|"首选项"
|
||||
"New email"|"新邮箱"
|
||||
"Change Email"|"修改邮箱"
|
||||
"Change email"|"修改邮箱"
|
||||
"Old Password"|"旧密码"
|
||||
"Change Password"|"修改密码"
|
||||
"Change password"|"修改密码"
|
||||
"Log Out"|"退出登录"
|
||||
"Reload Data"|"重新加载数据"
|
||||
"Enable 2FA"|"启用 2FA"
|
||||
"Error!!!"|"错误!!!"
|
||||
"Public key"|"公钥"
|
||||
"Private key"|"私钥"
|
||||
"New Key"|"添加密钥"
|
||||
"Skip All"|"全部跳过"
|
||||
"start by"|"请先"
|
||||
"Select Host"|"选择主机"
|
||||
"Select Hosts"|"选择主机"
|
||||
label:"Tags"|label:"标签"
|
||||
"Let us know!"|"让我们知道!"
|
||||
"Learn more in "|"了解更多 "
|
||||
"Start Over"|"重新开始"
|
||||
"Dynamic Rule"|"动态规则"
|
||||
"Local Rule"|"本地规则"
|
||||
"Remote Rule"|"远程规则"
|
||||
"New Password"|"新密码"
|
||||
"Dark mode"|"深色模式"
|
||||
"Host Chaining"|"主机链"
|
||||
"Parent group"|"父分组"
|
||||
"Edit Chain"|"编辑链"
|
||||
"Text size"|"文本大小"
|
||||
"Bell sound"|"铃声"
|
||||
"Sync now"|"立即同步"
|
||||
"History"|"历史记录"
|
||||
"Duplicate"|"重复"
|
||||
"Snippets"|"代码片段"
|
||||
"Username"|"用户名"
|
||||
`Arrange by:|`排序:
|
||||
"Account"|"账户"
|
||||
"Hostname"|"主机名"
|
||||
:"Tags"),|:"标签"),
|
||||
"Login")|"登录")
|
||||
"Log In"|"登录"
|
||||
"Edit"|"编辑"
|
||||
"Remove"|"删除"
|
||||
"Close"|"关闭"
|
||||
"Connect"|"连接"
|
||||
"Actions"|"操作"
|
||||
"Continue"|"继续"
|
||||
"Import"|"导入"
|
||||
"Delete"|"删除"
|
||||
"Replace"|"替换"
|
||||
"Reset"|"重置"
|
||||
"Skip"|"跳过"
|
||||
"Merge"|"合并"
|
||||
"Cancel"|"取消"
|
||||
"Retry"|"重试"
|
||||
"Size "|"大小 "
|
||||
"Stop"|"停止"
|
||||
@@ -1,3 +1,8 @@
|
||||
#!/bin/sh
|
||||
echo "输入管理员密码:"
|
||||
cd "$(dirname "$BASH_SOURCE")" && sudo ruby main.rb
|
||||
cd "${0%/*}" || exit 1
|
||||
read -p "⚙️ 请输入密码(明文)然后回车: " -r passwd
|
||||
printf "\r\033[1A%s" "" 1>&2
|
||||
printf "\r\033[K%s" "" 1>&2
|
||||
find . -name "*.*" 2>/dev/null | xargs otool -l 2>/dev/null | grep -E "(minos|sdk)" 2>/dev/null
|
||||
echo "${passwd}" | sudo -S echo "⚙️ 当前是 $(sudo -S whoami) 用户"
|
||||
sudo -S ruby main.rb
|
||||
15
小白请看.md
Normal file
15
小白请看.md
Normal file
@@ -0,0 +1,15 @@
|
||||
使用方法
|
||||
1. 点击star
|
||||

|
||||
2. 下载整个仓库
|
||||
<br>
|
||||
小白不知道点哪里下载整个仓库?[点我下载](https://github.com/QiuChenlyOpenSource/InjectLib/archive/refs/heads/main.zip)
|
||||
3. 下载后一般会自动解压,如没有自动解压请手动解压
|
||||

|
||||
4. 确保Surge软件已安装至/Application 文件夹内 然后关闭 Surge 程序
|
||||
5. 双击 原神_启动.command 执行文件,然后输入电脑的登录密码授予脚本权限
|
||||

|
||||
6. 输入 “y” 执行注入操作
|
||||

|
||||
7. 等待注入完成后打开 Surge 即可
|
||||

|
||||
Reference in New Issue
Block a user