Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
更换为Jsdelivr源
Browse files Browse the repository at this point in the history
  • Loading branch information
RealLanta committed Apr 17, 2022
1 parent 7fc1ff6 commit a0aae37
Show file tree
Hide file tree
Showing 26 changed files with 5,089 additions and 25 deletions.
33 changes: 17 additions & 16 deletions mips_pw_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@ echo " | ___/\__ \ / ___// ___/\ \/ \/ /\__ \ | | | | \ __\/ _ \
echo " | | / __ \_\___ \ \___ \ \ / / __ \| |_| |__ | | ( <_> ) | \/ / Y \ | |_> >___ \ "
echo " |____| (____ /____ >____ > \/\_/ (____ /____/____/ |__| \____/|__| \____|__ /__| __/____ >"
echo " \/ \/ \/ \/ \/ |__| \/ "
echo "v0.6"
echo "Please wait... We are installing some plugins on your router"
opkg update
wget --no-check-certificate https://cdn.lanta.cyou/passwall/chinadns-ng_1.0-beta.25-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/ipt2socks_1.1.3-12_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/shadowsocksr-libev-ssr-local_2.5.6-34_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/shadowsocksr-libev-ssr-redir_2.5.6-34_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/simple-obfs_0.0.5-12_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/trojan-plus_10.0.3-8_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/dns2socks_2.1-10_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/microsocks_1.0.2-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/tcping_0.3-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/pdnsd-alt_1.2.9b-par-18_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/naiveproxy_97.0.4692.71-2-49_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/ssocksd_0.0.14-15_mipsel_24kc
wget --no-check-certificate https://cdn.lanta.cyou/passwall/ssocks_0.0.14-15_mipsel_24kc
wget --no-check-certificate https://cdn.lanta.cyou/passwall/kcptun-client_20210922-10_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/brook_20210701-22_mipsel_24kc
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/chinadns-ng_1.0-beta.25-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/ipt2socks_1.1.3-12_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/shadowsocksr-libev-ssr-local_2.5.6-34_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/shadowsocksr-libev-ssr-redir_2.5.6-34_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/simple-obfs_0.0.5-12_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/trojan-plus_10.0.3-8_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/dns2socks_2.1-10_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/microsocks_1.0.2-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/tcping_0.3-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/pdnsd-alt_1.2.9b-par-18_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/naiveproxy_97.0.4692.71-2-49_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/ssocksd_0.0.14-15_mipsel_24kc
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/ssocks_0.0.14-15_mipsel_24kc
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/kcptun-client_20210922-10_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/brook_20210701-22_mipsel_24kc
opkg install chinadns-ng_1.0-beta.25-20_mipsel_24kc.ipk
opkg install brook_20210701-22_mipsel_24kc
opkg install ssocksd_0.0.14-15_mipsel_24kc
Expand Down Expand Up @@ -54,7 +55,7 @@ rm -rf simple-obfs_0.0.5-12_mipsel_24kc.ipk
rm -rf trojan-plus_10.0.3-8_mipsel_24kc.ipk
clear
echo "Now,Let's install Passwall"
wget --no-check-certificate https://cdn.lanta.cyou/passwall/luci-app-passwall_git-22.033.25842-d057a7b_all.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/luci-app-passwall_git-22.033.25842-d057a7b_all.ipk
opkg install luci-app-passwall_git-22.033.25842-d057a7b_all.ipk
clear
echo " .__ __ "
Expand Down
9 changes: 5 additions & 4 deletions mips_pw_trojan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ echo " | ___/\__ \ / ___// ___/\ \/ \/ /\__ \ | | | | | | \_
echo " | | / __ \_\___ \ \___ \ \ / / __ \| |_| |__ | | | | \( <_> ) | |/ __ \| | \ "
echo " |____| (____ /____ >____ > \/\_/ (____ /____/____/ |____| |__| \____/\__| (____ /___| / "
echo " \/ \/ \/ \/ \______| \/ \/ "
echo "Please wait... We are installing v2ray on your router"
wget --no-check-certificate https://cdn.lanta.cyou/passwall/trojan-go_0.10.6-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/trojan_1.16.0-7_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/trojan-plus_10.0.3-8_mipsel_24kc.ipk
echo "v0.6"
echo "Please wait... We are installing Trojan on your router"
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/trojan-go_0.10.6-20_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/trojan_1.16.0-7_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/trojan-plus_10.0.3-8_mipsel_24kc.ipk
opkg install trojan-go_0.10.6-20_mipsel_24kc.ipk
opkg install trojan-plus_10.0.3-8_mipsel_24kc.ipk
opkg install trojan_1.16.0-7_mipsel_24kc.ipk
Expand Down
5 changes: 3 additions & 2 deletions mips_pw_v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ echo " | ___/\__ \ / ___// ___/\ \/ \/ /\__ \ | | | | \ \/ // ___
echo " | | / __ \_\___ \ \___ \ \ / / __ \| |_| |__ \ // \ | | \// __ \\___ |"
echo " |____| (____ /____ >____ > \/\_/ (____ /____/____/ \_/ \_______ \|__| (____ / ____|"
echo " \/ \/ \/ \/ \/ \/\/ "
echo "v0.6"
echo "Please wait... We are installing v2ray on your router"
wget --no-check-certificate https://cdn.lanta.cyou/passwall/v2ray-core_4.43.0-30_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/v2ray-plugin_5.0.2-56_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/v2ray-core_4.43.0-30_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/v2ray-plugin_5.0.2-56_mipsel_24kc.ipk
opkg install v2ray-core_4.43.0-30_mipsel_24kc.ipk
opkg install v2ray-plugin_5.0.2-56_mipsel_24kc.ipk
clear
Expand Down
7 changes: 4 additions & 3 deletions mips_pw_xray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ echo " | ___/\__ \ / ___// ___/\ \/ \/ /\__ \ | | | | \ \/ /\_ _
echo " | | / __ \_\___ \ \___ \ \ / / __ \| |_| |__ > < | | \// __ \\___ |"
echo " |____| (____ /____ >____ > \/\_/ (____ /____/____/ /__/\_ \ |__| (____ / ____|"
echo " \/ \/ \/ \/ \/ \/\/ "
echo "Please wait... We are installing v2ray on your router"
wget --no-check-certificate https://cdn.lanta.cyou/passwall/xray-core_1.5.3-37_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.lanta.cyou/passwall/xray-plugin_1.5.3-32_mipsel_24kc.ipk
echo "v0.6"
echo "Please wait... We are installing Xray on your router"
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/xray-core_1.5.3-37_mipsel_24kc.ipk
wget --no-check-certificate https://cdn.jsdelivr.net/gh/RealLanta/mips-pw-install/packages/xray-plugin_1.5.3-32_mipsel_24kc.ipk
opkg install xray-core_1.5.3-37_mipsel_24kc.ipk
opkg install xray-plugin_1.5.3-32_mipsel_24kc.ipk
clear
Expand Down
230 changes: 230 additions & 0 deletions packages/brook_20210701-22_mipsel_24kc.ipk
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@

