This commit is contained in:
JackLee_CN 2022-10-24 23:32:10 +08:00
parent 1f3888628f
commit 150bde3ea2

View File

@ -37,12 +37,12 @@ Install()
mkdir -p /opt/onmp
# 获取onmp脚本
curl -kfsSL https://raw.githubusercontent.com/monlor/ONMP/master/onmp.sh > /opt/onmp/onmp.sh
curl -kfsSL http://git.axibug.com/JackLee/ONMP/raw/branch/master/onmp.sh > /opt/onmp/onmp.sh
# curl -kfsSL http://192.168.4.237:4000/onmp.sh > /opt/onmp/onmp.sh
chmod +x /opt/onmp/onmp.sh
# 获取php探针文件
curl -kfsSL https://raw.githubusercontent.com/WuSiYu/PHP-Probe/master/tz.php > /opt/onmp/tz.php
curl -kfsSL http://git.axibug.com/JackLee/ONMP/raw/branch/master/tz.php > /opt/onmp/tz.php
/opt/onmp/onmp.sh
}
@ -50,7 +50,7 @@ Install()
Updata()
{
rm -rf /opt/onmp/onmp.sh
curl -kfsSL https://raw.githubusercontent.com/monlor/ONMP/master/onmp.sh > /opt/onmp/onmp.sh
curl -kfsSL http://git.axibug.com/JackLee/ONMP/raw/branch/master/onmp.sh > /opt/onmp/onmp.sh
# curl -kfsSL http://192.168.4.237:4000/onmp.sh > /opt/onmp/onmp.sh
chmod +x /opt/onmp/onmp.sh
/opt/onmp/onmp.sh renewsh > /dev/null 2>&1