<!DOCTYPE html>
<html lang="en-us">
<head>
<title> - OneManager</title>
<!--
OneManager: An index & manager of Onedrive auth by ysun.
HIT Gitlab: https://git.hit.edu.cn/ysun/OneManager-php
Github: https://github.com/qkqpttgf/OneManager-php
-->
<meta charset=utf-8>
<meta http-equiv=X-UA-Compatible content="IE=edge">
<meta name=viewport content="width=device-width,initial-scale=1">
<meta name="keywords" content=", passwall, OneManager">
<meta name="description" content="">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<style type="text/css">
body{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:1em;color:#000;background-color:#f7f7f9;}
a{color:#24292e;cursor:pointer;text-decoration:none}
ion-icon{font-size:15px;vertical-align:bottom}
.changelanguage{position:absolute;right:5px;}
.title{text-align:center;margin-top:1rem;letter-spacing:2px;margin-bottom:2rem}
.title a{color:#333;text-decoration:none}
.list-wrapper{width:80%;margin:0 auto 30px;position:relative;box-shadow:0 0 32px 0 rgb(128,128,128);border-radius:15px;}
.list-container{position:relative;/*overflow:hidden;*/border-radius:15px;background-color:rgba(245,245,245,0.5);}
.list-container,.list-header-container,.list-wrapper,a.back-link:hover,body{color:#24292e}
.list-header-container{position:relative}
.list-header-container a.back-link{color:#000;display:inline-block;position:absolute;font-size:16px;margin:20px 10px;padding:10px 10px;vertical-align:middle;text-decoration:none}
.table-header{margin:0;border:0 none;padding:30px 30px;text-align:left;font-weight:400;color:#000;word-break: break-all;word-wrap: break-word;}
.list-body-container{position:relative;left:0;box-sizing:border-box;/*overflow-x:hidden;overflow-y:auto;background:rgba(245,245,245,0.5)*/}
.more-disk{margin:0;border:0 none;padding:30px 30px;text-align:left;font-weight:400;color:#000;white-space:nowrap;overflow:auto;}
.more-disk a{margin:0 10px;padding:5px;transition-duration: 0.4s;border-radius: 12px; background-color: white; color: black; border: 2px solid rgba(85,85,85,0.7); }
.more-disk a:hover, .more-disk a[now]{ background-color: rgba(85,85,85,0.7); color: white; }
.list-table{width:100%;padding:0 20px 20px 20px;border-spacing:0}
.list-table tr{height:40px}
.list-table tr[data-to]:hover{background:rgba(85,85,85,0.7) !important;color:white;}
.list-table tr[data-to]:hover a{color:white}
.list-table tr:first-child{background:rgba(245,245,245,0)}
.list-table td,.list-table th{padding:0 10px;text-align:left}
.list-table .size,.list-table .updated_at{text-align:right}
.updated_at{width:25%}
.size{width:15%}
.mask{position:absolute;left:0px;top:0px;width:100%;background-color:#000;filter:alpha(opacity=50);opacity:0.5;z-index:2;}

.operatediv{position:absolute;border:1px #CCCCCC;background-color:#FFFFCC;z-index:2;}
.operatediv div{margin:16px}
.operatediv_close{position:absolute;right:3px;top:3px;}
.readme{padding:8px;}
.markdown-body, .customfile{padding:20px;text-align:left}
@media only screen and (orientation: portrait){

.title{margin-bottom:24px}
.list-wrapper{width:95%; margin-bottom:24px;}
.list-table {padding:8px}
.list-table td, .list-table th{white-space:nowrap;overflow:auto;max-width:80px}
.size, .updated_at{display:none}
}
</style>

</head>

<body>
<div style="padding:1px" id="top-div">

<a class="login" onclick="login();"><ion-icon name="log-in"></ion-icon>Login</a>


&nbsp;
<!--<select class="changelanguage" name="language" onchange="changelanguage(this.options[this.options.selectedIndex].value)">
<option value="">Language</option>

<option value="en-us" selected="selected">English</option>

<option value="zh-tw" >繁體中文</option>

<option value="zh-cn" >简体中文</option>

<option value="ja" >日本語</option>

<option value="ko-kr" >한국어</option>

<option value="fa" >فارسی</option>

<option value="ar-sa" >السعودية</option>

</select>-->
</div>

<h1 class="title" id="title">
<a href="/">OneManager</a>
</h1>
<!--

-->



<div class="list-wrapper" id="list-div">
<div class="list-container">
<div class="list-header-container">
<h3 class="table-header"><a href="/">Home</a> / <a href="/passwall/">passwall</a> / <a href="/passwall/brook_20210701-22_mipsel_24kc.ipk/">brook_20210701-22_mipsel_24kc.ipk</a></h3>
</div>
<div class="list-body-container">

<div style="padding:20px">
<center>
<form action="" method="post">
<input id="password1" name="password1" type="password" placeholder="Input Password">
<input type="submit" value="Submit">
</form>
</center>
</div>





</div>
</div>
</div>




<div id="mask" class="mask" style="display:none;"></div>


<div id="login_div" class="operatediv" style="display:none">
<div style="margin:50px">
<a onclick="operatediv_close('login')" class="operatediv_close">Close</a>
<center>
<form action="?login=admin" method="post" onsubmit="return sha1loginpass(this);">
<input id="login_input" name="password1" type="password" placeholder="Input Password">
<input name="timestamp" type="hidden" value="">
<input type="submit" value="Login">
</form>
</center>
</div>
</div>

<div style="color: rgba(247,247,249,0);">2022-04-17 11:29:23 Sunday 20.222.117.164 Runningtime:3.556s Mem:396.05 KB</div>
</body>







<script type="text/javascript">
function changelanguage(str)
{
if (str=='Language') str = '';
var expd = new Date();
expd.setTime(expd.getTime()+(2*60*60*1000));
var expires = "expires="+expd.toGMTString();
document.cookie='language='+str+'; path=/; '+expires;
location.href = location.href;
}

function login() {
document.getElementById('mask').style.display='';
//document.getElementById('mask').style.width=document.documentElement.scrollWidth+'px';
document.getElementById('mask').style.height=document.documentElement.scrollHeight<window.innerHeight?window.innerHeight:document.documentElement.scrollHeight+'px';
document.getElementById('login_div').style.display='';
document.getElementById('login_div').style.left=(document.body.clientWidth-document.getElementById('login_div').offsetWidth)/2 +'px';
document.getElementById('login_div').style.top=(window.innerHeight-document.getElementById('login_div').offsetHeight)/2+document.body.scrollTop +'px';
document.getElementById('login_input').focus();
}
function sha1loginpass(f) {
if (f.password1.value=="") return false;
try {
timestamp = new Date().getTime() + "";
timestamp = timestamp.substr(0, timestamp.length-3);
f.timestamp.value = timestamp;
f.password1.value = sha1(timestamp + "" + f.password1.value);
return true;
} catch {
alert("sha1.js not loaded.");
return false;
}
}






var nowtime= new Date();
var timezone = 0-nowtime.getTimezoneOffset()/60;
var expd = new Date();
expd.setTime(expd.getTime()+(2*60*60*1000));
var expires = "expires="+expd.toGMTString();
document.cookie="timezone="+timezone+"; path=/; "+expires;
if (timezone!=8) {
alert('Your timezone is '+timezone+', reload local timezone.');
location.href=location.href;
}

function CopyAllDownloadUrl(str) {
var tmptextarea=document.createElement('textarea');
document.body.appendChild(tmptextarea);
tmptextarea.setAttribute('style','position:absolute;left:-100px;width:0px;height:0px;');
document.querySelectorAll(str).forEach(function (e) {
tmptextarea.innerHTML+=e.href+"\r\n";
});
tmptextarea.select();
tmptextarea.setSelectionRange(0, tmptextarea.value.length);
document.execCommand("copy");
alert(tmptextarea.innerHTML+"Success");
}





function operatediv_close(operate) {
document.getElementById(operate+'_div').style.display='none';
document.getElementById('mask').style.display='none';
}


document.getElementById('password1').focus();

</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ionicons/ionicons.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/src/sha1.min.js"></script>

</html>
Loading

0 comments on commit a0aae37

Please sign in to comment.