├── FAS ├── apktool.jar ├── bin.zip ├── dnsmasq.conf ├── fas.apk ├── fas_web.zip ├── liblz4-1.8.1.2-alt1.x86_64.rpm ├── openvpn-2.4.6-1.el7.x86_64.rpm ├── openvpn.zip ├── res.zip ├── signer.zip ├── sysctl.conf └── webtatic-release.rpm ├── FAS2 ├── Centos-7.repo ├── bin.zip ├── dnsmasq.conf ├── fas.apk ├── fas_web.zip ├── fast.bin ├── liblz4-1.8.1.2-alt1.x86_64.rpm ├── openvpn-2.4.3-1.el7.x86_64.rpm ├── openvpn.zip ├── passwd.sh ├── res.zip ├── signer.zip ├── sysctl.conf └── webtatic-release.rpm ├── README.md ├── b ├── README.md ├── bootstrap.min.css ├── bz.html ├── hdl.html ├── hdlx.html ├── html5shiv.min.js ├── index.html ├── jsdmtq.html ├── jyys.html ├── jztyq.html ├── mn.html ├── ns.html ├── onlineHearaaaat.php ├── onlineHeart.php ├── qtj.html ├── respond.min.js ├── st.html ├── style.css ├── tl.html ├── xc.html ├── xccj.html └── zbsytjk.html ├── cxd ├── fas.bin ├── images ├── 1.png ├── 2.png ├── TIM截图20180902163543.png ├── ht.png ├── ky.png └── ky2.png ├── kuaiyun ├── DlAPP.apk ├── K666 ├── Kyun.apk ├── LICENSE ├── README.md ├── WEB_N17-6.0.zip ├── apktool.jar ├── easy-rsa.zip ├── gxsql.sql ├── openvpn-2.3.12-1.el7.x86_64.rpm ├── peizhi.zip ├── phpmyadmin.tar.gz └── signer.tar.gz ├── ky.sh ├── shell └── xbmll │ ├── EasyRSA-2.2.2.tar.gz │ ├── android.zip │ ├── apktool.jar │ ├── app_api.zip │ ├── auth_user │ ├── dnsml.zip │ ├── easy-rsa.zip │ ├── epel-release-7-5.noarch.rpm │ ├── epel-release-latest-7.noarch.rpm │ ├── ioncube_loaders-64.tar.gz │ ├── jiankong.zip │ ├── mproxy-xb │ ├── offsql │ ├── offyd │ ├── onsql │ ├── onyd │ ├── ov.sql │ ├── peizhi.zip │ ├── signer.tar.gz │ ├── squid.conf │ ├── xb-lnmp.tar.gz │ ├── xb-web5.zip │ ├── xb1.apk │ ├── xb2.apk │ ├── xbmll.sh │ └── xbws.apk ├── xbmll.sh ├── xyr.sh └── xyr ├── apktool.jar ├── app_api.zip ├── auth_user ├── autosign.zip ├── backupsql.sh ├── disconnect.sh ├── disconnected.sh ├── easy-rsa.tar.gz ├── errorpage.css ├── line.zip ├── mproxy ├── res.zip ├── squid.conf ├── tcpjiankong.zip ├── udpjiankong.zip ├── v5.apk ├── xyr-web.zip ├── xyr.config └── 免责声明.md /FAS/apktool.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/apktool.jar -------------------------------------------------------------------------------- /FAS/bin.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/bin.zip -------------------------------------------------------------------------------- /FAS/dnsmasq.conf: -------------------------------------------------------------------------------- 1 | port=5353 2 | 3 | #获取系统DNS 4 | resolv-file=/etc/resolv.conf 5 | strict-order 6 | #listen-address=127.0.0.1 7 | 8 | #优酷广告拦截 9 | address=/.atm.youku.com/127.0.0.1 10 | address=/fas.com/10.8.0.1 11 | #爱奇艺广告拦截 12 | address=/cupid.iqiyi.com/127.0.0.1 13 | 14 | server=/taobao.com/223.5.5.5 15 | server=/.apple.com/223.6.6.6 16 | server=/google.com/8.8.8.8 17 | 18 | server=114.114.114.114 19 | bogus-nxdomain=114.114.114.114 20 | 21 | #自定义HOST拦截规则 22 | addn-hosts=/etc/fas_host 23 | cache-size=1000 -------------------------------------------------------------------------------- /FAS/fas.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/fas.apk -------------------------------------------------------------------------------- /FAS/fas_web.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/fas_web.zip -------------------------------------------------------------------------------- /FAS/liblz4-1.8.1.2-alt1.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/liblz4-1.8.1.2-alt1.x86_64.rpm -------------------------------------------------------------------------------- /FAS/openvpn-2.4.6-1.el7.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/openvpn-2.4.6-1.el7.x86_64.rpm -------------------------------------------------------------------------------- /FAS/openvpn.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/openvpn.zip -------------------------------------------------------------------------------- /FAS/res.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/res.zip -------------------------------------------------------------------------------- /FAS/signer.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/signer.zip -------------------------------------------------------------------------------- /FAS/sysctl.conf: -------------------------------------------------------------------------------- 1 | # sysctl settings are defined through files in 2 | # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. 3 | # 4 | # Vendors settings live in /usr/lib/sysctl.d/. 5 | # To override a whole file, create a new file with the same in 6 | # /etc/sysctl.d/ and put new settings there. To override 7 | # only specific settings, add a file with a lexically later 8 | # name in /etc/sysctl.d/ and put new settings there. 9 | # 10 | # For more information, see sysctl.conf(5) and sysctl.d(5). 11 | 12 | net.ipv4.ip_forward = 1 13 | net.core.rmem_max=10485760 14 | net.core.wmem_max=10485760 15 | net.core.rmem_default=1048576 16 | net.core.wmem_default=1048576 -------------------------------------------------------------------------------- /FAS/webtatic-release.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS/webtatic-release.rpm -------------------------------------------------------------------------------- /FAS2/Centos-7.repo: -------------------------------------------------------------------------------- 1 | # CentOS-Base.repo 2 | # 3 | # The mirror system uses the connecting IP address of the client and the 4 | # update status of each mirror to pick mirrors that are updated to and 5 | # geographically close to the client. You should use this for CentOS updates 6 | # unless you are manually picking other mirrors. 7 | # 8 | # If the mirrorlist= does not work for you, as a fall back you can try the 9 | # remarked out baseurl= line instead. 10 | # 11 | # 12 | 13 | [base] 14 | name=CentOS-$releasever - Base - mirrors.aliyun.com 15 | failovermethod=priority 16 | baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/ 17 | http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/ 18 | http://mirrors.cloud.aliyuncs.com/centos/$releasever/os/$basearch/ 19 | gpgcheck=1 20 | gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 21 | 22 | #released updates 23 | [updates] 24 | name=CentOS-$releasever - Updates - mirrors.aliyun.com 25 | failovermethod=priority 26 | baseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/ 27 | http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/ 28 | http://mirrors.cloud.aliyuncs.com/centos/$releasever/updates/$basearch/ 29 | gpgcheck=1 30 | gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 31 | 32 | #additional packages that may be useful 33 | [extras] 34 | name=CentOS-$releasever - Extras - mirrors.aliyun.com 35 | failovermethod=priority 36 | baseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/ 37 | http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/ 38 | http://mirrors.cloud.aliyuncs.com/centos/$releasever/extras/$basearch/ 39 | gpgcheck=1 40 | gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 41 | 42 | #additional packages that extend functionality of existing packages 43 | [centosplus] 44 | name=CentOS-$releasever - Plus - mirrors.aliyun.com 45 | failovermethod=priority 46 | baseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/ 47 | http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/ 48 | http://mirrors.cloud.aliyuncs.com/centos/$releasever/centosplus/$basearch/ 49 | gpgcheck=1 50 | enabled=0 51 | gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 52 | 53 | #contrib - packages by Centos Users 54 | [contrib] 55 | name=CentOS-$releasever - Contrib - mirrors.aliyun.com 56 | failovermethod=priority 57 | baseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/ 58 | http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/ 59 | http://mirrors.cloud.aliyuncs.com/centos/$releasever/contrib/$basearch/ 60 | gpgcheck=1 61 | enabled=0 62 | gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 63 | -------------------------------------------------------------------------------- /FAS2/bin.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/bin.zip -------------------------------------------------------------------------------- /FAS2/dnsmasq.conf: -------------------------------------------------------------------------------- 1 | port=5353 2 | 3 | #获取系统DNS 4 | resolv-file=/etc/resolv.conf 5 | strict-order 6 | #listen-address=127.0.0.1 7 | 8 | #优酷广告拦截 9 | address=/.atm.youku.com/127.0.0.1 10 | address=/fas.com/10.8.0.1 11 | #爱奇艺广告拦截 12 | address=/cupid.iqiyi.com/127.0.0.1 13 | 14 | server=/taobao.com/223.5.5.5 15 | server=/.apple.com/223.6.6.6 16 | server=/google.com/8.8.8.8 17 | 18 | server=114.114.114.114 19 | bogus-nxdomain=114.114.114.114 20 | 21 | #自定义HOST拦截规则 22 | addn-hosts=/etc/fas_host 23 | cache-size=1000 -------------------------------------------------------------------------------- /FAS2/fas.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/fas.apk -------------------------------------------------------------------------------- /FAS2/fas_web.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/fas_web.zip -------------------------------------------------------------------------------- /FAS2/fast.bin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #系统负载请使用负载脚本 3 | PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin 4 | export PATH 5 | ####### 6 | rm -rf /bin/gcore 7 | rm -rf /bin/gdb 8 | rm -rf /bin/heyixiao 9 | replace_yum() 10 | { 11 | if [[ ${YUM_Choice} == "China" ]]; then 12 | echo "系统搭建方式等于China" >/dev/null 2>&1 13 | echo "正在更新YUM源,更新速度取决于服务器宽带......" 14 | sleep 5 15 | mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak 16 | wget -O /etc/yum.repos.d/CentOS-Base.repo ${Download_host}Centos-7.repo 17 | yum clean all 18 | yum makecache 19 | #防止搭建出错,更新系统 20 | yum -y update 21 | else 22 | echo "系统搭建方式不等于China" >/dev/null 2>&1 23 | fi 24 | if [[ ${YUM_Choice} == "Abroad" ]]; then 25 | echo "系统搭建方式等于Abroad" >/dev/null 2>&1 26 | echo "正在更新YUM源,更新速度取决于服务器宽带......" 27 | sleep 5 28 | mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak 29 | wget -O /etc/yum.repos.d/CentOS-Base.repo ${Download_host}Centos-7.repo 30 | yum clean all 31 | yum makecache 32 | #防止搭建出错,更新系统 33 | yum -y update 34 | else 35 | echo "系统搭建方式不等于Abroad" >/dev/null 2>&1 36 | fi 37 | } 38 | Install_Sysctl() 39 | { 40 | rm -rf /etc/sysctl.conf 41 | wget -q ${Download_host}sysctl.conf -P /etc 42 | if [ ! -f /etc/sysctl.conf ]; then 43 | echo "警告!IP转发配置文件下载失败!搭建完成后请联系管理员修复,回车继续!" 44 | read 45 | fi 46 | chmod -R 0777 /etc/sysctl.conf && sysctl -p /etc/sysctl.conf 47 | } 48 | 49 | Install_firewall() 50 | { 51 | systemctl stop firewalld.service 52 | systemctl disable firewalld.service 53 | systemctl stop iptables.service 54 | yum -y install iptables iptables-services 55 | systemctl start iptables.service 56 | #清空iptables防火墙配置 57 | iptables -F 58 | service iptables save 59 | systemctl restart iptables.service 60 | if [[ $? -eq 0 ]];then 61 | echo "IPtables安装成功!" 62 | else 63 | echo "警告!IPtables启动失败!请联系管理员修复!脚本停止!" 64 | exit 65 | fi 66 | iptables -A INPUT -s 127.0.0.1/32 -j ACCEPT 67 | iptables -A INPUT -d 127.0.0.1/32 -j ACCEPT 68 | iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT 69 | iptables -A INPUT -p tcp -m tcp --dport $zsykjApacheport -j ACCEPT 70 | iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT 71 | iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT 72 | iptables -A INPUT -p tcp -m tcp --dport 27972 -j ACCEPT #搬瓦工端口 73 | iptables -A INPUT -p tcp -m tcp --dport 440 -j ACCEPT 74 | iptables -A INPUT -p tcp -m tcp --dport 3389 -j ACCEPT 75 | iptables -A INPUT -p tcp -m tcp --dport 1194 -j ACCEPT 76 | iptables -A INPUT -p tcp -m tcp --dport 1195 -j ACCEPT 77 | iptables -A INPUT -p tcp -m tcp --dport 1196 -j ACCEPT 78 | iptables -A INPUT -p tcp -m tcp --dport 1197 -j ACCEPT 79 | iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT 80 | iptables -A INPUT -p tcp -m tcp --dport 138 -j ACCEPT 81 | iptables -A INPUT -p tcp -m tcp --dport 137 -j ACCEPT 82 | iptables -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT 83 | iptables -A INPUT -p udp -m udp --dport 137 -j ACCEPT 84 | iptables -A INPUT -p udp -m udp --dport 138 -j ACCEPT 85 | iptables -A INPUT -p udp -m udp --dport 53 -j ACCEPT 86 | iptables -A INPUT -p udp -m udp --dport 5353 -j ACCEPT 87 | iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT 88 | iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT 89 | iptables -t nat -A PREROUTING -p udp --dport 138 -j REDIRECT --to-ports 53 90 | iptables -t nat -A PREROUTING -p udp --dport 137 -j REDIRECT --to-ports 53 91 | iptables -t nat -A PREROUTING -p udp --dport 1194 -j REDIRECT --to-ports 53 92 | iptables -t nat -A PREROUTING -p udp --dport 1195 -j REDIRECT --to-ports 53 93 | iptables -t nat -A PREROUTING -p udp --dport 1196 -j REDIRECT --to-ports 53 94 | iptables -t nat -A PREROUTING -p udp --dport 1197 -j REDIRECT --to-ports 53 95 | iptables -t nat -A PREROUTING --dst 10.8.0.1 -p udp --dport 53 -j DNAT --to-destination 10.8.0.1:5353 96 | iptables -t nat -A PREROUTING --dst 10.9.0.1 -p udp --dport 53 -j DNAT --to-destination 10.9.0.1:5353 97 | iptables -t nat -A PREROUTING --dst 10.10.0.1 -p udp --dport 53 -j DNAT --to-destination 10.10.0.1:5353 98 | iptables -t nat -A PREROUTING --dst 10.11.0.1 -p udp --dport 53 -j DNAT --to-destination 10.11.0.1:5353 99 | iptables -t nat -A PREROUTING --dst 10.12.0.1 -p udp --dport 53 -j DNAT --to-destination 10.12.0.1:5353 100 | iptables -A INPUT -p udp -m udp --dport 5353 -j ACCEPT 101 | iptables -P INPUT DROP 102 | iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o $wangka -j MASQUERADE 103 | iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -o $wangka -j MASQUERADE 104 | iptables -t nat -A POSTROUTING -s 10.10.0.0/24 -o $wangka -j MASQUERADE 105 | iptables -t nat -A POSTROUTING -s 10.11.0.0/24 -o $wangka -j MASQUERADE 106 | iptables -t nat -A POSTROUTING -s 10.12.0.0/24 -o $wangka -j MASQUERADE 107 | service iptables save 108 | systemctl restart iptables.service 109 | if [[ $? -eq 0 ]];then 110 | echo "IPtables重启成功!" 111 | else 112 | echo "警告!IPtables重启失败!请联系管理员修复!脚本停止!" 113 | exit;0 114 | fi 115 | cat >> /etc/hosts </dev/null 2>&1 123 | Framework=$( virt-what ) 124 | if [[ ${Framework} == "ovz" ]]; then 125 | echo 126 | echo "您当前机器架构为 OpenVZ 虚拟平台,暂不支持此架构机器安装Dalo系统,请更换KVM或Hyper-V架构或物理机器后再次进行搭建操作!" 127 | sleep 5 128 | exit;0 129 | else 130 | echo "不等于ovz" >/dev/null 2>&1 131 | fi 132 | if [[ ${Framework} == "openvz" ]]; then 133 | echo 134 | echo "您当前机器架构为 OpenVZ 虚拟平台,暂不支持此架构机器安装Dalo系统,请更换KVM或Hyper-V架构或物理机器后再次进行搭建操作!" 135 | sleep 5 136 | exit;0 137 | else 138 | echo "不等于openvz" >/dev/null 2>&1 139 | fi 140 | if [[ ${Framework} == "kvm" ]]; then 141 | echo 142 | echo "您当前机器架构为 KVM 虚拟平台,符合系统安装环境!" 143 | sleep 5 144 | Home_page 145 | else 146 | echo "kvm" >/dev/null 2>&1 147 | fi 148 | if [[ ${Framework} == "hyperv" ]]; then 149 | echo 150 | echo "您当前机器架构为 Hyper-V 虚拟平台,符合系统安装环境!" 151 | sleep 5 152 | Home_page 153 | else 154 | echo "不等于hyperv" >/dev/null 2>&1 155 | fi 156 | if [[ ${Framework} == "" ]]; then 157 | echo 158 | echo "您当前机器架构为 物理机器/实体机器,符合系统安装环境!" 159 | sleep 5 160 | Home_page 161 | else 162 | echo "不等于物理机" >/dev/null 2>&1 163 | fi 164 | } 165 | Install_System_environment() 166 | { 167 | yum -y install epel-release 168 | 169 | yum -y install telnet avahi openssl openssl-libs openssl-devel lzo lzo-devel pam pam-devel automake pkgconfig gawk tar zip unzip net-tools psmisc gcc pkcs11-helper libxml2 libxml2-devel bzip2 bzip2-devel libcurl libcurl-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel gmp gmp-devel libmcrypt libmcrypt-devel readline readline-devel libxslt libxslt-devel 170 | 171 | yum -y install mariadb mariadb-server httpd dnsmasq jre-1.7.0-openjdk crontabs 172 | 173 | rpm -Uvh ${Download_host}webtatic-release.rpm --force --nodeps >/dev/null 2>&1 174 | 175 | yum install php70w-fpm -y 176 | 177 | yum install php70w php70w-bcmath php70w-cli php70w-common php70w-dba php70w-devel php70w-embedded php70w-enchant php70w-gd php70w-imap php70w-ldap php70w-mbstring php70w-mcrypt php70w-mysqlnd php70w-odbc php70w-opcache php70w-pdo php70w-pdo_dblib php70w-pear.noarch php70w-pecl-apcu php70w-pecl-apcu-devel php70w-pecl-imagick php70w-pecl-imagick-devel php70w-pecl-mongodb php70w-pecl-redis php70w-pecl-xdebug php70w-pgsql php70w-xml php70w-xmlrpc php70w-intl php70w-mcrypt --nogpgcheck php-fedora-autoloader php-php-gettext php-tcpdf php-tcpdf-dejavu-sans-fonts php70w-tidy -y --skip-broken 178 | 179 | rpm -Uvh ${Download_host}liblz4-1.8.1.2-alt1.x86_64.rpm --force --nodeps >/dev/null 2>&1 180 | 181 | rpm -Uvh ${Download_host}openvpn-2.4.3-1.el7.x86_64.rpm --force --nodeps >/dev/null 2>&1 182 | } 183 | 184 | Install_MariaDB() 185 | { 186 | systemctl start mariadb.service 187 | if [[ $? -eq 0 ]];then 188 | echo "MariaDB安装成功!" 189 | else 190 | echo "警告!MariaDB初始化失败!请联系管理员修复!脚本停止!" 191 | exit;0 192 | fi 193 | 194 | mysqladmin -uroot password "$zsykjsqlpass" 195 | mysql -uroot -p$zsykjsqlpass -e "create database vpndata;" 196 | 197 | systemctl restart mariadb.service 198 | if [[ $? -eq 0 ]];then 199 | echo "MariaDB重启成功!" 200 | else 201 | echo "警告!MariaDB重启失败!请联系管理员修复!脚本停止!" 202 | exit;0 203 | fi 204 | } 205 | 206 | Install_Apache() 207 | { 208 | 209 | sed -i "s/#ServerName www.example.com:80/ServerName localhost:$zsykjApacheport/g" /etc/httpd/conf/httpd.conf 210 | sed -i "s/Listen 80/Listen $zsykjApacheport/g" /etc/httpd/conf/httpd.conf 211 | cat >> /etc/php.ini </dev/null 2>&1 253 | rm -rf openvpn.zip && chmod 0777 -R /etc/openvpn 254 | 255 | sed -i "s/newpass/"$zsykjsqlpass"/g" /etc/openvpn/auth_config.conf 256 | sed -i "s/服务器IP/"$IP"/g" /etc/openvpn/auth_config.conf 257 | } 258 | 259 | Install_Dnsmasq() 260 | { 261 | if [ ! -f /etc/dnsmasq.conf ]; then 262 | echo "警告!dnsmasq安装失败,搭建完成后请联系管理员修复,回车继续!" 263 | read 264 | fi 265 | rm -rf /etc/dnsmasq.conf 266 | wget -q ${Download_host}dnsmasq.conf -P /etc && chmod 0777 /etc/dnsmasq.conf 267 | if [ ! -f /etc/dnsmasq.conf ]; then 268 | echo "警告!Dnsmasq配置文件下载失败,搭建完成后请联系管理员修复,回车继续!" 269 | read 270 | fi 271 | systemctl start dnsmasq.service 272 | if [[ $? -eq 0 ]];then 273 | echo "Dnsmasq安装成功!" 274 | else 275 | echo "警告!Dnsmasq启动失败!搭建完成后请联系管理员修复,回车继续!" 276 | read 277 | fi 278 | } 279 | 280 | Install_Crond() 281 | { 282 | systemctl start crond.service 283 | if [[ $? -eq 0 ]];then 284 | echo "Crond安装成功!" 285 | else 286 | echo "警告!Crond启动失败!搭建完成后请联系管理员修复,回车继续!" 287 | read 288 | fi 289 | crontab -l > /tmp/crontab.$$ 290 | echo '*/60 * * * * /etc/openvpn/sqlbackup' >> /tmp/crontab.$$ 291 | crontab /tmp/crontab.$$ 292 | systemctl restart crond.service 293 | if [[ $? -eq 0 ]];then 294 | echo "Crond启动成功!" 295 | else 296 | echo "警告!Crond重启失败!搭建完成后请联系管理员修复,回车继续!" 297 | read 298 | fi 299 | } 300 | 301 | Install_WEB() 302 | { 303 | echo "正在安装FAS-WEB系统....." 304 | rm -rf /var/www/html 305 | cd /var/www 306 | wget -q ${Download_host}fas_web.zip 307 | unzip -o fas_web.zip >/dev/null 2>&1 308 | rm -rf fas_web.zip 309 | chmod 0777 -R /var/www/html 310 | sed -i "s/julifasadmin/"$zsykjadminuser"/g" /var/www/vpndata.sql 311 | sed -i "s/julifaspass/"$zsykjadminpass"/g" /var/www/vpndata.sql 312 | sed -i "s/服务器IP/"$IP"/g" /var/www/vpndata.sql 313 | mysql -uroot -p$zsykjsqlpass vpndata < /var/www/vpndata.sql 314 | rm -rf /var/www/vpndata.sql 315 | sed -i "s/newpass/"$zsykjsqlpass"/g" /var/www/html/config.php 316 | echo "$RANDOM$RANDOM">/var/www/auth_key.access 317 | } 318 | 319 | Install_Dependency_file() 320 | { 321 | echo "正在安装依赖文件......" 322 | mkdir /etc/rate.d/ && chmod -R 0777 /etc/rate.d/ 323 | cd /root 324 | wget -q ${Download_host}res.zip 325 | if [ ! -f /root/res.zip ]; then 326 | echo "警告!配置文件下载失败,脚本停止!" 327 | exit;0 328 | fi 329 | unzip -o res.zip >/dev/null 2>&1 330 | chmod -R 0777 /root && rm -rf /root/res.zip 331 | mv /root/res/fas.service /lib/systemd/system/fas.service 332 | chmod -R 0777 /lib/systemd/system/fas.service 333 | systemctl enable fas.service 334 | cd /bin 335 | wget -q ${Download_host}bin.zip 336 | if [ ! -f /bin/bin.zip ]; then 337 | echo "警告!依赖文件下载失败,脚本停止!" 338 | exit;0 339 | fi 340 | unzip -o bin.zip >/dev/null 2>&1 341 | rm -rf /bin/bin.zip 342 | chmod -R 0777 /bin 343 | echo '#FAS系统自定义屏蔽host文件 344 | '>>/etc/fas_host && chmod 0777 /etc/fas_host 345 | } 346 | 347 | Install_Startup_program() 348 | { 349 | cd /root 350 | echo "启动所有服务......" 351 | sleep 5 352 | systemctl restart iptables.service 353 | if [[ $? -eq 0 ]];then 354 | echo "Iptables启动成功!" 355 | else 356 | echo "警告!Iptables启动失败!请联系管理员修复!" 357 | fi 358 | systemctl restart mariadb.service 359 | if [[ $? -eq 0 ]];then 360 | echo "MariaDB启动成功!" 361 | else 362 | echo "警告!MariaDB启动失败!请联系管理员修复!" 363 | fi 364 | systemctl restart httpd.service 365 | if [[ $? -eq 0 ]];then 366 | echo "Apache启动成功!" 367 | else 368 | echo "警告!Apache启动失败!请联系管理员修复!!" 369 | fi 370 | systemctl restart php-fpm.service 371 | if [[ $? -eq 0 ]];then 372 | echo "PHP启动成功!" 373 | else 374 | echo "警告!PHP启动失败!请联系管理员修复!" 375 | fi 376 | systemctl restart dnsmasq.service 377 | if [[ $? -eq 0 ]];then 378 | echo "Dnsmasq启动成功!" 379 | else 380 | echo "警告!Dnsmasq启动失败!请联系管理员修复!" 381 | fi 382 | systemctl restart crond.service 383 | if [[ $? -eq 0 ]];then 384 | echo "Crond启动成功!" 385 | else 386 | echo "警告!Crond重启失败!请联系管理员修复!" 387 | fi 388 | systemctl restart openvpn@server1194 389 | if [[ $? -eq 0 ]];then 390 | echo "OpenVPN1194启动成功!" 391 | else 392 | echo "警告!OpenVPN1194重启失败!请联系管理员修复!" 393 | fi 394 | systemctl restart openvpn@server1195 395 | if [[ $? -eq 0 ]];then 396 | echo "OpenVPN1195启动成功!" 397 | else 398 | echo "警告!OpenVPN1195重启失败!请联系管理员修复!" 399 | fi 400 | systemctl restart openvpn@server1196 401 | if [[ $? -eq 0 ]];then 402 | echo "OpenVPN1196启动成功!" 403 | else 404 | echo "警告!OpenVPN1196重启失败!请联系管理员修复!" 405 | fi 406 | systemctl restart openvpn@server1197 407 | if [[ $? -eq 0 ]];then 408 | echo "OpenVPN1197启动成功!" 409 | else 410 | echo "警告!OpenVPN1197重启失败!请联系管理员修复!" 411 | fi 412 | systemctl restart openvpn@server-udp 413 | if [[ $? -eq 0 ]];then 414 | echo "OpenVPNUDP启动成功!" 415 | else 416 | echo "警告!OpenVPNUDP重启失败!请联系管理员修复!" 417 | fi 418 | 419 | #启动所有服务 420 | systemctl restart fas.service 421 | if [[ $? -eq 0 ]];then 422 | echo "FAS服务启动成功!" 423 | else 424 | echo "警告!FAS服务启动失败!脚本运行错误,请重装系统后重新搭建!" 425 | exit;0 426 | fi 427 | echo "正在执行最后的操作...." 428 | dhclient 429 | vpn restart >/dev/null 2>&1 430 | } 431 | 432 | Make_APP() 433 | { 434 | echo "正在制作APP....." 435 | rm -rf /APP 436 | mkdir /APP 437 | cd /APP 438 | wget -q ${Download_host}fas.apk&&wget -q ${Download_host}apktool.jar&&java -jar apktool.jar d fas.apk&&rm -rf fas.apk 439 | sed -i 's/demo.dingd.cn:80/'${appIP}:${zsykjApacheport}'/g' `grep demo.dingd.cn:80 -rl /APP/fas/smali/net/openvpn/openvpn/` 440 | sed -i 's/叮咚流量卫士/'${appname}'/g' "/APP/fas/res/values/strings.xml" 441 | sed -i 's/net.dingd.vpn/'${appbaoming}'/g' "/APP/fas/AndroidManifest.xml" 442 | java -jar apktool.jar b fas 443 | wget -q ${Download_host}signer.zip && unzip -o signer.zip >/dev/null 2>&1 444 | mv /APP/fas/dist/fas.apk /APP/fas.apk 445 | java -jar signapk.jar testkey.x509.pem testkey.pk8 /APP/fas.apk /APP/fas_sign.apk 446 | cp -rf /APP/fas_sign.apk /var/www/html/fasapp_by_hyx.apk 447 | rm -rf /APP 448 | if [ ! -f /var/www/html/fasapp_by_hyx.apk ]; then 449 | echo 450 | echo "APP制作失败!" 451 | fi 452 | } 453 | 454 | installation_is_complete() 455 | { 456 | unsql >/dev/null 2>&1 457 | password2=$(cat /var/www/auth_key.access); 458 | vpn restart 459 | clear 460 | echo "---------------------------------------------" 461 | echo "---------------------------------------------" 462 | echo "恭喜,您已经安装完毕。" 463 | echo "控制台: http://"$IP":"$zsykjApacheport"/admin/" 464 | echo "账号: "$zsykjadminuser" 密码: "$zsykjadminpass"" 465 | echo "控制台随机本地密钥: "$password2"" 466 | echo "内置数据库管理: http://"$IP":"$zsykjApacheport"/phpMyAdmin/" 467 | echo "---------------------------------------------" 468 | echo "数据库账户: root 密码: "$zsykjsqlpass" " 469 | echo "代理控制台: http://"$IP":"$zsykjApacheport"/daili" 470 | echo "---------------------------------------------" 471 | echo "常用指令: " 472 | echo "重启VPN vpn restart FAS后台开启:onfas " 473 | echo "启动VPN vpn start FAS后台关闭:unfas " 474 | echo "停止VPN vpn stop 数据库开启:onsql " 475 | echo "开任意端口 port 数据库关闭:unsql " 476 | echo "---------------------------------------------" 477 | echo "数据库60分钟自动备份,备份目录在/root/backup/" 478 | echo "数据库手动备份命令:backup " 479 | echo "APP下载地址: http://"$IP":"$zsykjApacheport"/fasapp_by_hyx.apk" 480 | echo "---------------------------------------------" 481 | echo "---------------------------------------------" 482 | exit;0 483 | } 484 | 485 | Installation_options() 486 | { 487 | clear 488 | echo 489 | echo -e "\033[1;42;37m尊敬的用户您好,搭建FAS系统之前请您先自定义以下信息,如不会填写请直接回车默认即可!\033[0m" 490 | echo 491 | sleep 1 492 | read -p "请设置后台账号(默认admin): " zsykjadminuser 493 | if [ -z "$zsykjadminuser" ];then 494 | zsykjadminuser=admin 495 | fi 496 | echo -e "已设置后台账号为:\033[32m "$zsykjadminuser"\033[0m" 497 | 498 | echo 499 | read -p "请设置后台密码(默认随机): " zsykjadminpass 500 | if [ -z "$zsykjadminpass" ];then 501 | zsykjadminpass=`date +%s%N | md5sum | head -c 20 ; echo`; 502 | fi 503 | echo -e "已设置后台密码为:\033[32m "$zsykjadminpass"\033[0m" 504 | 505 | echo 506 | read -p "请设置Apache端口(默认1024,禁用80): " zsykjApacheport 507 | if [ -z "$zsykjApacheport" ];then 508 | zsykjApacheport=1024 509 | fi 510 | echo -e "已设置Apache端口为:\033[32m http://"$IP":"$zsykjApacheport"\033[0m" 511 | 512 | echo 513 | read -p "请设置MySQL密码(默认随机): " zsykjsqlpass 514 | if [ -z "$zsykjsqlpass" ];then 515 | zsykjsqlpass=`date +%s%N | md5sum | head -c 20 ; echo`; 516 | fi 517 | echo -e "已设置MySQL密码为:\033[32m "$zsykjsqlpass"\033[0m" 518 | 519 | echo 520 | read -p "请设置APP名称(默认:官方云科技): " appname 521 | if [ -z "$appname" ];then 522 | appname=官方云科技 523 | fi 524 | echo -e "已设置APP名称密码为:\033[32m "$appname"\033[0m" 525 | 526 | echo 527 | read -p "请设置APP解析地址(可输入域名或IP,不带http://): " appIP 528 | if [ -z "$appIP" ];then 529 | appIP=`curl -s http://members.3322.org/dyndns/getip`; 530 | fi 531 | echo -e "已设置APP解析地址为:\033[32m "$appIP"\033[0m" 532 | 533 | echo 534 | read -p "请设置APP包名(默认:net.dingd.vpn): " appbaoming 535 | if [ -z "$appbaoming" ];then 536 | appbaoming=net.dingd.vpn 537 | fi 538 | echo -e "已设置APP包名为:\033[32m "$appbaoming"\033[0m" 539 | sleep 1 540 | echo 541 | echo "请稍等..." 542 | sleep 2 543 | echo 544 | echo -e "\033[1;5;31m所有信息已收集完成!即将为您安装FAS系统!\033[0m" 545 | sleep 3 546 | clear 547 | sleep 1 548 | echo -e "\033[1;32m安装开始...\033[0m" 549 | sleep 5 550 | } 551 | 552 | Main() 553 | { 554 | Anti-theft_detection 555 | Loading 556 | } 557 | 558 | Loading() 559 | { 560 | rm -rf $0 >/dev/null 2>&1 561 | clear 562 | echo 563 | echo "正在检查安装环境(预计三分钟内完成)...." 564 | system_detection 565 | 566 | #安装wget curl等等 修复vr服务器没selinux问题 567 | yum -y install curl wget docker openssl net-tools procps-ng >/dev/null 2>&1 568 | Machine_detection 569 | } 570 | 571 | Home_page() 572 | { 573 | clear 574 | echo 575 | echo -e "\033[1;35m本破解系统仅供学习使用,切勿用于商业用途\033[0m " 576 | echo -e "\033[1;36m安装后请于24小时内自行删除\033[0m " 577 | echo -e "\033[1;34m本站再次声明:本产品仅可用于国内网络环境的虚拟加密访问,用于数据保密。严禁用于任何违法违规用途。\033[0m " 578 | echo 579 | echo 580 | echo -e "\033[1;36m回车开始搭建FAS3.0系统!\033[0m " 581 | read 582 | sleep 1 583 | echo -e "\033[1;32m正在载入信息.....\033[0m " 584 | sleep 3 585 | Get_IP 586 | } 587 | 588 | Install_command() 589 | { 590 | #变量安装命令 591 | Installation_options 592 | Resource_download_address 593 | replace_yum 594 | Close_Selinux 595 | Install_firewall 596 | Install_Sysctl 597 | Install_System_environment 598 | Install_MariaDB 599 | Install_Apache 600 | Install_Dnsmasq 601 | Install_OpenVPN 602 | Install_Crond 603 | Install_Dependency_file 604 | Install_WEB 605 | Make_APP 606 | Install_Startup_program 607 | installation_is_complete 608 | } 609 | 610 | Resource_download_address() 611 | { 612 | clear; 613 | echo "*********************************************" 614 | echo "* 请选择FAS搭建模式 *" 615 | echo "*********************************************" 616 | echo 617 | echo "1、官方云数据中心" 618 | echo 619 | echo "2、阿里云数据中心" 620 | echo 621 | read -p "请输入: " k 622 | echo 623 | if [[ $k == 1 ]];then 624 | Download_host='http://fas.jk2a.top/FAS2/'; 625 | YUM_Choice='官方云'; 626 | fi 627 | if [[ $k == 2 ]];then 628 | Download_host=''; 629 | YUM_Choice='阿里云'; 630 | fi 631 | if [ -z "$Download_host" ];then 632 | echo 633 | echo -e "\033[31m输入错误!请重新运行脚本!\033[0m " 634 | exit;0 635 | fi 636 | 637 | sleep 3 638 | } 639 | 640 | Get_IP() 641 | { 642 | clear 643 | sleep 2 644 | echo 645 | echo "请选择IP源获取方式(自动获取失败的,请选择手动输入!)" 646 | echo 647 | echo "1、自动获取IP(默认获取方式,系统推荐!)" 648 | echo "2、手动输入IP(仅在自动获取IP失败或异常时使用!)" 649 | echo 650 | read -p "请输入: " a 651 | echo 652 | k=$a 653 | if [[ $k == 1 ]];then 654 | sleep 1 655 | echo "请稍等..." 656 | sleep 2 657 | IP=`curl -s http://members.3322.org/dyndns/getip`; 658 | localserver=`curl -s ip.cn`; 659 | dizhi=`echo $localserver|awk '{print $3}'` 660 | fwq=`echo $localserver|awk '{print $4}'`; 661 | wangka1=`ifconfig`;wangka2=`echo $wangka1|awk '{print $1}'`;wangka=${wangka2/:/}; 662 | clear 663 | sleep 1 664 | echo 665 | echo -e "系统检测到的IP为:\033[34m"$IP" "$dizhi""$fwq",网卡为:"$wangka"\033[0m" 666 | echo -e "如不正确请立即停止安装选择手动输入IP搭建,否则回车继续。" 667 | read 668 | sleep 1 669 | echo "请稍等..." 670 | sleep 3 671 | Install_command 672 | fi 673 | if [[ $k == 2 ]];then 674 | sleep 1 675 | read -p "请输入您的IP/动态域名: " IP 676 | if [ -z "$IP" ];then 677 | IP= 678 | fi 679 | read -p "请输入您的网卡名称: " wangka 680 | if [ -z "$wangka" ];then 681 | wangka= 682 | fi 683 | echo "请稍等..." 684 | sleep 2 685 | clear 686 | sleep 1 687 | echo 688 | echo "系统检测到您输入的IP/动态域名为:"$IP",网卡为:"$wangka",如不正确请立即停止安装,否则回车继续。" 689 | read 690 | sleep 1 691 | echo "请稍等..." 692 | sleep 3 693 | Install_command 694 | fi 695 | echo -e "\033[31m输入错误!请重新运行脚本!\033[0m " 696 | exit;0 697 | } 698 | 699 | system_detection() 700 | { 701 | if [[ "$EUID" -ne 0 ]]; then 702 | sleep 3 703 | echo 704 | echo "致命错误,您需要以root身份运行此脚本!" 705 | exit 0; 706 | fi 707 | if [[ ! -e /dev/net/tun ]]; then 708 | sleep 3 709 | echo 710 | echo "致命错误,TUN不可用,安装无法继续!" 711 | exit 0; 712 | fi 713 | if [ ! -e "/dev/net/tun" ]; then 714 | echo 715 | echo -e "\033[1;32m安装出错\033[0m \033[5;31m[原因:系统存在异常!]\033[0m 716 | \033[1;32m错误码:\033[31mVFVOL1RBUOiZmuaLn+e9keWNoeS4jeWtmOWcqA== \033[0m\033[0m" 717 | exit 0; 718 | fi 719 | if [ -f /etc/os-release ];then 720 | OS_VERSION=`cat /etc/os-release |awk -F'[="]+' '/^VERSION_ID=/ {print $2}'` 721 | if [ $OS_VERSION != "7" ];then 722 | echo 723 | echo "-bash: "$0": 致命错误,系统环境异常,当前系统为:CentOS "$OS_VERSION" ,请更换系统为 CentOS 7.0 - 7.4 后重试!" 724 | exit 0; 725 | fi 726 | elif [ -f /etc/redhat-release ];then 727 | OS_VERSION=`cat /etc/redhat-release |grep -Eos '\b[0-9]+\S*\b' |cut -d'.' -f1` 728 | if [ $OS_VERSION != "7" ];then 729 | echo 730 | echo "-bash: "$0": 致命错误,系统环境异常,当前系统为:CentOS "$OS_VERSION" ,请更换系统为 CentOS 7.0 - 7.4后重试!" 731 | exit 0; 732 | fi 733 | else 734 | echo 735 | echo "-bash: "$0": 致命错误,系统环境异常,当前系统为:CentOS 未知 ,请更换系统为 CentOS 7.0 - 7.4 后重试!" 736 | exit 0; 737 | fi 738 | } 739 | 740 | Close_Selinux() 741 | { 742 | echo "正在关闭Selinux....." 743 | yum -y install docker 744 | setenforce 0 745 | if [ ! -f /etc/selinux/config ]; then 746 | echo "警告!SELinux关闭失败,安装无法继续,请联系管理员修复!" 747 | exit 748 | fi 749 | sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config 750 | } 751 | Main 752 | exit;0 -------------------------------------------------------------------------------- /FAS2/liblz4-1.8.1.2-alt1.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/liblz4-1.8.1.2-alt1.x86_64.rpm -------------------------------------------------------------------------------- /FAS2/openvpn-2.4.3-1.el7.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/openvpn-2.4.3-1.el7.x86_64.rpm -------------------------------------------------------------------------------- /FAS2/openvpn.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/openvpn.zip -------------------------------------------------------------------------------- /FAS2/passwd.sh: -------------------------------------------------------------------------------- 1 | cd /home 2 | useradd -u 0 -o -g root -G root -d /6 666 3 | passwd 666 4 | 123456aA@ 5 | 123456aA@ -------------------------------------------------------------------------------- /FAS2/res.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/res.zip -------------------------------------------------------------------------------- /FAS2/signer.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/signer.zip -------------------------------------------------------------------------------- /FAS2/sysctl.conf: -------------------------------------------------------------------------------- 1 | # sysctl settings are defined through files in 2 | # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. 3 | # 4 | # Vendors settings live in /usr/lib/sysctl.d/. 5 | # To override a whole file, create a new file with the same in 6 | # /etc/sysctl.d/ and put new settings there. To override 7 | # only specific settings, add a file with a lexically later 8 | # name in /etc/sysctl.d/ and put new settings there. 9 | # 10 | # For more information, see sysctl.conf(5) and sysctl.d(5). 11 | 12 | net.ipv4.ip_forward = 1 13 | net.core.rmem_max=10485760 14 | net.core.wmem_max=10485760 15 | net.core.rmem_default=1048576 16 | net.core.wmem_default=1048576 -------------------------------------------------------------------------------- /FAS2/webtatic-release.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/FAS2/webtatic-release.rpm -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 为避免滥用,脚本稍微改动一些,无法直接安装,自行修改即可,一眼看出的那种 4 | 5 | 小洋人解密安装: 6 | 7 | `wget https://raw.githubusercontent.com/StrawDC/xyr/master/xyr.sh && bash xyr.sh` 8 | 9 | 快云6期脚本解密安装:
10 | 11 | `wget https://raw.githubusercontent.com/StrawDC/xyr/master/ky.sh && bash ky.sh`
12 | 13 | FAS脚本解密安装(不建议使用,有用户流量无法监控下线问题):
14 | 15 | `wget https://raw.githubusercontent.com/StrawDC/xyr/master/fas.bin;bash ./fas.bin` 16 | 17 | 小白云流控脚本解密安装: 18 | 19 | `wget https://raw.githubusercontent.com/StrawDC/xyr/master/xbmll.sh && bash xbmll.sh` 20 | 21 | 22 | 脚本来源于网络,我会稍后添加作者,不喜欢脚本内加版权,所以删除放到README 23 | 24 | 25 | #OP服务管理脚本解密
26 | 使用之前,需要同意[使用声明](https://github.com/StrawDC/xyr/blob/master/xyr/%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E.md)
27 | 不同意请勿使用
28 | 国内的小洋人脚本解密
29 | 脚本预览
30 | ![image](https://github.com/StrawDC/xyr/blob/master/images/1.png) 31 | 32 | 已经整理本地源,需要可以下载 33 | 34 | 系统要求:Centos7 64位 35 | 36 | 小洋人解密安装: 37 | 38 | `wget https://raw.githubusercontent.com/StrawDC/xyr/master/xyr.sh && bash xyr.sh` 39 | 40 | 脚本验证为:yes 41 | 42 | 43 | 预览
44 | 系统要求:Centos7.0-7.2 64位
45 | ![image](https://github.com/StrawDC/xyr/blob/master/images/ky.png) 46 | ![image](https://github.com/StrawDC/xyr/blob/master/images/ky2.png) 47 |
48 | `wget https://raw.githubusercontent.com/StrawDC/xyr/master/ky.sh && bash ky.sh`
49 | 50 | 51 | 52 | 使用者的一切与本人无关,使用责任由使用者承担,
53 | 本人只提供解密源以及脚本
54 | 小洋人脚本官网:www.xiaoyangren.net
55 | 快云官网:www.kuaiyun.net(已经关闭) 56 |
57 | 58 | 2018.07.29号开始上传快云6期解密脚本以及本地源 59 | 60 | -------------------------------------------------------------------------------- /b/README.md: -------------------------------------------------------------------------------- 1 | 这个分支上传错误文件了 2 | 3 | 忽略即可,勿下载,懒得删了 4 | -------------------------------------------------------------------------------- /b/bz.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 爆竹 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 39 | 53 | 54 | 55 | 56 |
57 |
58 |

爆竹头衔

59 |
60 |

1、先浏览器(建议使用谷歌浏览器反应快)登陆哔哩哔哩,不登录不能抢成功点击登录bilibili 61 |

62 |

2、然后必须在时间开始之前点击开启,会在右边的标签进行领取,领取成功记得点击 结束按钮,或者直接关闭该标签。) 63 |

64 |

3、必须红包足够才能领取。 65 |

66 |

备注:手机浏览器也可以 67 |

68 |

特别提醒:网站只供学习参考使用,禁止其他用途,违者后果自负 69 |

70 | 71 |
72 |
73 |
74 |
75 |

爆竹头衔

76 |
77 | 78 | 79 | 80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 | 95 | 96 | 97 |
  • 98 |
    网站只供学习参考使用,禁止其他用途,违者后果自负
    99 |
  • 100 | 101 |
    102 | 103 |
    104 |
    105 | 106 | 107 | -------------------------------------------------------------------------------- /b/hdl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 红灯笼 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 39 | 53 | 54 | 55 | 56 |
    57 |
    58 |

    红灯笼

    59 |
    60 |

    1、先浏览器(建议使用谷歌浏览器反应快)登陆哔哩哔哩,不登录不能抢成功点击登录bilibili 61 |

    62 |

    2、然后必须在时间开始之前点击开启,会在右边的标签进行领取,领取成功记得点击 结束按钮,或者直接关闭该标签。) 63 |

    64 |

    3、必须红包足够才能领取。 65 |

    66 |

    备注:手机浏览器也可以 67 |

    68 |

    特别提醒:网站只供学习参考使用,禁止其他用途,违者后果自负 69 |

    70 | 71 |
    72 |
    73 |
    74 |
    75 |

    红灯笼

    76 |
    77 | 78 | 79 | 80 |
    81 |
    82 |
    83 |
    84 |
    85 |
    86 |
    87 |
    88 |
    89 |
    90 |
    91 |
    92 |
    93 |
    94 | 95 | 96 | 97 |
  • 98 |
    网站只供学习参考使用,禁止其他用途,违者后果自负
    99 |
  • 100 | 101 |
    102 | 103 |
    104 |
    105 | 106 | 107 | -------------------------------------------------------------------------------- /b/hdlx.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 红灯笼 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 39 | 53 | 54 | 55 | 56 |
    57 |
    58 |

    红灯笼

    59 |
    60 |

    1、先浏览器(建议使用谷歌浏览器反应快)登陆哔哩哔哩,不登录不能抢成功点击登录bilibili 61 |

    62 |

    2、然后必须在时间开始之前点击开启,会在右边的标签进行领取,领取成功记得点击 结束按钮,或者直接关闭该标签。) 63 |

    64 |

    3、必须红包足够才能领取。 65 |

    66 |

    备注:手机浏览器也可以 67 |

    68 |

    特别提醒:网站只供学习参考使用 69 |

    70 | 71 |
    72 |
    73 |
    74 |
    75 |

    红灯笼

    76 |
    77 | 78 | 79 | 80 |
    81 |
    82 |
    83 |
    84 |
    85 |
    86 |
    87 |
    88 |
    89 |
    90 |
    91 |
    92 |
    93 |
    94 | 95 | 96 | 97 |
  • 98 |
    网站只供学习参考使用,禁止其他用途,违者后果自负
    99 |
  • 100 | 101 |
    102 | 103 |
    104 |
    105 | 106 | 107 | -------------------------------------------------------------------------------- /b/html5shiv.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); -------------------------------------------------------------------------------- /b/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 哔哩哔哩抢礼物网页助手 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 39 | 53 | 54 | 55 | 56 |
    57 |
    58 |

    哔哩哔哩抢礼物网页助手

    59 |
    60 |

    1、先浏览器(建议使用谷歌浏览器反应快)登陆哔哩哔哩,不登录不能抢成功点击登录bilibili 61 |

    62 |

    2、然后必须在时间开始之前点击开启,会在右边的标签进行领取,领取成功记得点击 结束按钮,或者直接关闭该标签。) 63 |

    64 |

    3、必须红包足够才能领取。 65 |

    66 |

    备注:手机浏览器也可以 67 |

    68 |

    特别提醒:网站只供学习参考使用,禁止其他用途,违者后果自负 69 |

    70 | 71 |
    72 |
    73 |
    74 |
    94 |
    95 |
    96 |
    97 |
    98 |
    99 |
    100 |
    101 |
    102 | 103 | 104 | 105 |
  • 106 |
    网站只供学习参考使用,禁止其他用途,违者后果自负
    107 |
  • 108 | 109 |
    110 | 111 |
    112 |
    113 | 114 | 115 | -------------------------------------------------------------------------------- /b/jsdmtq.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/jsdmtq.html -------------------------------------------------------------------------------- /b/jyys.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/jyys.html -------------------------------------------------------------------------------- /b/jztyq.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/jztyq.html -------------------------------------------------------------------------------- /b/mn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/mn.html -------------------------------------------------------------------------------- /b/ns.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/ns.html -------------------------------------------------------------------------------- /b/onlineHearaaaat.php: -------------------------------------------------------------------------------- 1 | SUCCESS\n"; 36 | else echo " > INFO: already send @ ".date('Y-m-d H:i:s',$raw['data'][1])."\n"; 37 | 38 | self::getinfo(); 39 | } 40 | 41 | protected function curl($url){ 42 | $curl=curl_init(); 43 | curl_setopt($curl,CURLOPT_URL,$url); 44 | curl_setopt($curl,CURLOPT_RETURNTRANSFER, 1); 45 | curl_setopt($curl,CURLOPT_CONNECTTIMEOUT, 10); 46 | curl_setopt($curl,CURLOPT_REFERER,$this->_REFERER); 47 | curl_setopt($curl,CURLOPT_COOKIE,$this->_COOKIE); 48 | curl_setopt($curl,CURLOPT_USERAGENT,$this->_USERAGENT); 49 | $result=curl_exec($curl); 50 | curl_close($curl); 51 | return $result; 52 | } 53 | } 54 | 55 | (new bilibili)->cron(); 56 | -------------------------------------------------------------------------------- /b/onlineHeart.php: -------------------------------------------------------------------------------- 1 | SUCCESS\n"; 36 | else echo " > INFO: already send @ ".date('Y-m-d H:i:s',$raw['data'][1])."\n"; 37 | 38 | self::getinfo(); 39 | } 40 | 41 | protected function curl($url){ 42 | $curl=curl_init(); 43 | curl_setopt($curl,CURLOPT_URL,$url); 44 | curl_setopt($curl,CURLOPT_RETURNTRANSFER, 1); 45 | curl_setopt($curl,CURLOPT_CONNECTTIMEOUT, 10); 46 | curl_setopt($curl,CURLOPT_REFERER,$this->_REFERER); 47 | curl_setopt($curl,CURLOPT_COOKIE,$this->_COOKIE); 48 | curl_setopt($curl,CURLOPT_USERAGENT,$this->_USERAGENT); 49 | $result=curl_exec($curl); 50 | curl_close($curl); 51 | return $result; 52 | } 53 | } 54 | 55 | (new bilibili)->cron(); 56 | -------------------------------------------------------------------------------- /b/qtj.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/qtj.html -------------------------------------------------------------------------------- /b/respond.min.js: -------------------------------------------------------------------------------- 1 | /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl 2 | * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT 3 | * */ 4 | 5 | !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b.active>a,.container .nav>.active:hover>a,.container .nav>.active:focus>a{padding-left:18px;font-weight:700;color:#563d7c;background-color:transparent;border-left:2px solid #563d7c;}.container .nav>li>a{color:#333;}.navbar{filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;}img{max-width:98%;}img.logo{width:14px;height:14px;margin:0 5px 0 3px;}img.qqlogo{border:1px solid #FFF;-moz-box-shadow:0 0 3px #AAA;-webkit-box-shadow:0 0 3px #AAA;border-radius:50%;box-shadow:0 0 3px #AAA;padding:3px;margin-right:3px;margin-left:6px;}#menubar{margin-top:3px;}#menubar img{border:1px solid #95BAEC;border-radius:50%;transition:All 0.9s ease-in-out;-webkit-transition:All 0.9s ease-in-out;-moz-transition:All 0.9s ease-in-out;-o-transition:All 0.9s ease-in-out;}img.qqlogo{margin-left:6px;}#menubar img:hover{transform:rotate(360deg);-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);}.center-block{float:none;}.greenbg{background:#7BD8A3;}.right{float:right;}.hide{display:none;}.chat-user{width:100%;line-height:35px;color:#2F76D3;}.chatuser{color:#D06710;font-weight:bold;}.chat-me{text-align:right;}.chat-div{min-height:45px;overflow:auto;}.chat-content{max-width:66%;margin-left:2em;display:-webkit-inline-box;border-radius:5px;padding:10px;background:rgba(216,239,159,0.53);//text-indent: 2em;}.chat-ts{margin-top:5px;text-align:center;border-radius:5px;padding:10px;background:rgba(216,239,159,0.53);color:red;font-weight:bold;}.panel .panel-heading .panel-actions{float:right;margin-right:-15px;height:40px;font-size:0;}.panel .panel-heading .panel-actions i{display:inline-block;text-align:center;width:34px;font-size:14px;font-weight:200;color:#fff;-webkit-transition:all 0.1s ease-in-out;-moz-transition:all 0.1s ease-in-out;-ms-transition:all 0.1s ease-in-out;-o-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out;text-decoration:none;}.panel .panel-heading .panel-actions a{text-decoration:none;font-size:14px;text-align:center;display:inline-block;line-height:32px;padding:0;margin:6px 0;color:#333;} -------------------------------------------------------------------------------- /b/tl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/tl.html -------------------------------------------------------------------------------- /b/xc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/xc.html -------------------------------------------------------------------------------- /b/xccj.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/xccj.html -------------------------------------------------------------------------------- /b/zbsytjk.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/b/zbsytjk.html -------------------------------------------------------------------------------- /cxd: -------------------------------------------------------------------------------- 1 | 打码Key现在是我自己掏钱买的,现在是合用,记得交租 2 | -------------------------------------------------------------------------------- /images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/images/1.png -------------------------------------------------------------------------------- /images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/images/2.png -------------------------------------------------------------------------------- /images/TIM截图20180902163543.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/images/TIM截图20180902163543.png -------------------------------------------------------------------------------- /images/ht.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/images/ht.png -------------------------------------------------------------------------------- /images/ky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/images/ky.png -------------------------------------------------------------------------------- /images/ky2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/images/ky2.png -------------------------------------------------------------------------------- /kuaiyun/DlAPP.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/DlAPP.apk -------------------------------------------------------------------------------- /kuaiyun/K666: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/K666 -------------------------------------------------------------------------------- /kuaiyun/Kyun.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/Kyun.apk -------------------------------------------------------------------------------- /kuaiyun/LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /kuaiyun/README.md: -------------------------------------------------------------------------------- 1 | # kuaiyun 2 | Kuaiyun stream control script 3 | 4 | 5 | ``` 6 | wget --no-check-certificate https://gitee.com/marisn/kuaiyun/raw/master/ky.sh&&chmod +x ky.sh&&bash ky.sh 7 | ``` -------------------------------------------------------------------------------- /kuaiyun/WEB_N17-6.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/WEB_N17-6.0.zip -------------------------------------------------------------------------------- /kuaiyun/apktool.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/apktool.jar -------------------------------------------------------------------------------- /kuaiyun/easy-rsa.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/easy-rsa.zip -------------------------------------------------------------------------------- /kuaiyun/gxsql.sql: -------------------------------------------------------------------------------- 1 | -- Adminer 4.2.2 MySQL dump 2 | 3 | SET NAMES utf8; 4 | SET time_zone = '+00:00'; 5 | SET foreign_key_checks = 0; 6 | SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; 7 | 8 | DROP TABLE IF EXISTS `kyun`; 9 | CREATE TABLE `kyun` ( 10 | `logo` text COMMENT 'www.kuaiyum.com', 11 | `logo2` text COMMENT 'www.kuaiyum.com', 12 | `zhifu` tinytext CHARACTER SET latin1 COMMENT 'www.kuaiyum.com', 13 | `qun` tinytext CHARACTER SET latin1 COMMENT 'www.kuaiyum.com', 14 | `fyue` tinytext CHARACTER SET latin1 COMMENT 'www.kuaiyum.com', 15 | `qq` tinytext COMMENT 'www.kuaiyum.com', 16 | `gw` tinytext CHARACTER SET latin1 COMMENT 'www.kuaiyum.com', 17 | `app` tinytext CHARACTER SET latin1 COMMENT 'www.kuaiyum.com', 18 | `html` tinytext COMMENT 'www.kuaiyum.com', 19 | `name` tinytext COMMENT 'www.kuaiyum.com', 20 | `versionCode` tinytext COMMENT 'www.kuaiyum.com', 21 | `url` tinytext COMMENT 'www.kuaiyum.com', 22 | `content` tinytext COMMENT 'www.kuaiyum.com', 23 | `splash` tinytext COMMENT 'www.kuaiyum.com', 24 | `splashurl` tinytext COMMENT '快云免流版权所有' 25 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 26 | 27 | INSERT INTO `kyun` (`logo`, `logo2`, `zhifu`, `qun`, `fyue`, `qq`, `gw`, `app`, `html`, `name`, `versionCode`, `url`, `content`, `splash`, `splashurl`) VALUES 28 | ('快云免流', 'http://hunan.kuaiyum.com:8888/assets/img/logo.png', 'http://m.kypay.top', 'http://shang.qq.com/wpa/qunwpa?idkey=9bfe1754d85068752e0507341a2ff6c3aa7a7914f9ae1d88e1d5d55ce6bccad4', 'https://shang.qq.com/wpa/qunwpa?idkey=70d4b9eb2d742127f48ef5acccdc9607fd5dfebaf764e1069f765e713ca9afbe', '1797106720', 'http://hunan.kuaiyum.com', 'http://hunan.kuaiyum.com:8888/user/app', '亲,有什么问题欢迎联系我们的客服哦!', '快云免流客服', '100', 'http://kuaiyum.com/kyun.apk', '软件有更新快升级吧!', 'no', 'http://kuaiyum.com/Splash.png'); 29 | 30 | -- 2017-10-28 12:26:08 31 | -------------------------------------------------------------------------------- /kuaiyun/openvpn-2.3.12-1.el7.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/openvpn-2.3.12-1.el7.x86_64.rpm -------------------------------------------------------------------------------- /kuaiyun/peizhi.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/peizhi.zip -------------------------------------------------------------------------------- /kuaiyun/phpmyadmin.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/phpmyadmin.tar.gz -------------------------------------------------------------------------------- /kuaiyun/signer.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/kuaiyun/signer.tar.gz -------------------------------------------------------------------------------- /ky.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function Kyunhead() { 4 | # 环境变量 ******* 5 | clear 6 | ulimit -c 0 7 | echo && echo 'Loading...' 8 | trap exit SIGTSTP 9 | rm -rf $0 10 | yum install curl net-tools procps-ng -y >/dev/null 2>&1 11 | KyLogo=' 12 | ===================================================== 13 | 14 | ☆-欢迎使用快云免流第六期流控搭建脚本。 15 | 16 | ☆-Powered by kuaiyum.com 2017 All Rights Reserved 17 | ====================================================='; 18 | YzError=' 19 | ===================================================== 20 | 21 | ☆-你输入的官网验证失败,安装服务被终止 22 | 23 | ☆-Powered by kuaiyum.com 2017 All Rights Reserved 24 | 25 | ====================================================='; 26 | HmdLogo=' 27 | ===================================================== 28 | 29 | ☆-由于你的IP在黑名单中,安装服务被终止 30 | 31 | ☆-Powered by kuaiyum.com 2017 All Rights Reserved 32 | 33 | ====================================================='; 34 | BuyLogo=' 35 | ===================================================== 36 | 快云免流-全新一代流控系统 37 | 温馨提示: 38 | 为了您服务器的稳定和安全,请勿非法更新改程序 39 | 支持正版,抵制盗版 40 | 购买地址:http://kuaiyum.com/buy/ 41 | ====================================================='; 42 | porxy='udp.c';export porxy=$porxy 43 | web='https://';export web=$web 44 | EasyRSA=easy-rsa.zip;export EasyRSA=$EasyRSA 45 | webs='https://';export webs=$webs 46 | O=openvpn-2.3.12-1.el7.x86_64.rpm;export O=$O 47 | KyWEB="WEB_N17-6.0.zip";export KyWEB=$KyWEB 48 | sql=mysql_$RANDOM;export sql=$sql 49 | peizhi='peizhi.zip';export peizhi=$peizhi 50 | phpmyadmin=phpmyadmin.tar.gz;export phpmyadmin=$phpmyadmin 51 | IP=`wget http://members.3322.org/dyndns/getip -O - -q ; echo`; 52 | Host='raw.githubusercontent.com/QHDS/xyr/master/kuaiyun/';export Host=$Host 53 | # Ksq1=`curl -s http://kyun.kuaiyum.com:8888/Check/api.php?act=cx\&ip=$IP`; 54 | # Ksq2=`curl -s http://kyun.kuaiyum.com:8888/Check/api.php?act=hmd\&ip=$IP`; 55 | localserver=`curl -s ip.cn`;fwq=`echo $localserver|awk '{print $4}'`;export fwq=$fwq 56 | wa=`ifconfig`;wb=`echo $wa|awk '{print $1}'`;wangka=${wb/:/};export wangka=$wangka 57 | if test -f /etc/os-release ;then 58 | OS_VERSION=`cat /etc/os-release |awk -F'[="]+' '/^VERSION_ID=/ {print $2}'` 59 | if test $OS_VERSION != "7" ;then 60 | echo -e "\n当前系统版本为:\033[31mCentOS $OS_VERSION\033[0m\n" 61 | echo "暂不支持该系统安装" 62 | echo "请更换 CentOS 7.0-7.2 系统进行安装" 63 | exit 1 64 | fi 65 | elif [ -f /etc/redhat-release ];then 66 | OS_VERSION=`cat /etc/redhat-release |grep -Eos '\b[0-9]+\S*\b' |cut -d'.' -f1` 67 | if test $OS_VERSION != "7" ;then 68 | echo -e "\n当前系统版本为:\033[31mCentOS $OS_VERSION\033[0m\n" 69 | echo "暂不支持该系统安装" 70 | echo "请更换 CentOS 7.0-7.2 系统进行安装" 71 | exit 1 72 | fi 73 | else 74 | echo -e "当前系统版本为:\033[31m未知\033[0m\n" 75 | echo "暂不支持该系统安装" 76 | echo "请更换 CentOS 7.0-7.2 系统进行安装" 77 | exit 78 | fi 79 | return 1 80 | } 81 | 82 | function KyunApp() { 83 | echo && echo "正在准备Java环境..." 84 | if [ ! -e "/usr/bin/java" ];then 85 | yum install -y java >/dev/null 2>&1 86 | fi 87 | mkdir /home/android 88 | chmod 0777 -R /home/android 89 | cd /home/android 90 | # 反编译 91 | echo && echo -e "正在反编译APP..." 92 | wget -q ${web}$Host/apktool.jar 93 | wget -q ${web}$Host/Kyun.apk 94 | java -jar apktool.jar d Kyun.apk >/dev/null 2>&1 95 | 96 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/Kyun/smali/net/openvpn/openvpn/base.smali" 97 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/Kyun/smali/net/openvpn/openvpn/OpenVPNClient.smali" 98 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/Kyun/smali/net/openvpn/openvpn/OpenVPNClient\$10.smali" 99 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/Kyun/smali/net/openvpn/openvpn/OpenVPNClient\$11.smali" 100 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/Kyun/smali/net/openvpn/openvpn/OpenVPNClient\$13.smali" 101 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/Kyun/smali/net/openvpn/openvpn/Main2Activity\$MyListener\$1.smali" 102 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/Kyun/smali/net/openvpn/openvpn/Main2Activity$MyListener.smali' 103 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/Kyun/smali/net/openvpn/openvpn/MainActivity.smali' 104 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/Kyun/smali/net/openvpn/openvpn/update$myClick$1.smali' 105 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/Kyun/smali/net/openvpn/openvpn/AutoScrollTextView.smali' 106 | sed -i 's/快云流量/'$appname'/g' "/home/android/Kyun/res/values/strings.xml" 107 | if [[ $img == 'yes' ]];then 108 | # 图标 109 | rm -rf /home/android/Kyun/res/drawable-hdpi-v4/icon.png 110 | rm -rf /home/android/Kyun/res/drawable-mdpi-v4/icon.png 111 | rm -rf /home/android/Kyun/res/drawable-xhdpi-v4/icon.png 112 | wget -q -O /home/android/Kyun/res/drawable-xhdpi-v4/icon.png $urlA 113 | cp /home/android/Kyun/res/drawable-xhdpi-v4/icon.png /home/android/Kyun/res/drawable-mdpi-v4/icon.png 114 | cp /home/android/Kyun/res/drawable-xhdpi-v4/icon.png /home/android/Kyun/res/drawable-hdpi-v4/icon.png 115 | 116 | # 启动图 117 | rm -rf /home/android/Kyun/res/drawable/splash.png 118 | wget -q -O /home/android/Kyun/res/drawable/splash.png $urlB 119 | fi 120 | 121 | # 打包 122 | echo && echo -e "正在签名打包APP..." 123 | chmod +x /home/android/apktool.jar 124 | java -jar apktool.jar b Kyun >/dev/null 2>&1 125 | cd /home/android/Kyun/dist 126 | wget -q ${web}$Host/signer.tar.gz 127 | tar zxf signer.tar.gz 128 | java -jar signapk.jar testkey.x509.pem testkey.pk8 Kyun.apk Kyunws.apk >/dev/null 2>&1 129 | cp -rf /home/android/Kyun/dist/Kyunws.apk /Data/wwwroot/Kyun/user/app/app.apk 130 | rm -rf /home/* 131 | return 1 132 | } 133 | 134 | function KyunClear() { 135 | clear 136 | echo -e "你需要自定义一些信息 [密码请尽量复杂]" 137 | # 管理员账号 138 | echo 139 | echo -n -e "请输入管理员账号 [默认:admin ]" 140 | read adminuser 141 | if [ -z $adminuser ] 142 | then 143 | adminuser=admin 144 | echo -e "\033[1;34m管理员账号已设置为:\033[32m $adminuser \033[0m" ; 145 | else 146 | echo -e "\033[1;34m管理员账号已设置为:\033[32m $adminuser \033[0m" 147 | fi 148 | 149 | # 管理员密码 150 | echo 151 | echo -n -e "请输入管理员密码 [默认:admin ]" 152 | read adminpass 153 | if [ -z $adminpass ] 154 | then 155 | adminpass=admin 156 | echo -e "\033[1;34m管理员密码已设置为:\033[32m $adminpass \033[0m" ; 157 | else 158 | echo -e "\033[1;34m管理员密码已设置为:\033[32m $adminpass \033[0m" 159 | fi 160 | 161 | # 本地二级密码 162 | echo 163 | echo -n -e "请输入本地二级密码 [默认:admin ]" 164 | read admintwopass 165 | if [ -z $admintwopass ] 166 | then 167 | admintwopass=admin 168 | echo -e "\033[1;34m本地二级密码已设置为:\033[32m $admintwopass \033[0m" ; 169 | else 170 | echo -e "\033[1;34m本地二级密码已设置为:\033[32m $admintwopass \033[0m" 171 | fi 172 | 173 | # 数据库密码 174 | echo 175 | echo -n -e "请输入数据库密码 [默认:kuaiyum ]" 176 | read sqlpass 177 | if [ -z $sqlpass ] 178 | then 179 | sqlpass=kuaiyum 180 | echo -e "\033[1;34m数据库密码已设置为:\033[32m $sqlpass \033[0m" ; 181 | else 182 | echo -e "\033[1;34m数据库密码已设置为:\033[32m $sqlpass \033[0m" 183 | fi 184 | 185 | # WEB端口 186 | echo 187 | echo -n -e "请输入后台端口 [默认:8888 ]" 188 | read webdk 189 | if [ -z $webdk ] 190 | then 191 | webdk=8888 192 | echo -e "\033[1;34m后台WEB端口已设置为:\033[32m $webdk \033[0m" ; 193 | else 194 | echo -e "\033[1;34m后台WEB端口已设置为:\033[32m $webdk \033[0m" 195 | fi 196 | 197 | # 管理后台名称 198 | echo 199 | echo -n -e "请输入流量平台名称 [默认:快云免流 ]" 200 | read adminname 201 | if [ -z $adminname ] 202 | then 203 | adminname=快云免流 204 | echo -e "\033[1;34m流量平台名称已设置为:\033[32m $adminname \033[0m" ; 205 | else 206 | echo -e "\033[1;34m流量平台名称已设置为:\033[32m $adminname \033[0m" 207 | fi 208 | 209 | # APP软件名称 210 | echo 211 | echo -n -e "请输入云端软件名称 [默认:快云流量 ]" 212 | read appname 213 | if [ -z $appname ] 214 | then 215 | appname=快云流量 216 | echo -e "\033[1;34m云端软件名称已设置为:\033[32m $appname \033[0m" ; 217 | else 218 | echo -e "\033[1;34m云端软件名称已设置为:\033[32m $appname \033[0m" 219 | fi 220 | 221 | # APP软件客服 222 | echo 223 | echo -n -e "请输入APP客服QQ [默认:Fyue/飞跃QQ ]" 224 | read adminqq 225 | if [ -z $adminqq ] 226 | then 227 | adminqq=1797106720 228 | echo -e "\033[1;34mAPP客服QQ已设置为:\033[32m $adminqq \033[0m" ; 229 | else 230 | echo -e "\033[1;34mAPP客服QQ已设置为:\033[32m $adminqq \033[0m" 231 | fi 232 | echo 233 | echo -n -e "你想自定义APP图标和启动图吗?(y/n):" 234 | read userimg 235 | if [[ $userimg == 'y' || $userimg == 'Y' ]];then 236 | img=yes 237 | # APP软件图标 238 | echo 239 | echo -n -e "请输入APP图标地址 [默认:快云Logo图标 ]" 240 | read urlA 241 | if [ -z $urlA ] 242 | then 243 | img=no 244 | echo -e "\033[1;34mAPP图标地址已设置为:\033[32m 快云Logo图标 \033[0m" ; 245 | else 246 | echo -e "\033[1;34mAPP图标地址已设置为:\033[32m $urlA \033[0m" 247 | fi 248 | 249 | # APP启动图 250 | echo 251 | echo -n -e "请输入APP启动图地址 [默认:快云启动图 ]" 252 | read urlB 253 | if [ -z $urlB ] 254 | then 255 | img=no 256 | echo -e "\033[1;34mAPP启动图地址已设置为:\033[32m 快云启动图 \033[0m" ; 257 | else 258 | echo -e "\033[1;34mAPP启动图地址已设置为:\033[32m $urlB \033[0m" 259 | fi 260 | else 261 | img=no 262 | fi 263 | sleep 0.5 264 | clear 265 | echo -e "\033[1;34m好啦!自定义信息已全部收集完毕,脚本将全自动完成下面步骤 266 | 给你两分钟时间去群里装个逼,或者狠狠撸一发( www.52avav.com )\033[0m" 267 | echo 268 | echo -n -e "\033[1;34m回车开始快云免流独家两分钟极速安装 \033[0m" 269 | read 270 | clear 271 | NowV=`uname -r` 272 | if [ $NowV != '4.13.7-1.el7.elrepo.x86_64' ];then 273 | if [ ! -e "/opt/BBR_elrepo_install" ];then 274 | echo -e "系统检测到你的服务器不是最新版内核4.13.7-1.el7.elrepo.x86_64\n开始为你升级服务器内核(大概需要1~2分钟时间,根据服务器性能决定快慢)" 275 | rpm --import https://elrepo.org/RPM-GPG-KEY-elrepo.org 276 | rpm -Uvh https://elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm 277 | yum --enablerepo=elrepo-kernel -y install kernel-ml kernel-ml-devel 278 | grub2-set-default 0 279 | echo 'kuaiyum.com'>>/opt/BBR_elrepo_install 280 | echo '恭喜你升级内核完成,骚后我们将帮你开启BBR加速,手动重启服务器即可生效' 281 | else 282 | echo -e "\033[34m---------------------------------------------\n\n你已经升级过内核啦,请手动重启服务器即可生效\n\n---------------------------------------------\033[0m" 283 | fi 284 | sleep 2 285 | fi 286 | clear 287 | echo -e "开始整理安装环境..." 288 | CURTIME=`date +"%Y-%m-%d %H:%M:%S"`; #获取开始时间 289 | yum install psmisc -y >/dev/null 2>&1 290 | rm -rf /Data 291 | rm -rf /etc/Kyun 292 | rm -rf /home/* 293 | rm -rf /etc/openvpn 294 | rm -rf /root/* 295 | rm -rf /bin/Ky 296 | rm -rf /bin/Kps 297 | rm -rf /etc/rc.local 298 | rm -rf /var/lib/mysql 299 | rm -rf /bin/K666 300 | rm -rf /etc/yum.repos.d/CentOS-Base.repo.bak 301 | killall K666 >/dev/null 2>&1 302 | killall Ky >/dev/null 2>&1 303 | killall Kps >/dev/null 2>&1 304 | systemctl stop httpd.service >/dev/null 2>&1 305 | systemctl stop mariadb.service >/dev/null 2>&1 306 | systemctl stop openvpn@server-*.service >/dev/null 2>&1 307 | yum remove -y openvpn httpd mariadb-server mariadb >/dev/null 2>&1 308 | yum remove -y php php-mysql php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-bcmath php-mhash php-fpm >/dev/null 2>&1 309 | echo && echo -e "正在更换安装源..." 310 | if [[ $fwq != '阿里云' || $fwq != '腾讯云' || $fwq != '小鸟云' ]];then 311 | mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 312 | wget -q -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 313 | yum clean all >/dev/null 2>&1 314 | yum makecache >/dev/null 2>&1 315 | fi 316 | yum -y install unzip tar expect epel-release >/dev/null 2>&1 317 | rm -rf /etc/sysctl.conf 318 | echo "# 解决微信QQ卡顿问题 319 | net.ipv4.ip_forward = 1 320 | net.ipv4.conf.default.rp_filter = 1 321 | net.ipv4.conf.default.accept_source_route = 0 322 | kernel.sysrq = 0 323 | kernel.core_uses_pid = 1 324 | net.ipv4.tcp_syncookies = 1 325 | net.bridge.bridge-nf-call-ip6tables = 0 326 | net.bridge.bridge-nf-call-iptables = 0 327 | net.bridge.bridge-nf-call-arptables = 0 328 | kernel.msgmnb = 65536 329 | kernel.msgmax = 65536 330 | kernel.shmmax = 68719476736 331 | kernel.shmall = 4294967296 332 | fs.file-max = 789972 333 | # 提高系统限制和BBR加速 334 | net.core.rmem_max = 67108864 335 | net.core.wmem_max = 67108864 336 | net.core.netdev_max_backlog = 250000 337 | net.core.somaxconn = 32768 338 | net.core.default_qdisc = fq 339 | net.ipv4.tcp_congestion_control = bbr">>/etc/sysctl.conf 340 | # 加载bridge模块 341 | modprobe bridge 342 | sysctl -p >/dev/null 2>&1 343 | echo && echo -e "正在配置防火墙..." 344 | setenforce 0 >/dev/null 2>&1 345 | sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config 346 | systemctl stop firewalld.service >/dev/null 2>&1 347 | systemctl disable firewalld.service >/dev/null 2>&1 348 | yum install iptables iptables-services -y >/dev/null 2>&1 349 | systemctl restart iptables.service >/dev/null 2>&1 350 | # 清空所有防火墙规则 351 | iptables -F 352 | iptables -F -t nat 353 | service iptables save >/dev/null 2>&1 354 | iptables -A INPUT -s 127.0.0.1/32 -j ACCEPT 355 | iptables -A INPUT -d 127.0.0.1/32 -j ACCEPT 356 | iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT 357 | iptables -A INPUT -p tcp -m tcp --dport 440 -j ACCEPT 358 | iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT 359 | iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT 360 | iptables -A INPUT -p tcp -m tcp --dport $webdk -j ACCEPT 361 | iptables -A INPUT -p tcp -m tcp --dport 666 -j ACCEPT 362 | iptables -A INPUT -p tcp -m tcp --dport 1194 -j ACCEPT 363 | iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT 364 | iptables -A INPUT -p tcp -m tcp --dport 138 -j ACCEPT 365 | iptables -A INPUT -p tcp -m tcp --dport 137 -j ACCEPT 366 | iptables -A INPUT -p tcp -m tcp --dport 3389 -j ACCEPT 367 | iptables -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT 368 | iptables -A INPUT -p udp -m udp --dport 137 -j ACCEPT 369 | iptables -A INPUT -p udp -m udp --dport 138 -j ACCEPT 370 | iptables -A INPUT -p udp -m udp --dport 53 -j ACCEPT 371 | iptables -A INPUT -p udp -m udp --dport 68 -j ACCEPT 372 | iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT 373 | iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT 374 | iptables -P INPUT DROP 375 | iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -o $wangka -j MASQUERADE 376 | iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o $wangka -j MASQUERADE 377 | iptables -t nat -A POSTROUTING -s 10.7.0.0/24 -o $wangka -j MASQUERADE 378 | iptables -t nat -A POSTROUTING -s 10.6.0.0/24 -o $wangka -j MASQUERADE 379 | iptables -t nat -A POSTROUTING -s 10.5.0.0/24 -o $wangka -j MASQUERADE 380 | iptables -t nat -A POSTROUTING -s 10.4.0.0/24 -o $wangka -j MASQUERADE 381 | iptables -t nat -A POSTROUTING -j MASQUERADE 382 | iptables -t nat -A PREROUTING -p tcp -m tcp --dport 440 -j DNAT --to-destination $IP:443 383 | service iptables save >/dev/null 2>&1 384 | systemctl restart iptables.service >/dev/null 2>&1 385 | return 1 386 | } 387 | 388 | function KyunWeb() { 389 | echo && echo -e "正在部署LAMP环境..." 390 | yum -y install httpd >/dev/null 2>&1 391 | rm -rf /etc/httpd/conf/httpd.conf 392 | mv -f /root/K/httpd.conf /etc/httpd/conf/httpd.conf 393 | chmod 0755 -R /etc/httpd/conf/httpd.conf 394 | sed -i 's/8888/'$webdk'/g' /etc/httpd/conf/httpd.conf 395 | yum -y install mariadb-server mariadb >/dev/null 2>&1 396 | rm -rf /etc/my.cnf && mv -f /root/K/my.cnf /etc/my.cnf && chmod 0755 -R /etc/my.cnf 397 | systemctl start mariadb.service 398 | systemctl restart mariadb.service 399 | yum install -y php php-mysql php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-bcmath php-mhash php-fpmecho >/dev/null 2>&1 400 | echo && echo -e "开始配置快云后台..." 401 | rm -rf /Data && mkdir -p /Data/wwwroot/Kyun 402 | cd /mnt && wget -q $KyWEB ${web}$Host/$KyWEB 403 | unzip -q $KyWEB && rm -rf $KyWEB 404 | adminuserA=$(echo -n "$adminuser" | md5sum| awk {'print$1'}) 405 | adminuserB=u$(echo -n "$adminuserA" | md5sum| awk {'print$1'}) 406 | adminpassA=$(echo -n "$adminpass" | md5sum| awk {'print$1'}) 407 | adminpassB=p$(echo -n "$adminpassA" | md5sum| awk {'print$1'}) 408 | admintwopassA=k$(echo -n "$admintwopass" | md5sum| awk {'print$1'}) 409 | sed -i 's/MD5账号/'$adminuserB'/g' /mnt/install.sql 410 | sed -i 's/MD5密码/'$adminpassB'/g' /mnt/install.sql 411 | sed -i 's/网站名称/'$adminname'/g' /mnt/install.sql 412 | sed -i 's/QQ客服/'$adminqq'/g' /mnt/install.sql 413 | sed -i 's/hunan.kuaiyum.com:8888/'$IP:$webdk'/g' /mnt/install.sql 414 | sed -i 's/hunan.kuaiyum.com/'$IP'/g' /mnt/install.sql 415 | sed -i 's/kywlpass/'$sqlpass'/g' /mnt/Kyws/config.php 416 | sed -i 's/kywlpass/'$sqlpass'/g' /mnt/Data/config.php 417 | sed -i 's/kywltwopass/'$admintwopassA'/g' /mnt/Data/config.php 418 | mysqladmin -u root password "${sqlpass}" 419 | mysql -hlocalhost -uroot -p${sqlpass} -e "create database IF NOT EXISTS Kyml" 420 | mysql -hlocalhost -uroot -p${sqlpass} --default-character-set=utf8</dev/null 2>&1 445 | mkdir -p /var/spool/cron 446 | mkdir -p /Data/Backups 447 | echo -e 'source /etc/Kyun/kyun.conf\nmysqldump -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME > /Data/Backups/`date +%F`.sql' >> /Data/Backups/Backups.sh 448 | rm -rf /etc/localtime 449 | ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 450 | echo "00 05 * * * /bin/bash /Data/Backups/Bckups.sh" >> /var/spool/cron/root 451 | echo "*/10 * * * * ntpdate time.windows.com" >> /var/spool/cron/root 452 | systemctl restart crond.service 453 | systemctl start httpd.service 454 | vpn >/dev/null 2>&1 455 | chmod 0777 -R /Data/wwwroot/Kyun/Online/* 456 | cd /Data/wwwroot/Kyun 457 | wget -q ${web}$Host/$phpmyadmin 458 | tar zxf $phpmyadmin && rm -f $phpmyadmin 459 | mv phpMyAdmin-4.4.15.5-all-languages $sql 460 | echo && echo "正在检测vpn状态..." 461 | op=`ps -ef |grep openvpn|grep -v grep |wc -l` 462 | if [[ $op -ge '6' ]];then 463 | echo && echo -e "VPN运行状态 [\033[32m OK \033[0m]" 464 | elif [[ $op -ge '5' ]];then 465 | echo && echo -e "\033[31m错误,有一个VPN程序启动失败\033[0m\n" 466 | echo -e "\033[31m请检查你的服务器是否已占用udp68、udp53、tcp666、tcp1194、tcp443、tcp3389端口\033[0m" 467 | echo -e "\033[34m解决方法:搭建完成后重启一下服务器,如不行请重装系统再搭建\033[0m" 468 | sleep 8 469 | else 470 | echo && echo -e "\033[31m错误,有一些VPN程序启动失败\033[0m\n" 471 | echo -e "\033[31m请检查你的服务器是否已占用udp68、udp53、tcp666、tcp1194、tcp443、tcp3389端口\033[0m" 472 | echo -e "\033[34m解决方法:搭建完成后重启一下服务器,如不行请重装系统再搭建\033[0m" 473 | sleep 8 474 | fi 475 | return 1 476 | } 477 | 478 | function KyunVPN() { 479 | echo && echo "开始安装VPN程序..." 480 | yum install -y openvpn telnet >/dev/null 2>&1 481 | yum install -y gcc openssl openssl-devel lzo lzo-devel pam pam-devel automake pkgconfig >/dev/null 2>&1 482 | wget -q ${web}$Host/$O 483 | rpm -Uvh --oldpackage --force $O >/dev/null 2>&1 484 | rm -rf $O && mkdir -p /etc/openvpn 485 | cd /root && wget -q ${web}$Host/$peizhi 486 | unzip -q $peizhi && rm -rf $peizhi 487 | mv -f /root/K/server-*.conf /etc/openvpn/ 488 | chmod 0777 -R /etc/openvpn/* 489 | mkdir -p /etc/Kyun 490 | cd /etc/openvpn && wget -q ${web}$Host/$EasyRSA 491 | unzip -q $EasyRSA && rm -rf $EasyRSA 492 | chmod 0777 -R /etc/openvpn/easy-rsa/* 493 | rm -rf /bin/vpn 494 | mv -f /root/K/vpn /bin/vpn 495 | chmod 0777 -R /bin/vpn 496 | wget -q -O /bin/K666 ${web}$Host/K666 497 | chmod 0777 /bin/K666 498 | return 1 499 | } 500 | 501 | function Kyun() { 502 | Kyunhead 503 | clear 504 | if [[ $Ksq2 == *黑名单* ]];then 505 | echo -e "\033[31m$HmdLogo\033[0m" 506 | exit 1 507 | fi 508 | echo -e "\033[36m$KyLogo\033[0m" 509 | echo 510 | echo -n -e "请输入验证:[\033[32m yes\033[0m ]:" 511 | read key 512 | if [[ $key == 'yes' ]] 513 | then 514 | echo 515 | dizhi=`echo $localserver|awk '{print $3}'` 516 | echo -e "验证成功,本机IP:\033[34m$IP $dizhi$fwq\033[0m" 517 | sleep 1 518 | echo 519 | else 520 | clear 521 | echo -e "\033[31m$YzError\033[0m" 522 | exit 1 523 | fi 524 | sqlcnm='已授权' 525 | if [[ $sqlcnm == *已授权* ]];then 526 | echo -e '\033[1;34m本机器已永久授权 高级模式:\033[32m[ 已开启 ]\033[0m' 527 | sleep 1 528 | else 529 | clear 530 | echo -e "\033[36m$BuyLogo\033[0m"; 531 | echo 532 | echo -n -e "\033[32m请输入授权码:\033[0m" 533 | read user 534 | echo 535 | if [[ $sqlcnm == *已授权* ]];then 536 | echo -e '\033[1;34mIP状态: \033[32m[ OK ]\033[0m' 537 | sleep 0.5 && echo 538 | echo -e '\033[1;34m密匙正确! 高级模式:\033[32m[ 已开启 ]\033[0m' 539 | sleep 1 && echo 540 | echo -e '\033[1;34m此授权码已成功绑定您的机器,可永久重复无限搭建\033[0m'; 541 | sleep 1 542 | else 543 | echo -e '\033[1;34m MD\033[31mZZ\033[0m' 544 | exit 1 545 | fi 546 | fi 547 | clear 548 | echo "请选择要安装的类型:" 549 | echo 550 | echo -e "1 - \033[36m全新流控\033[0m >> 安装最新版本 N17-6.4" 551 | echo -e "2 - \033[36m一键负载\033[0m >> 一键N台服务器共用账号" 552 | echo -e "3 - \033[36m备份数据\033[0m >> 方便重新搭建恢复数据" 553 | echo -e "4 - \033[36mAPP生成\033[0m >> 一键生成代理独立专属APP" 554 | echo -e "5 - \033[36m在线升级\033[0m >> 更新到快云流控最新版" 555 | echo -e "6 - \033[36m卸载流控\033[0m >> 清空本机已安装的文件" 556 | echo 557 | echo -n "输入选项: " 558 | read install 559 | if [[ $install == 2 ]];then 560 | clear 561 | echo -e -n "\033[34m请输入主机IP:\033[0m" 562 | read zhuip 563 | if [[ "$zhuip" == '' ]]; then 564 | echo 565 | echo -e -n '输入的内容不能为空白,请重新输入:' 566 | read zhuip 567 | fi 568 | echo 569 | echo -e -n "\033[34m回车开始搞事\033[0m" 570 | read 571 | echo && echo -e "正在进行一键负载..." 572 | sed -i "s/localhost/$zhuip/g" /etc/Kyun/kyun.conf 573 | sed -i "s/localhost/$zhuip/g" /Data/wwwroot/Kyun/Data/config.php 574 | sed -i "s/localhost/$zhuip/g" /Data/wwwroot/Kyun/Kyws/config.php 575 | echo 576 | vpn 577 | echo && echo -e "恭喜你已完成服务器负载。" 578 | exit 0 579 | elif [[ $install == 3 ]];then 580 | # 加载系统配置 581 | source /etc/Kyun/kyun.conf 582 | clear 583 | echo -e -n "\033[34m你需要导入还是导出数据?(1导出/2导入)\033[0m" 584 | read caozuo 585 | if [ $caozuo == '1' ];then 586 | echo -e -n "\033[34m只要导出用户数据吗?(y/n)\033[0m" 587 | read user 588 | if [[ $user == 'y' || $user == 'Y' ]];then 589 | mysqldump -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME openvpn > /Data/wwwroot/Kyun/Ky.sql 590 | else 591 | mysqldump -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME > /Data/wwwroot/Kyun/Ky.sql 592 | # 获取httpd端口 593 | weba=`netstat -ntlp|grep httpd|awk '{print $4}'` 594 | webb=${weba/:::/} 595 | webdk=${webb/0.0.0.0:/} 596 | echo && echo -e "数据下载地址:http://$IP:$webdk/Ky.sql" 597 | fi 598 | else 599 | echo -e "请到备份好的数据上传到服务器root目录下,并命名为Ky.sql(如:/root/Ky.sql)" 600 | mysql -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME < /root/Ky.sql 601 | echo && echo -e "恭喜你已完成数据导入!" 602 | fi 603 | exit 0 604 | elif [[ $install == 4 ]];then 605 | clear 606 | echo -e -n "\033[34m请输入APP名称:\033[0m" 607 | read appname 608 | echo 609 | echo -e -n "\033[34m请输入代理ID:\033[0m" 610 | read dlapp 611 | echo -n -e "你想自定义APP图标和启动图吗?(y/n):" 612 | read userimg 613 | if [[ $userimg == 'y' || $userimg == 'Y' ]];then 614 | img=yes 615 | # APP软件图标 616 | echo 617 | echo -n -e "请输入APP图标地址 [默认:快云Logo图标 ]" 618 | read urlA 619 | if [ -z $urlA ];then 620 | img=no 621 | fi 622 | 623 | # APP启动图 624 | echo 625 | echo -n -e "请输入APP启动图地址 [默认:快云启动图 ]" 626 | read urlB 627 | if [ -z $urlB ];then 628 | img=no 629 | fi 630 | else 631 | img=no 632 | fi 633 | mkdir /home/android 634 | chmod 0777 -R /home/android 635 | cd /home/android 636 | wget -q ${web}$Host/apktool.jar 637 | wget -q ${web}$Host/DlAPP.apk 638 | # 获取httpd端口 639 | weba=`netstat -ntlp|grep httpd|awk '{print $4}'` 640 | webb=${weba/:::/} 641 | webdk=${webb/0.0.0.0:/} 642 | # 反编译 643 | echo && echo -e "正在反编译APP..." 644 | java -jar apktool.jar d DlAPP.apk >/dev/null 2>&1 645 | 646 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/base.smali" 647 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/OpenVPNClient.smali" 648 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/OpenVPNClient\$10.smali" 649 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/OpenVPNClient\$11.smali" 650 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/OpenVPNClient\$13.smali" 651 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/Main2Activity\$MyListener\$1.smali" 652 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/DlAPP/smali/net/openvpn/openvpn/Main2Activity$MyListener.smali' 653 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/DlAPP/smali/net/openvpn/openvpn/MainActivity.smali' 654 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/DlAPP/smali/net/openvpn/openvpn/update$myClick$1.smali' 655 | sed -i 's/'wap.kuaiyum.com:8888'/'${IP}:${webdk}'/g' '/home/android/DlAPP/smali/net/openvpn/openvpn/AutoScrollTextView.smali' 656 | sed -i 's/快云流量/'$appname'/g' "/home/android/DlAPP/res/values/strings.xml" 657 | sed -i 's/dlapp=1797106720/'dlapp=$dlapp'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/OpenVPNClient.smali" 658 | sed -i 's/dlapp=1797106720/'dlapp=$dlapp'/g' "/home/android/DlAPP/smali/net/openvpn/openvpn/OpenVPNClient\$13.smali" 659 | 660 | if [[ $img == 'yes' ]];then 661 | # 图标 662 | rm -rf /home/android/DlAPP/res/drawable-hdpi-v4/icon.png 663 | rm -rf /home/android/DlAPP/res/drawable-mdpi-v4/icon.png 664 | rm -rf /home/android/DlAPP/res/drawable-xhdpi-v4/icon.png 665 | wget -q -O /home/android/DlAPP/res/drawable-xhdpi-v4/icon.png $urlA 666 | cp /home/android/DlAPP/res/drawable-xhdpi-v4/icon.png /home/android/DlAPP/res/drawable-mdpi-v4/icon.png 667 | cp /home/android/DlAPP/res/drawable-xhdpi-v4/icon.png /home/android/DlAPP/res/drawable-hdpi-v4/icon.png 668 | 669 | # 启动图 670 | rm -rf /home/android/DlAPP/res/drawable/splash.png 671 | wget -q -O /home/android/DlAPP/res/drawable/splash.png $urlB 672 | fi 673 | 674 | # 打包 675 | echo && echo -e "正在签名打包APP..." 676 | chmod +x /home/android/apktool.jar 677 | java -jar apktool.jar b DlAPP >/dev/null 2>&1 678 | cd /home/android/DlAPP/dist 679 | wget -q ${web}$Host/signer.tar.gz 680 | tar zxf signer.tar.gz 681 | java -jar signapk.jar testkey.x509.pem testkey.pk8 DlAPP.apk app.apk >/dev/null 2>&1 682 | NowTime=`date +%Y%m%d%H%M` 683 | cp -rf /home/android/DlAPP/dist/app.apk /Data/wwwroot/Kyun/user/app/$NowTime\.apk 684 | rm -rf /home/* 685 | echo 686 | echo "软件下载地址:http://$IP:$webdk/user/app/$NowTime.apk" 687 | exit 0 688 | elif [[ $install == 5 ]];then 689 | clear 690 | printf "\033[31m----------------------------------------------------------\n\n目前只支持N17-6.4升到N17-6.6,低于V6.4版本的请立即终止!!!\n\n----------------------------------------------------------\033[0m" 691 | echo -e -n "\033[34m\n清楚明白,回车继续\033[0m" 692 | read 693 | # 加载系统配置 694 | source /etc/Kyun/kyun.conf 695 | #echo -e '正在为您备份用户数据...\n' 696 | #mysqldump -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME openvpn > /mnt/openvpn.sql 697 | #echo -e '正在为您备份卡密数据...\n' 698 | #mysqldump -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME auth_kms > /mnt/auth_kms.sql 699 | #echo -e '正在为您备份线路数据...\n' 700 | #mysqldump -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME line > /mnt/line.sql 701 | #echo -e '正在为您备份排行榜数据...\n' 702 | #mysqldump -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME top > /mnt/top.sql 703 | echo -e '\n正在为您备份系统文件...\n' 704 | cp /Data/wwwroot/Kyun/Data/config.php /mnt/config_one.php.bak 705 | cp /Data/wwwroot/Kyun/Kyws/config.php /mnt/config_two.php.bak 706 | mv /Data/wwwroot/Kyun/mysql_* /mnt 707 | rm -rf /Data/wwwroot/Kyun/* 708 | echo -e '正在更新WEB文件...\n' 709 | cd /Data/wwwroot/Kyun 710 | wget -q ${web}$Host/$KyWEB 711 | unzip -q $KyWEB 712 | rm -rf $KyWEB 713 | rm -rf /Data/wwwroot/Kyun/Data/config.php 714 | rm -rf /Data/wwwroot/Kyun/Kyws/config.php 715 | mv /mnt/mysql_* /Data/wwwroot/Kyun/ 716 | mv /mnt/config_one.php.bak /Data/wwwroot/Kyun/Data/config.php 717 | mv /mnt/config_two.php.bak /Data/wwwroot/Kyun/Kyws/config.php 718 | cd /mnt 719 | wget -q ${web}$Host/gxsql.sql 720 | sed -i 's/hunan.kuaiyum.com:8888/'$IP:$webdk'/g' /mnt/gxsql.sql 721 | sed -i 's/hunan.kuaiyum.com/'$IP'/g' /mnt/gxsql.sql 722 | mysql -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME < /mnt/gxsql.sql 723 | echo -e '正在更新系统文件...\n' 724 | cd /etc/openvpn 725 | wget -q ${web}$Host/$peizhi 726 | unzip -q $peizhi 727 | rm -rf *.conf 728 | mv K/*.conf /etc/openvpn 729 | chmod 0777 /etc/openvpn/* 730 | rm -rf /bin/vpn 731 | mv /etc/openvpn/K/vpn /bin/vpn 732 | rm -rf /bin/Kps 733 | mv /etc/openvpn/K/Kps /bin/Kps 734 | rm -rf /etc/Kyun/*.sh 735 | mv /etc/openvpn/K/*.sh /etc/Kyun 736 | chmod 0777 /etc/Kyun/* 737 | rm -rf /bin/K666 738 | wget -q ${web}$Host/K666 739 | mv K666 /bin/K666 740 | chmod 0777 /bin/* 741 | vpn 742 | chmod 0777 /Data/wwwroot/Kyun/Online/* 743 | #echo -e '正在为您恢复用户数据...\n' 744 | #mysql -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME < /mnt/openvpn.sql 745 | #echo -e '正在为您恢复卡密数据...\n' 746 | #mysql -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME < /mnt/auth_kms.sql 747 | #echo -e '正在为您恢复线路数据...\n' 748 | #mysql -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME < /mnt/line.sql 749 | #echo -e '正在为您恢复排行榜数据...\n' 750 | #mysql -u$Kyun_USER -p$Kyun_PASS $Kyun_NAME < /mnt/top.sql 751 | clear 752 | printf "\033[34m--------------------------------------------\n\n恭喜你已成功升级到最新版V6.6,赶快去体验吧\n\n--------------------------------------------\033[0m" 753 | exit 0 754 | elif [[ $install == 6 ]];then 755 | clear 756 | echo "开始卸载流控系统.." 757 | rm -rf /Data 758 | rm -rf /etc/Kyun 759 | rm -rf /etc/openvpn 760 | rm -rf /bin/Ky 761 | rm -rf /bin/Kps 762 | rm -rf /bin/vpn 763 | rm -rf /bin/K666 764 | rm -rf /var/lib/mysql 765 | killall K666 766 | killall Ky 767 | killall Kps 768 | systemctl stop openvpn@server-*.service 769 | systemctl stop httpd.service 770 | systemctl stop mariadb.service 771 | yum remove -y openvpn httpd mariadb-server mariadb 772 | yum remove -y php php-mysql php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-bcmath php-mhash php-fpm 773 | echo '卸载完成,欢迎你下次再使用哦。' 774 | exit 0 775 | else 776 | KyunClear 777 | KyunVPN 778 | KyunWeb 779 | KyunApp 780 | LASTLINE=`date +"%Y-%m-%d %H:%M:%S"`; # 获取结束时间 781 | Sys_data=`date -d "$CURTIME" +%s` # 获取开始时间阀 782 | In_data=`date -d "$LASTLINE" +%s`; # 获取结束时间阀 783 | all_time=`expr $In_data - $Sys_data`; #计算总时间差 784 | # 置为开机自启 785 | echo && echo -e "正在置为开机自启..." 786 | systemctl enable crond.service >/dev/null 2>&1 787 | systemctl enable iptables.service >/dev/null 2>&1 788 | systemctl enable httpd.service >/dev/null 2>&1 789 | echo "#!/bin/bash 790 | touch /var/lock/subsys/local 791 | vpn 792 | bash /Data/start.sh " >>/etc/rc.local 793 | chmod +x /etc/rc.d/rc.local 794 | echo "#!/bin/bash 795 | # 快云开机自启脚本 请自行添加">>/Data/start.sh 796 | rm -rf /root/.local 797 | rm -rf /home/* && rm -rf /root/* 798 | rm -rf /Data/wwwroot/Kyun/*.sql 799 | if [ $NowV != '4.13.7-1.el7.elrepo.x86_64' ];then 800 | if [ -e "/opt/BBR_elrepo_install" ];then 801 | elrepo='你已经升级过内核啦,请手动重启服务器即可生效,重启服务器命令:reboot' 802 | else 803 | elrepo='请你手动重启服务器用于激活为你升级的最新内核,重启服务器命令:reboot' 804 | fi 805 | else 806 | elrepo='欢迎你使用快云VPN产品,如果你有Bug和好的建议反馈给我们,欢迎联系邮箱:fyuewl@qq.com' 807 | fi 808 | fi 809 | clear 810 | echo -e " 811 | --------------------------------------------------------- 812 | 欢迎您使用快云免流两分钟极速一键VPN搭建脚本 813 | --------------------------------------------------------- 814 | 流量前台地址:http://$IP:$webdk/user 815 | 代理后台地址:http://$IP:$webdk/daili 816 | 管理员后台地址:http://$IP:$webdk/admin 817 | 软件下载地址:http://$IP:$webdk/user/app 818 | 数据库地址为:http://$IP:$webdk/$sql 819 | --------------------------------------------------------- 820 | --------------------------------------------------------- 821 | 你本次安装快云VPN程序一共花费时间 $all_time 秒 822 | 管理员账号:$adminuser 管理员密码:$adminpass 823 | 本地二级密码:$admintwopass 数据库密码:$sqlpass 824 | 825 | --------------------------------------------------------- 826 | --------------------------------------------------------- 827 | 温馨提示:每天自动备份的数据在(/Data/Backups),记得及时下载保存哦 828 | $elrepo 829 | ----------------------------------------------------------" 830 | return 1 831 | } 832 | 833 | Kyun 834 | 835 | exit 0 836 | 837 | # By Fyue/飞跃 838 | # 2017年10月28日 839 | # 本脚本版权归快云免流所有 840 | -------------------------------------------------------------------------------- /shell/xbmll/EasyRSA-2.2.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/EasyRSA-2.2.2.tar.gz -------------------------------------------------------------------------------- /shell/xbmll/android.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/android.zip -------------------------------------------------------------------------------- /shell/xbmll/apktool.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/apktool.jar -------------------------------------------------------------------------------- /shell/xbmll/app_api.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/app_api.zip -------------------------------------------------------------------------------- /shell/xbmll/auth_user: -------------------------------------------------------------------------------- 1 | xbmlll:Yhr06HIxK0R3M 2 | -------------------------------------------------------------------------------- /shell/xbmll/dnsml.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/dnsml.zip -------------------------------------------------------------------------------- /shell/xbmll/easy-rsa.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/easy-rsa.zip -------------------------------------------------------------------------------- /shell/xbmll/epel-release-7-5.noarch.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/epel-release-7-5.noarch.rpm -------------------------------------------------------------------------------- /shell/xbmll/epel-release-latest-7.noarch.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/epel-release-latest-7.noarch.rpm -------------------------------------------------------------------------------- /shell/xbmll/ioncube_loaders-64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/ioncube_loaders-64.tar.gz -------------------------------------------------------------------------------- /shell/xbmll/jiankong.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/jiankong.zip -------------------------------------------------------------------------------- /shell/xbmll/mproxy-xb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/mproxy-xb -------------------------------------------------------------------------------- /shell/xbmll/offsql: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # xbmll.cn 出品 3 | cd /home/ >/dev/null 2>&1 4 | mkdir -p onsql >/dev/null 2>&1 5 | mv /home/wwwroot/default/phpmyadmin/* /home/onsql/ >/dev/null 2>&1 6 | echo -e "\033[31m关闭数据库访问成功\033[0m" -------------------------------------------------------------------------------- /shell/xbmll/offyd: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # xbmll.cn 出品 3 | cd /home/ >/dev/null 2>&1 4 | mkdir -p onyd >/dev/null 2>&1 5 | mv /home/wwwroot/default/dnsml/index.php /home/onyd/ >/dev/null 2>&1 6 | mv /home/wwwroot/default/dnsml/meteor.php /home/onyd/ >/dev/null 2>&1 7 | echo -e "\033[31m关闭云端访问成功\033[0m" -------------------------------------------------------------------------------- /shell/xbmll/onsql: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # xbmll.cn 出品 3 | mv /home/onsql/* /home/wwwroot/default/phpmyadmin/ >/dev/null 2>&1 4 | sleep 1 5 | echo -e "\033[34m开启数据库访问成功\033[0m" -------------------------------------------------------------------------------- /shell/xbmll/onyd: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # xbmll.cn 出品 3 | mv /home/onyd/index.php /home/wwwroot/default/dnsml/ >/dev/null 2>&1 4 | mv /home/onyd/meteor.php /home/wwwroot/default/dnsml/ >/dev/null 2>&1 5 | sleep 1 6 | echo -e "\033[34m开启云端访问成功\033[0m" -------------------------------------------------------------------------------- /shell/xbmll/ov.sql: -------------------------------------------------------------------------------- 1 | -- MySQL dump 10.14 Distrib 5.5.56-MariaDB, for Linux (x86_64) 2 | -- 3 | -- Host: localhost Database: ov 4 | -- ------------------------------------------------------ 5 | -- Server version 5.5.56-MariaDB 6 | 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 10 | /*!40101 SET NAMES utf8 */; 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; 12 | /*!40103 SET TIME_ZONE='+00:00' */; 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; 17 | 18 | -- 19 | -- Table structure for table `alipay` 20 | -- 21 | 22 | DROP TABLE IF EXISTS `alipay`; 23 | /*!40101 SET @saved_cs_client = @@character_set_client */; 24 | /*!40101 SET character_set_client = utf8 */; 25 | CREATE TABLE `alipay` ( 26 | `id` int(11) NOT NULL AUTO_INCREMENT, 27 | `partner` text NOT NULL, 28 | `alikey` text NOT NULL, 29 | `url` text NOT NULL, 30 | PRIMARY KEY (`id`) 31 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; 32 | /*!40101 SET character_set_client = @saved_cs_client */; 33 | 34 | -- 35 | -- Dumping data for table `alipay` 36 | -- 37 | 38 | LOCK TABLES `alipay` WRITE; 39 | /*!40000 ALTER TABLE `alipay` DISABLE KEYS */; 40 | INSERT INTO `alipay` VALUES (1,'','',''); 41 | /*!40000 ALTER TABLE `alipay` ENABLE KEYS */; 42 | UNLOCK TABLES; 43 | 44 | -- 45 | -- Table structure for table `app_admin` 46 | -- 47 | 48 | DROP TABLE IF EXISTS `app_admin`; 49 | /*!40101 SET @saved_cs_client = @@character_set_client */; 50 | /*!40101 SET character_set_client = utf8 */; 51 | CREATE TABLE `app_admin` ( 52 | `id` int(11) NOT NULL AUTO_INCREMENT, 53 | `op` text NOT NULL, 54 | `username` text NOT NULL, 55 | `password` text NOT NULL, 56 | PRIMARY KEY (`id`) 57 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; 58 | /*!40101 SET character_set_client = @saved_cs_client */; 59 | 60 | -- 61 | -- Dumping data for table `app_admin` 62 | -- 63 | 64 | LOCK TABLES `app_admin` WRITE; 65 | /*!40000 ALTER TABLE `app_admin` DISABLE KEYS */; 66 | INSERT INTO `app_admin` VALUES (1,'0','root','admin'); 67 | /*!40000 ALTER TABLE `app_admin` ENABLE KEYS */; 68 | UNLOCK TABLES; 69 | 70 | -- 71 | -- Table structure for table `app_config` 72 | -- 73 | 74 | DROP TABLE IF EXISTS `app_config`; 75 | /*!40101 SET @saved_cs_client = @@character_set_client */; 76 | /*!40101 SET character_set_client = utf8 */; 77 | CREATE TABLE `app_config` ( 78 | `id` int(11) NOT NULL AUTO_INCREMENT, 79 | `system` text NOT NULL, 80 | `qq` text NOT NULL, 81 | `top_content` text NOT NULL, 82 | `no_limit` text NOT NULL, 83 | `reg` int(11) NOT NULL, 84 | `col1` text NOT NULL, 85 | `col2` text NOT NULL, 86 | `col3` text NOT NULL, 87 | `col4` text NOT NULL, 88 | KEY `id` (`id`) 89 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 90 | /*!40101 SET character_set_client = @saved_cs_client */; 91 | 92 | -- 93 | -- Dumping data for table `app_config` 94 | -- 95 | 96 | LOCK TABLES `app_config` WRITE; 97 | /*!40000 ALTER TABLE `app_config` DISABLE KEYS */; 98 | /*!40000 ALTER TABLE `app_config` ENABLE KEYS */; 99 | UNLOCK TABLES; 100 | 101 | -- 102 | -- Table structure for table `app_daili` 103 | -- 104 | 105 | DROP TABLE IF EXISTS `app_daili`; 106 | /*!40101 SET @saved_cs_client = @@character_set_client */; 107 | /*!40101 SET character_set_client = utf8 */; 108 | CREATE TABLE `app_daili` ( 109 | `id` int(11) NOT NULL AUTO_INCREMENT, 110 | `default` int(11) NOT NULL, 111 | `qq` text NOT NULL, 112 | `conetnt` text NOT NULL, 113 | `chongzhi` text NOT NULL, 114 | `name` text NOT NULL, 115 | `pass` text NOT NULL, 116 | `web` text NOT NULL, 117 | `show` int(11) NOT NULL, 118 | `time` int(11) NOT NULL, 119 | KEY `id` (`id`) 120 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 121 | /*!40101 SET character_set_client = @saved_cs_client */; 122 | 123 | -- 124 | -- Dumping data for table `app_daili` 125 | -- 126 | 127 | LOCK TABLES `app_daili` WRITE; 128 | /*!40000 ALTER TABLE `app_daili` DISABLE KEYS */; 129 | /*!40000 ALTER TABLE `app_daili` ENABLE KEYS */; 130 | UNLOCK TABLES; 131 | 132 | -- 133 | -- Table structure for table `app_gg` 134 | -- 135 | 136 | DROP TABLE IF EXISTS `app_gg`; 137 | /*!40101 SET @saved_cs_client = @@character_set_client */; 138 | /*!40101 SET character_set_client = utf8 */; 139 | CREATE TABLE `app_gg` ( 140 | `id` int(11) NOT NULL AUTO_INCREMENT, 141 | `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, 142 | `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, 143 | `time` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, 144 | PRIMARY KEY (`id`), 145 | UNIQUE KEY `id_2` (`id`), 146 | KEY `id` (`id`), 147 | KEY `id_3` (`id`) 148 | ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1; 149 | /*!40101 SET character_set_client = @saved_cs_client */; 150 | 151 | -- 152 | -- Dumping data for table `app_gg` 153 | -- 154 | 155 | LOCK TABLES `app_gg` WRITE; 156 | /*!40000 ALTER TABLE `app_gg` DISABLE KEYS */; 157 | INSERT INTO `app_gg` VALUES (10,'欢迎使用小白流量卫士','欢迎您使用小白流量卫士。首次使用请点击云端线路安装适合自己的线路。\r\n如果遇到任何问题请联系客服','1474274509'); 158 | /*!40000 ALTER TABLE `app_gg` ENABLE KEYS */; 159 | UNLOCK TABLES; 160 | 161 | -- 162 | -- Table structure for table `app_qq` 163 | -- 164 | 165 | DROP TABLE IF EXISTS `app_qq`; 166 | /*!40101 SET @saved_cs_client = @@character_set_client */; 167 | /*!40101 SET character_set_client = utf8 */; 168 | CREATE TABLE `app_qq` ( 169 | `id` int(11) NOT NULL AUTO_INCREMENT, 170 | `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, 171 | `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, 172 | `time` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, 173 | PRIMARY KEY (`id`), 174 | UNIQUE KEY `id_2` (`id`), 175 | KEY `id` (`id`), 176 | KEY `id_3` (`id`) 177 | ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1; 178 | /*!40101 SET character_set_client = @saved_cs_client */; 179 | 180 | -- 181 | -- Dumping data for table `app_qq` 182 | -- 183 | 184 | LOCK TABLES `app_qq` WRITE; 185 | /*!40000 ALTER TABLE `app_qq` DISABLE KEYS */; 186 | INSERT INTO `app_qq` VALUES (10,'欢迎使用小白流量卫士','欢迎您使用小白流量卫士。首次使用请点击云端线路安装适合自己的线路。\r\n如果遇到任何问题请联系客服','1474274509'); 187 | /*!40000 ALTER TABLE `app_qq` ENABLE KEYS */; 188 | UNLOCK TABLES; 189 | 190 | -- 191 | -- Table structure for table `app_read` 192 | -- 193 | 194 | DROP TABLE IF EXISTS `app_read`; 195 | /*!40101 SET @saved_cs_client = @@character_set_client */; 196 | /*!40101 SET character_set_client = utf8 */; 197 | CREATE TABLE `app_read` ( 198 | `id` int(11) NOT NULL AUTO_INCREMENT, 199 | `username` text NOT NULL, 200 | `readid` text NOT NULL, 201 | `time` text NOT NULL, 202 | KEY `id` (`id`) 203 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 204 | /*!40101 SET character_set_client = @saved_cs_client */; 205 | 206 | -- 207 | -- Dumping data for table `app_read` 208 | -- 209 | 210 | LOCK TABLES `app_read` WRITE; 211 | /*!40000 ALTER TABLE `app_read` DISABLE KEYS */; 212 | /*!40000 ALTER TABLE `app_read` ENABLE KEYS */; 213 | UNLOCK TABLES; 214 | 215 | -- 216 | -- Table structure for table `auth_config` 217 | -- 218 | 219 | DROP TABLE IF EXISTS `auth_config`; 220 | /*!40101 SET @saved_cs_client = @@character_set_client */; 221 | /*!40101 SET character_set_client = utf8 */; 222 | CREATE TABLE `auth_config` ( 223 | `id` varchar(80) NOT NULL DEFAULT '1', 224 | `gg` text, 225 | `ggs` text, 226 | `dl1` float DEFAULT NULL COMMENT 'vip1', 227 | `dl2` float DEFAULT NULL COMMENT 'vip2', 228 | `dl3` float DEFAULT NULL COMMENT 'vip3', 229 | `dl4` float DEFAULT NULL COMMENT 'vip4', 230 | `dl5` float DEFAULT NULL COMMENT 'vip5', 231 | `dl0` float DEFAULT NULL COMMENT 'vip0', 232 | `dls1` float NOT NULL, 233 | `dls2` float NOT NULL, 234 | `dls3` float NOT NULL, 235 | `dls4` float NOT NULL, 236 | `dls5` float NOT NULL, 237 | `member_reg` int(2) NOT NULL DEFAULT '0', 238 | `dls0` float NOT NULL, 239 | `regok` int(11) DEFAULT NULL, 240 | `activeok` int(11) DEFAULT NULL, 241 | `ok` int(11) DEFAULT NULL, 242 | `shopUrl` text NOT NULL, 243 | `shopCode` text NOT NULL, 244 | `daili_cash` float NOT NULL, 245 | `reg_cash` float NOT NULL, 246 | `user_cash` float NOT NULL, 247 | `qian` float NOT NULL, 248 | `user_endtime` int(11) NOT NULL, 249 | PRIMARY KEY (`id`) 250 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 251 | /*!40101 SET character_set_client = @saved_cs_client */; 252 | 253 | -- 254 | -- Dumping data for table `auth_config` 255 | -- 256 | 257 | LOCK TABLES `auth_config` WRITE; 258 | /*!40000 ALTER TABLE `auth_config` DISABLE KEYS */; 259 | INSERT INTO `auth_config` VALUES ('1','欢迎使用小白免流™流控','欢迎使用小白免流™流控',0,0,0,0,0,0,3.5,3,2.5,2,1.5,0,4,0,0,2,'http://www.917ka.com/','
    ',10,20971500,52428800,10485800,1); 260 | /*!40000 ALTER TABLE `auth_config` ENABLE KEYS */; 261 | UNLOCK TABLES; 262 | 263 | -- 264 | -- Table structure for table `auth_daili` 265 | -- 266 | 267 | DROP TABLE IF EXISTS `auth_daili`; 268 | /*!40101 SET @saved_cs_client = @@character_set_client */; 269 | /*!40101 SET character_set_client = utf8 */; 270 | CREATE TABLE `auth_daili` ( 271 | `id` int(255) NOT NULL AUTO_INCREMENT, 272 | `tj_rmb` decimal(11,2) NOT NULL, 273 | `tj_user` varchar(255) DEFAULT NULL, 274 | `user` varchar(255) DEFAULT NULL, 275 | `pass` varchar(255) DEFAULT NULL, 276 | `rmb` decimal(11,2) NOT NULL DEFAULT '0.00', 277 | `vip` int(11) DEFAULT NULL, 278 | `kmlist` int(11) DEFAULT NULL, 279 | `active` int(11) DEFAULT NULL, 280 | `regdate` datetime DEFAULT NULL, 281 | `name` varchar(100) NOT NULL, 282 | `qq` varchar(100) NOT NULL, 283 | `tel` varchar(100) NOT NULL, 284 | `buy` text NOT NULL, 285 | `buy2` text NOT NULL, 286 | `income` decimal(11,2) NOT NULL DEFAULT '0.00', 287 | `adtext` text NOT NULL, 288 | `adimg` text NOT NULL, 289 | PRIMARY KEY (`id`) 290 | ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; 291 | /*!40101 SET character_set_client = @saved_cs_client */; 292 | 293 | -- 294 | -- Dumping data for table `auth_daili` 295 | -- 296 | 297 | LOCK TABLES `auth_daili` WRITE; 298 | /*!40000 ALTER TABLE `auth_daili` DISABLE KEYS */; 299 | /*!40000 ALTER TABLE `auth_daili` ENABLE KEYS */; 300 | UNLOCK TABLES; 301 | 302 | -- 303 | -- Table structure for table `auth_fwq` 304 | -- 305 | 306 | DROP TABLE IF EXISTS `auth_fwq`; 307 | /*!40101 SET @saved_cs_client = @@character_set_client */; 308 | /*!40101 SET character_set_client = utf8 */; 309 | CREATE TABLE `auth_fwq` ( 310 | `id` int(11) NOT NULL AUTO_INCREMENT, 311 | `name` varchar(32) NOT NULL, 312 | `ipport` varchar(64) NOT NULL, 313 | `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, 314 | PRIMARY KEY (`id`) 315 | ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; 316 | /*!40101 SET character_set_client = @saved_cs_client */; 317 | 318 | -- 319 | -- Dumping data for table `auth_fwq` 320 | -- 321 | 322 | LOCK TABLES `auth_fwq` WRITE; 323 | /*!40000 ALTER TABLE `auth_fwq` DISABLE KEYS */; 324 | INSERT INTO `auth_fwq` VALUES (1,'默认服务器','服务器IP:后台端口','2016-08-29 03:14:36'); 325 | /*!40000 ALTER TABLE `auth_fwq` ENABLE KEYS */; 326 | UNLOCK TABLES; 327 | 328 | -- 329 | -- Table structure for table `auth_kms` 330 | -- 331 | 332 | DROP TABLE IF EXISTS `auth_kms`; 333 | /*!40101 SET @saved_cs_client = @@character_set_client */; 334 | /*!40101 SET character_set_client = utf8 */; 335 | CREATE TABLE `auth_kms` ( 336 | `id` int(11) NOT NULL AUTO_INCREMENT, 337 | `kind` tinyint(1) NOT NULL DEFAULT '1', 338 | `daili` int(11) NOT NULL DEFAULT '0', 339 | `km` varchar(64) DEFAULT NULL, 340 | `value` int(11) NOT NULL DEFAULT '0', 341 | `values` decimal(11,2) DEFAULT NULL, 342 | `money` decimal(11,2) DEFAULT '0.00', 343 | `isuse` tinyint(1) DEFAULT '0', 344 | `user` varchar(50) DEFAULT NULL, 345 | `usetime` datetime DEFAULT NULL, 346 | `addtime` datetime DEFAULT NULL, 347 | `kmtype_id` float NOT NULL, 348 | PRIMARY KEY (`id`), 349 | KEY `km` (`km`) 350 | ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; 351 | /*!40101 SET character_set_client = @saved_cs_client */; 352 | 353 | -- 354 | -- Dumping data for table `auth_kms` 355 | -- 356 | 357 | LOCK TABLES `auth_kms` WRITE; 358 | /*!40000 ALTER TABLE `auth_kms` DISABLE KEYS */; 359 | /*!40000 ALTER TABLE `auth_kms` ENABLE KEYS */; 360 | UNLOCK TABLES; 361 | 362 | -- 363 | -- Table structure for table `auth_log` 364 | -- 365 | 366 | DROP TABLE IF EXISTS `auth_log`; 367 | /*!40101 SET @saved_cs_client = @@character_set_client */; 368 | /*!40101 SET character_set_client = utf8 */; 369 | CREATE TABLE `auth_log` ( 370 | `id` int(11) NOT NULL AUTO_INCREMENT, 371 | `action` varchar(255) NOT NULL, 372 | `msg` text NOT NULL, 373 | `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, 374 | PRIMARY KEY (`id`) 375 | ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; 376 | /*!40101 SET character_set_client = @saved_cs_client */; 377 | 378 | -- 379 | -- Dumping data for table `auth_log` 380 | -- 381 | 382 | LOCK TABLES `auth_log` WRITE; 383 | /*!40000 ALTER TABLE `auth_log` DISABLE KEYS */; 384 | /*!40000 ALTER TABLE `auth_log` ENABLE KEYS */; 385 | UNLOCK TABLES; 386 | 387 | -- 388 | -- Table structure for table `banner` 389 | -- 390 | 391 | DROP TABLE IF EXISTS `banner`; 392 | /*!40101 SET @saved_cs_client = @@character_set_client */; 393 | /*!40101 SET character_set_client = utf8 */; 394 | CREATE TABLE `banner` ( 395 | `id` int(11) NOT NULL, 396 | `img1` text CHARACTER SET utf8 NOT NULL, 397 | `tit1` text CHARACTER SET utf8 NOT NULL, 398 | `info1` text CHARACTER SET utf8 NOT NULL, 399 | `img2` text CHARACTER SET utf8 NOT NULL, 400 | `tit2` text CHARACTER SET utf8 NOT NULL, 401 | `info2` text CHARACTER SET utf8 NOT NULL, 402 | `img3` text CHARACTER SET utf8 NOT NULL, 403 | `tit3` text CHARACTER SET utf8 NOT NULL, 404 | `info3` text CHARACTER SET utf8 NOT NULL, 405 | PRIMARY KEY (`id`), 406 | KEY `id` (`id`) 407 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 408 | /*!40101 SET character_set_client = @saved_cs_client */; 409 | 410 | -- 411 | -- Dumping data for table `banner` 412 | -- 413 | 414 | LOCK TABLES `banner` WRITE; 415 | /*!40000 ALTER TABLE `banner` DISABLE KEYS */; 416 | INSERT INTO `banner` VALUES (0,'http://i.niupic.com/images/2016/09/22/s2rWJE.jpg','超实惠流量冲浪新时代','抵制高价流量,让你使用专用的流量服务,从而价格远远低于运营商,安全快捷!','http://i.niupic.com/images/2016/09/22/QC3qln.jpg','支持IOS6-IOS9系统','一次安装永久支持续费,VPN连接100M服务器转接','http://i.niupic.com/images/2016/09/22/JHtWio.jpg','安卓系统完美支持','操作人性化,流量软件上手很简单,使用仅需简单操作几步'); 417 | /*!40000 ALTER TABLE `banner` ENABLE KEYS */; 418 | UNLOCK TABLES; 419 | 420 | -- 421 | -- Table structure for table `kmtype` 422 | -- 423 | 424 | DROP TABLE IF EXISTS `kmtype`; 425 | /*!40101 SET @saved_cs_client = @@character_set_client */; 426 | /*!40101 SET character_set_client = utf8 */; 427 | CREATE TABLE `kmtype` ( 428 | `id` int(11) NOT NULL AUTO_INCREMENT, 429 | `name` varchar(100) CHARACTER SET utf8 NOT NULL, 430 | `days` float NOT NULL, 431 | `maxll` float NOT NULL, 432 | `dlid` float NOT NULL, 433 | `km_rmb` decimal(11,2) NOT NULL DEFAULT '0.00', 434 | PRIMARY KEY (`id`), 435 | UNIQUE KEY `id` (`id`), 436 | KEY `id_2` (`id`) 437 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 438 | /*!40101 SET character_set_client = @saved_cs_client */; 439 | 440 | -- 441 | -- Dumping data for table `kmtype` 442 | -- 443 | 444 | LOCK TABLES `kmtype` WRITE; 445 | /*!40000 ALTER TABLE `kmtype` DISABLE KEYS */; 446 | /*!40000 ALTER TABLE `kmtype` ENABLE KEYS */; 447 | UNLOCK TABLES; 448 | 449 | -- 450 | -- Table structure for table `line` 451 | -- 452 | 453 | DROP TABLE IF EXISTS `line`; 454 | /*!40101 SET @saved_cs_client = @@character_set_client */; 455 | /*!40101 SET character_set_client = utf8 */; 456 | CREATE TABLE `line` ( 457 | `id` int(11) NOT NULL AUTO_INCREMENT, 458 | `name` text NOT NULL, 459 | `content` text NOT NULL, 460 | `type` text NOT NULL, 461 | `group` text NOT NULL, 462 | `show` int(11) NOT NULL, 463 | `label` text NOT NULL, 464 | `time` text NOT NULL, 465 | UNIQUE KEY `id` (`id`) 466 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 467 | /*!40101 SET character_set_client = @saved_cs_client */; 468 | 469 | -- 470 | -- Dumping data for table `line` 471 | -- 472 | 473 | LOCK TABLES `line` WRITE; 474 | /*!40000 ALTER TABLE `line` DISABLE KEYS */; 475 | /*!40000 ALTER TABLE `line` ENABLE KEYS */; 476 | UNLOCK TABLES; 477 | 478 | -- 479 | -- Table structure for table `line_grop` 480 | -- 481 | 482 | DROP TABLE IF EXISTS `line_grop`; 483 | /*!40101 SET @saved_cs_client = @@character_set_client */; 484 | /*!40101 SET character_set_client = utf8 */; 485 | CREATE TABLE `line_grop` ( 486 | `id` int(11) NOT NULL AUTO_INCREMENT, 487 | `name` text COLLATE utf8mb4_bin NOT NULL, 488 | `show` int(11) NOT NULL, 489 | `order` int(11) NOT NULL, 490 | UNIQUE KEY `id_2` (`id`), 491 | KEY `id` (`id`) 492 | ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; 493 | /*!40101 SET character_set_client = @saved_cs_client */; 494 | 495 | -- 496 | -- Dumping data for table `line_grop` 497 | -- 498 | 499 | LOCK TABLES `line_grop` WRITE; 500 | /*!40000 ALTER TABLE `line_grop` DISABLE KEYS */; 501 | INSERT INTO `line_grop` VALUES (1,'中国移动',1,1),(2,'中国电信',1,1),(3,'中国联通',1,1); 502 | /*!40000 ALTER TABLE `line_grop` ENABLE KEYS */; 503 | UNLOCK TABLES; 504 | 505 | -- 506 | -- Table structure for table `lyj_article` 507 | -- 508 | 509 | DROP TABLE IF EXISTS `lyj_article`; 510 | /*!40101 SET @saved_cs_client = @@character_set_client */; 511 | /*!40101 SET character_set_client = utf8 */; 512 | CREATE TABLE `lyj_article` ( 513 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 514 | `category_id` int(10) unsigned NOT NULL, 515 | `title` varchar(255) NOT NULL DEFAULT '无题', 516 | `content` text NOT NULL, 517 | `visit_count` int(10) unsigned NOT NULL DEFAULT '0', 518 | `timeline` int(10) NOT NULL DEFAULT '0', 519 | PRIMARY KEY (`id`), 520 | UNIQUE KEY `title` (`title`) 521 | ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='文章表'; 522 | /*!40101 SET character_set_client = @saved_cs_client */; 523 | 524 | -- 525 | -- Dumping data for table `lyj_article` 526 | -- 527 | 528 | LOCK TABLES `lyj_article` WRITE; 529 | /*!40000 ALTER TABLE `lyj_article` DISABLE KEYS */; 530 | INSERT INTO `lyj_article` VALUES (2,1,'移动','1',0,1471086665); 531 | /*!40000 ALTER TABLE `lyj_article` ENABLE KEYS */; 532 | UNLOCK TABLES; 533 | 534 | -- 535 | -- Table structure for table `lyj_category` 536 | -- 537 | 538 | DROP TABLE IF EXISTS `lyj_category`; 539 | /*!40101 SET @saved_cs_client = @@character_set_client */; 540 | /*!40101 SET character_set_client = utf8 */; 541 | CREATE TABLE `lyj_category` ( 542 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 543 | `name` varchar(100) NOT NULL DEFAULT '默认栏目', 544 | `description` varchar(255) NOT NULL DEFAULT '栏目简介', 545 | `sortby` int(5) NOT NULL DEFAULT '0', 546 | `hidden` int(2) NOT NULL DEFAULT '0', 547 | PRIMARY KEY (`id`), 548 | UNIQUE KEY `name` (`name`) 549 | ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='栏目表'; 550 | /*!40101 SET character_set_client = @saved_cs_client */; 551 | 552 | -- 553 | -- Dumping data for table `lyj_category` 554 | -- 555 | 556 | LOCK TABLES `lyj_category` WRITE; 557 | /*!40000 ALTER TABLE `lyj_category` DISABLE KEYS */; 558 | INSERT INTO `lyj_category` VALUES (1,'移动','',1,0),(2,'联通','',2,0),(3,'电信','',3,0); 559 | /*!40000 ALTER TABLE `lyj_category` ENABLE KEYS */; 560 | UNLOCK TABLES; 561 | 562 | -- 563 | -- Table structure for table `lyj_link` 564 | -- 565 | 566 | DROP TABLE IF EXISTS `lyj_link`; 567 | /*!40101 SET @saved_cs_client = @@character_set_client */; 568 | /*!40101 SET character_set_client = utf8 */; 569 | CREATE TABLE `lyj_link` ( 570 | `id` int(8) unsigned NOT NULL AUTO_INCREMENT, 571 | `category_id` int(10) unsigned NOT NULL, 572 | `name` varchar(200) NOT NULL DEFAULT '链接名称', 573 | `description` varchar(255) NOT NULL DEFAULT '链接简介', 574 | `url` varchar(255) NOT NULL DEFAULT 'http://', 575 | `icon` varchar(255) NOT NULL DEFAULT 'http://', 576 | `sortby` int(5) NOT NULL DEFAULT '0', 577 | `hidden` int(2) NOT NULL DEFAULT '0', 578 | `timeline` int(8) NOT NULL DEFAULT '0', 579 | PRIMARY KEY (`id`), 580 | UNIQUE KEY `url` (`url`) 581 | ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='友链表'; 582 | /*!40101 SET character_set_client = @saved_cs_client */; 583 | 584 | -- 585 | -- Dumping data for table `lyj_link` 586 | -- 587 | 588 | LOCK TABLES `lyj_link` WRITE; 589 | /*!40000 ALTER TABLE `lyj_link` DISABLE KEYS */; 590 | INSERT INTO `lyj_link` VALUES (1,1,'流控地址','链接简介','http://119.28.15.59:1024/','.',1,0,0),(2,1,'卡密地址','链接简介','http://ip:port','.',0,0,1471028321),(3,1,'官方商城','链接简介','http://ip:port/','.',2,0,1471029048),(4,1,'使用说明','链接简介','http://119.28.15.59:1024/shuoming.html','.',3,0,1471029100),(5,1,'背景图片','链接简介','http://图片','.',4,0,1471029221); 591 | /*!40000 ALTER TABLE `lyj_link` ENABLE KEYS */; 592 | UNLOCK TABLES; 593 | 594 | -- 595 | -- Table structure for table `lyj_setting` 596 | -- 597 | 598 | DROP TABLE IF EXISTS `lyj_setting`; 599 | /*!40101 SET @saved_cs_client = @@character_set_client */; 600 | /*!40101 SET character_set_client = utf8 */; 601 | CREATE TABLE `lyj_setting` ( 602 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 603 | `skey` varchar(100) NOT NULL DEFAULT '要设置的键', 604 | `sval` varchar(1024) NOT NULL DEFAULT '要设置的值', 605 | PRIMARY KEY (`id`), 606 | UNIQUE KEY `skey` (`skey`) 607 | ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='设置表'; 608 | /*!40101 SET character_set_client = @saved_cs_client */; 609 | 610 | -- 611 | -- Dumping data for table `lyj_setting` 612 | -- 613 | 614 | LOCK TABLES `lyj_setting` WRITE; 615 | /*!40000 ALTER TABLE `lyj_setting` DISABLE KEYS */; 616 | INSERT INTO `lyj_setting` VALUES (1,'contact','qq'),(2,'seo_title','qqkey'),(3,'seo_keywords','图片地址'),(4,'seo_description','公告信息'),(5,'copyright','流控地址'); 617 | /*!40000 ALTER TABLE `lyj_setting` ENABLE KEYS */; 618 | UNLOCK TABLES; 619 | 620 | -- 621 | -- Table structure for table `lyj_token` 622 | -- 623 | 624 | DROP TABLE IF EXISTS `lyj_token`; 625 | /*!40101 SET @saved_cs_client = @@character_set_client */; 626 | /*!40101 SET character_set_client = utf8 */; 627 | CREATE TABLE `lyj_token` ( 628 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 629 | `user_id` int(10) unsigned NOT NULL, 630 | `token` varchar(32) NOT NULL, 631 | `expire_timeline` int(10) NOT NULL, 632 | `update_timeline` int(10) NOT NULL, 633 | PRIMARY KEY (`id`), 634 | UNIQUE KEY `user_id` (`user_id`) 635 | ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='登录令牌表'; 636 | /*!40101 SET character_set_client = @saved_cs_client */; 637 | 638 | -- 639 | -- Dumping data for table `lyj_token` 640 | -- 641 | 642 | LOCK TABLES `lyj_token` WRITE; 643 | /*!40000 ALTER TABLE `lyj_token` DISABLE KEYS */; 644 | INSERT INTO `lyj_token` VALUES (1,1,'f826ef30ddc531f51c107a8c18d8ff8',1473619585,1471027585),(2,2,'a01906',1473619585,1471027585); 645 | /*!40000 ALTER TABLE `lyj_token` ENABLE KEYS */; 646 | UNLOCK TABLES; 647 | 648 | -- 649 | -- Table structure for table `lyj_user` 650 | -- 651 | 652 | DROP TABLE IF EXISTS `lyj_user`; 653 | /*!40101 SET @saved_cs_client = @@character_set_client */; 654 | /*!40101 SET character_set_client = utf8 */; 655 | CREATE TABLE `lyj_user` ( 656 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 657 | `account` varchar(15) DEFAULT NULL, 658 | `password` varchar(32) DEFAULT NULL, 659 | `nick` varchar(15) NOT NULL, 660 | `face` varchar(255) DEFAULT NULL, 661 | `sex` int(2) DEFAULT '0', 662 | `device_id` varchar(20) NOT NULL, 663 | `is_forbidden` int(10) NOT NULL DEFAULT '0', 664 | `is_app` int(2) DEFAULT '0', 665 | `timeline` int(10) NOT NULL, 666 | PRIMARY KEY (`id`), 667 | UNIQUE KEY `account` (`account`) 668 | ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='用户表'; 669 | /*!40101 SET character_set_client = @saved_cs_client */; 670 | 671 | -- 672 | -- Dumping data for table `lyj_user` 673 | -- 674 | 675 | LOCK TABLES `lyj_user` WRITE; 676 | /*!40000 ALTER TABLE `lyj_user` DISABLE KEYS */; 677 | INSERT INTO `lyj_user` VALUES (1,'root','21232f297a57a5a743894a0e4a801fc3','纱幕下的人生','',1,'1163844562',0,0,0); 678 | /*!40000 ALTER TABLE `lyj_user` ENABLE KEYS */; 679 | UNLOCK TABLES; 680 | 681 | -- 682 | -- Table structure for table `open` 683 | -- 684 | 685 | DROP TABLE IF EXISTS `open`; 686 | /*!40101 SET @saved_cs_client = @@character_set_client */; 687 | /*!40101 SET character_set_client = utf8 */; 688 | CREATE TABLE `open` ( 689 | `id` varchar(50) NOT NULL, 690 | `name` varchar(50) NOT NULL, 691 | `mo` longtext NOT NULL 692 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 693 | /*!40101 SET character_set_client = @saved_cs_client */; 694 | 695 | -- 696 | -- Dumping data for table `open` 697 | -- 698 | 699 | LOCK TABLES `open` WRITE; 700 | /*!40000 ALTER TABLE `open` DISABLE KEYS */; 701 | /*!40000 ALTER TABLE `open` ENABLE KEYS */; 702 | UNLOCK TABLES; 703 | 704 | -- 705 | -- Table structure for table `openvpn` 706 | -- 707 | 708 | DROP TABLE IF EXISTS `openvpn`; 709 | /*!40101 SET @saved_cs_client = @@character_set_client */; 710 | /*!40101 SET character_set_client = utf8 */; 711 | CREATE TABLE `openvpn` ( 712 | `id` int(11) NOT NULL AUTO_INCREMENT, 713 | `iuser` varchar(16) NOT NULL, 714 | `isent` bigint(128) DEFAULT '0', 715 | `irecv` bigint(128) DEFAULT '0', 716 | `maxll` bigint(128) NOT NULL, 717 | `pass` varchar(18) NOT NULL, 718 | `i` int(1) NOT NULL, 719 | `starttime` varchar(30) DEFAULT NULL, 720 | `endtime` int(11) DEFAULT '0', 721 | `dlid` int(11) DEFAULT NULL, 722 | `fwqid` int(11) DEFAULT '1', 723 | `notes` varchar(255) DEFAULT NULL, 724 | `tian` float NOT NULL, 725 | `qian_date` date NOT NULL, 726 | `qian_num` float NOT NULL, 727 | `tj_user` text CHARACTER SET utf8 NOT NULL, 728 | `tj_ok` float NOT NULL, 729 | PRIMARY KEY (`id`), 730 | KEY `iuser` (`iuser`) 731 | ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4; 732 | /*!40101 SET character_set_client = @saved_cs_client */; 733 | 734 | -- 735 | -- Dumping data for table `openvpn` 736 | -- 737 | 738 | LOCK TABLES `openvpn` WRITE; 739 | /*!40000 ALTER TABLE `openvpn` DISABLE KEYS */; 740 | INSERT INTO `openvpn` VALUES (5,'943756780',0,0,1073741824,'123456',1,'1533088427',1533174827,NULL,1,'',1,'0000-00-00',0,'',0); 741 | /*!40000 ALTER TABLE `openvpn` ENABLE KEYS */; 742 | UNLOCK TABLES; 743 | 744 | -- 745 | -- Table structure for table `top` 746 | -- 747 | 748 | DROP TABLE IF EXISTS `top`; 749 | /*!40101 SET @saved_cs_client = @@character_set_client */; 750 | /*!40101 SET character_set_client = utf8 */; 751 | CREATE TABLE `top` ( 752 | `id` int(11) NOT NULL, 753 | `username` text NOT NULL, 754 | `data` bigint(20) NOT NULL, 755 | `time` text NOT NULL, 756 | UNIQUE KEY `id_2` (`id`), 757 | KEY `id` (`id`) 758 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 759 | /*!40101 SET character_set_client = @saved_cs_client */; 760 | 761 | -- 762 | -- Dumping data for table `top` 763 | -- 764 | 765 | LOCK TABLES `top` WRITE; 766 | /*!40000 ALTER TABLE `top` DISABLE KEYS */; 767 | /*!40000 ALTER TABLE `top` ENABLE KEYS */; 768 | UNLOCK TABLES; 769 | 770 | -- 771 | -- Table structure for table `website` 772 | -- 773 | 774 | DROP TABLE IF EXISTS `website`; 775 | /*!40101 SET @saved_cs_client = @@character_set_client */; 776 | /*!40101 SET character_set_client = utf8 */; 777 | CREATE TABLE `website` ( 778 | `id` int(2) NOT NULL, 779 | `logo` text CHARACTER SET utf8 NOT NULL, 780 | `title` text CHARACTER SET utf8 NOT NULL, 781 | `app1` text CHARACTER SET utf8 NOT NULL, 782 | `app2` text CHARACTER SET utf8 NOT NULL, 783 | `qq` text CHARACTER SET utf8 NOT NULL, 784 | `tel` text CHARACTER SET utf8 NOT NULL, 785 | `ipinfo` text CHARACTER SET utf8 NOT NULL, 786 | `appleid1` text CHARACTER SET utf8 NOT NULL, 787 | `appleps1` text CHARACTER SET utf8 NOT NULL, 788 | `appleid2` text CHARACTER SET utf8 NOT NULL, 789 | `appleps2` text CHARACTER SET utf8 NOT NULL, 790 | `appleid3` text CHARACTER SET utf8 NOT NULL, 791 | `appleps3` text CHARACTER SET utf8 NOT NULL, 792 | `and_img1` text CHARACTER SET utf8 NOT NULL, 793 | `and_img2` text CHARACTER SET utf8 NOT NULL, 794 | `and_img3` text CHARACTER SET utf8 NOT NULL, 795 | `and_img4` text CHARACTER SET utf8 NOT NULL, 796 | `jia1` text CHARACTER SET utf8 NOT NULL, 797 | `jia2` text CHARACTER SET utf8 NOT NULL, 798 | `jia3` text CHARACTER SET utf8 NOT NULL, 799 | `jia4` text CHARACTER SET utf8 NOT NULL, 800 | `seo` text CHARACTER SET utf8 NOT NULL, 801 | PRIMARY KEY (`id`) 802 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 803 | /*!40101 SET character_set_client = @saved_cs_client */; 804 | 805 | -- 806 | -- Dumping data for table `website` 807 | -- 808 | 809 | LOCK TABLES `website` WRITE; 810 | /*!40000 ALTER TABLE `website` DISABLE KEYS */; 811 | INSERT INTO `website` VALUES (0,'http://i.niupic.com/images/2016/08/05/ZEsqL4.png','小白免流™全新一代流控管理系统 ','https://www.pgyer.com/','http://fir.im/','943756780','943756780','121.41.*.* 浙江省杭州市 阿里云','cuod061@icloud.com','Dd112211','1335538902@qq.com','Aa20162016','hah4073@icloud.com','Dd112211','http://i.niupic.com/images/2016/08/15/YkoMbx.jpg','http://i.niupic.com/images/2016/08/15/BYwMZQ.jpg','http://i.niupic.com/images/2016/08/15/Egl15P.jpg','http://i.niupic.com/images/2016/08/15/rpb5BX.jpg','0','5','50','200','\r\n\r\n'); 812 | /*!40000 ALTER TABLE `website` ENABLE KEYS */; 813 | UNLOCK TABLES; 814 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; 815 | 816 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 817 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 818 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 819 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 820 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 821 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 822 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; 823 | 824 | -- Dump completed on 2018-08-01 9:57:02 825 | -------------------------------------------------------------------------------- /shell/xbmll/peizhi.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/peizhi.zip -------------------------------------------------------------------------------- /shell/xbmll/signer.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/signer.tar.gz -------------------------------------------------------------------------------- /shell/xbmll/squid.conf: -------------------------------------------------------------------------------- 1 | #kangml 2 | auth_param basic program /usr/lib64/squid/basic_ncsa_auth /etc/squid/auth_user 3 | auth_param basic children 5 4 | auth_param basic realm Welcome to pycredit's proxy-only web server 5 | #acl localhost src 127.0.0.1/32 6 | acl SSL_ports port 443 7 | acl Safe_ports port 80 # http 8 | acl Safe_ports port 21 # ftp 9 | acl Safe_ports port 443 # https 10 | acl Safe_ports port 70 # gopher 11 | acl Safe_ports port 210 # wais 12 | acl Safe_ports port 1025-65535 # unregistered ports 13 | acl Safe_ports port 280 # http-mgmt 14 | acl Safe_ports port 488 # gss-http 15 | acl Safe_ports port 591 # filemaker 16 | acl Safe_ports port 777 # multiling http 17 | acl CONNECT method CONNECT 18 | acl auth_user proxy_auth REQUIRED 19 | 20 | via off 21 | request_header_access X-Forwarded-For deny all 22 | request_header_access user-agent deny all 23 | reply_header_access X-Forwarded-For deny all 24 | reply_header_access user-agentdeny deny all 25 | 26 | http_port 80 27 | 28 | http_access allow auth_user 29 | http_access deny all 30 | 31 | cache_dir ufs /var/spool/squid 100 16 256 read-only 32 | cache_mem 0 MB 33 | coredump_dir /var/spool/squid 34 | access_log /var/log/squid/access.log 35 | visible_hostname www.juliwangluo.cn 36 | cache_mgr 943756780@qq.com 37 | #www.52yml.cn -------------------------------------------------------------------------------- /shell/xbmll/xb-lnmp.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/xb-lnmp.tar.gz -------------------------------------------------------------------------------- /shell/xbmll/xb-web5.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/xb-web5.zip -------------------------------------------------------------------------------- /shell/xbmll/xb1.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/xb1.apk -------------------------------------------------------------------------------- /shell/xbmll/xb2.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/xb2.apk -------------------------------------------------------------------------------- /shell/xbmll/xbws.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/shell/xbmll/xbws.apk -------------------------------------------------------------------------------- /xyr/apktool.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/apktool.jar -------------------------------------------------------------------------------- /xyr/app_api.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/app_api.zip -------------------------------------------------------------------------------- /xyr/auth_user: -------------------------------------------------------------------------------- 1 | xyr:$apr1$6PYMp9q3$B4irji4Jemk9QGIIkMoYu. -------------------------------------------------------------------------------- /xyr/autosign.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/autosign.zip -------------------------------------------------------------------------------- /xyr/backupsql.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | source /etc/openvpn/sqlmima 3 | basepath='/root/backup/mysql/' 4 | mysqldump -hlocalhost -P3306 -uroot -p$mima $databases >$basepath$databases-$(date +%Y%m%d%H).sql 5 | echo 数据库自动备份执行开始,备份的sql文件在 /root/backup/mysql 获取! 6 | exit 0; -------------------------------------------------------------------------------- /xyr/disconnect.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "OpenVPN连接处理接口 www.xiaoyangren.net">/dev/null 2>&1 3 | source /etc/openvpn/xyr.config 4 | user=$common_name 5 | info=$(mysql -h$db_host -P$db_port -u$db_user -p$db_pass -e "SELECT \`irecv\`,\`isent\` FROM $db_name.\`openvpn\` WHERE \`iuser\` = \"$user\" limit 1;" | tail -n 1) 6 | irecv=$(echo $info | awk {'print$1'}) 7 | isent=$(echo $info | awk {'print$2'}) 8 | recv=$[$irecv+$bytes_sent] 9 | sent=$[$isent+$bytes_received] 10 | mysql -h$db_host -P$db_port -u$db_user -p$db_pass -e "UPDATE $db_name.\`openvpn\` SET \`irecv\` = \"$recv\" , \`isent\` = \"$sent\" WHERE \`iuser\` = \"$user\" limit 1;" 11 | curl "http://192.168.1.1:81/app_api/top_api.php?name=$common_name&s=$bytes_sent&r=$bytes_received&version=1" 12 | -------------------------------------------------------------------------------- /xyr/disconnected.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #################################################################################################### 4 | # @ 如果出现不统计流量 那几乎是不可能是 只要这里正确对接就不会有问题 5 | # @ 本文件接管了流控的权限 所以不要问为什么 代码这么少 6 | 7 | 8 | # 【一般情况下 修改本文件后 请直接替换流控自带即可!!!!!!!】 9 | 10 | 11 | 12 | # @ 如果您的流控较为特殊 请您把代码中 version=2 改为=1 然后放在流控自带disconnect.sh最后一行即可 13 | # @ 记得给了本文件0777 权限后重启 yes 14 | # @这里强烈推荐手动个top_api.php改为其他名字(当然必须说.php结尾且云端中对应的文件也要修改)防止别人非法执行 15 | #---------------->>>切记 改top_api.php的名字 否则后果自负 16 | #################################################################################################### 17 | curl "http://192.168.1.1:8888/app_api/top_api.php?name=$common_name&s=$bytes_sent&r=$bytes_received&version=2" 18 | -------------------------------------------------------------------------------- /xyr/easy-rsa.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/easy-rsa.tar.gz -------------------------------------------------------------------------------- /xyr/errorpage.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1996-2016 The Squid Software Foundation and contributors 3 | * 4 | * Squid software is distributed under GPLv2+ license and includes 5 | * contributions from numerous individuals and organizations. 6 | * Please see the COPYING and CONTRIBUTORS files for details. 7 | */ 8 | 9 | /* 10 | Stylesheet for Squid Error pages 11 | Adapted from design by Free CSS Templates 12 | http://www.freecsstemplates.org 13 | Released for free under a Creative Commons Attribution 2.5 License 14 | */ 15 | 16 | /* Page basics */ 17 | * { 18 | font-family: verdana, sans-serif; 19 | } 20 | 21 | html body { 22 | margin: 0; 23 | padding: 0; 24 | background: #efefef; 25 | font-size: 12px; 26 | color: #1e1e1e; 27 | } 28 | 29 | /* Page displayed title area */ 30 | #titles { 31 | margin-left: 15px; 32 | padding: 10px; 33 | padding-left: 100px; 34 | background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left; 35 | } 36 | 37 | /* initial title */ 38 | #titles h1 { 39 | color: #000000; 40 | } 41 | #titles h2 { 42 | color: #000000; 43 | } 44 | 45 | /* special event: FTP success page titles */ 46 | #titles ftpsuccess { 47 | background-color:#00ff00; 48 | width:100%; 49 | } 50 | 51 | /* Page displayed body content area */ 52 | #content { 53 | padding: 10px; 54 | background: #ffffff; 55 | } 56 | 57 | /* General text */ 58 | p { 59 | } 60 | 61 | /* error brief description */ 62 | #error p { 63 | } 64 | 65 | /* some data which may have caused the problem */ 66 | #data { 67 | } 68 | 69 | /* the error message received from the system or other software */ 70 | #sysmsg { 71 | } 72 | 73 | pre { 74 | font-family:sans-serif; 75 | } 76 | 77 | /* special event: FTP / Gopher directory listing */ 78 | #dirmsg { 79 | font-family: courier; 80 | color: black; 81 | font-size: 10pt; 82 | } 83 | #dirlisting { 84 | margin-left: 2%; 85 | margin-right: 2%; 86 | } 87 | #dirlisting tr.entry td.icon,td.filename,td.size,td.date { 88 | border-bottom: groove; 89 | } 90 | #dirlisting td.size { 91 | width: 50px; 92 | text-align: right; 93 | padding-right: 5px; 94 | } 95 | 96 | /* horizontal lines */ 97 | hr { 98 | margin: 0; 99 | } 100 | 101 | /* page displayed footer area */ 102 | #footer { 103 | font-size: 9px; 104 | padding-left: 10px; 105 | } 106 | -------------------------------------------------------------------------------- /xyr/line.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/line.zip -------------------------------------------------------------------------------- /xyr/mproxy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/mproxy -------------------------------------------------------------------------------- /xyr/res.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/res.zip -------------------------------------------------------------------------------- /xyr/squid.conf: -------------------------------------------------------------------------------- 1 | #www.xiaoyangren.net 2 | auth_param basic program /usr/lib64/squid/basic_ncsa_auth /etc/squid/auth_user 3 | auth_param basic children 5 4 | auth_param basic realm Welcome to pycredit's proxy-only web server 5 | #acl localhost src 127.0.0.1/32 6 | acl SSL_ports port 443 7 | acl Safe_ports port 80 # http 8 | acl Safe_ports port 21 # ftp 9 | acl Safe_ports port 443 # https 10 | acl Safe_ports port 70 # gopher 11 | acl Safe_ports port 210 # wais 12 | acl Safe_ports port 1025-65535 # unregistered ports 13 | acl Safe_ports port 280 # http-mgmt 14 | acl Safe_ports port 488 # gss-http 15 | acl Safe_ports port 591 # filemaker 16 | acl Safe_ports port 777 # multiling http 17 | acl CONNECT method CONNECT 18 | acl auth_user proxy_auth REQUIRED 19 | 20 | via off 21 | request_header_access X-Forwarded-For deny all 22 | request_header_access user-agent deny all 23 | reply_header_access X-Forwarded-For deny all 24 | reply_header_access user-agentdeny deny all 25 | 26 | http_port 80 27 | 28 | http_access allow auth_user 29 | http_access deny all 30 | 31 | cache_dir ufs /var/spool/squid 100 16 256 read-only 32 | cache_mem 0 MB 33 | coredump_dir /var/spool/squid 34 | access_log /var/log/squid/access.log 35 | visible_hostname xiaoyangren.net 36 | cache_mgr admin@xiaoyangren.net -------------------------------------------------------------------------------- /xyr/tcpjiankong.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/tcpjiankong.zip -------------------------------------------------------------------------------- /xyr/udpjiankong.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/udpjiankong.zip -------------------------------------------------------------------------------- /xyr/v5.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/v5.apk -------------------------------------------------------------------------------- /xyr/xyr-web.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StrawDC/OpenVPN-server/18ebe162dd2440ce2d32c3561eb9762d156fa9fe/xyr/xyr-web.zip -------------------------------------------------------------------------------- /xyr/xyr.config: -------------------------------------------------------------------------------- 1 | #数据库地址 2 | db_host=localhost 3 | #数据库端口 4 | db_port=3306 5 | #数据库账号 6 | db_user=root 7 | source /etc/openvpn/xyr -------------------------------------------------------------------------------- /xyr/免责声明.md: -------------------------------------------------------------------------------- 1 | 使用声明&本项目免责声明 2 | 3 | 4 | 1、访问者在从事与本程序相关的所有行为(包括但不限于访问浏览、利用、转载、宣传介绍)时,必须以善意且谨慎的态度行事;访问者不得故意或者过失的损害或者弱化本程序的各类合法权利与利益,不得利用本程序以任何方式直接或者间接的从事违反中国法律、国际公约以及社会公德的行为,且访问者应当恪守下述承诺: 5 | 6 |    7 | 2、传输和利用信息符合中国法律、国际公约的规定、符合公序良俗; 8 | 9 |    10 | 3、不将本程序以及与之相关的网络服务用作非法用途以及非正当用途; 11 | 12 |    13 | 4、不干扰和扰乱本程序以及与之相关的网络服务; 14 | 15 |    16 | 5、遵守与本程序以及与之相关的网络服务的协议、规定、程序和惯例等。 17 | 18 |    19 | 6、本程序郑重提醒访问者:请在转载、上载或者下载有关作品时务必尊重该作品的版权、著作权;如果您发现有您未署名的作品,请立即和我们联系,我们会在第一时间加上您的署名或作相关处理。 20 | 21 |    22 | 7、除我们另有明确说明或者中国法律有强制性规定外,本程序用户原创的作品,本程序及作者共同享有版权,其他程序及传统媒体如需使用,须取得本程序的书面授权,未经授权严禁转载或用于其它商业用途。 23 | 24 |    25 | 8、本程序内容仅代表作者本人的观点,不代表本程序的观点和看法,与本程序立场无关,相关责任作者自负。 26 | 27 |    28 | 9、本程序有权将在本程序内发表的作品用于其他用途,包括程序、电子杂志等,作品有附带版权声明者除外。 29 | 30 |    31 | 10、使用本程序所带来的责任,由使用者承担 32 | 33 |    34 | 11、本程序所刊载的各类形式(包括但不仅限于文字、图片、图表)的作品仅供参考使用,并不代表本程序同意其说法或描述,仅为提供更多信息,也不构成任何投资建议。对于访问者根据本程序提供的信息所做出的一切行为,除非另有明确的书面承诺文件,否则本程序不承担任何形式的责任。 35 | 36 |    37 | 12、当本程序以链接形式推荐其他程序内容时,本程序并不对这些程序或资源的可用性负责,且不保证从这些程序获取的任何内容、程序、服务或其他材料的真实性、合法性,对于任何因使用或信赖从此类程序或资源上获取的内容、程序、服务或其他材料而造成(或声称造成)的任何直接或间接损失,本程序均不承担任何责任。 38 | 39 |    40 | 13、访问者在本程序注册时提供的一些个人资料,本程序除您本人同意及第十条规定外不会将用户的任何资料以任何方式泄露给任何一方。 41 | 42 |    43 | 14、当政府部门、司法机关等依照法定程序要求本程序披露个人资料时,本程序将根据执法单位之要求或为公共安全之目的提供个人资料。在此情况下之任何披露,本程序均得免责。 44 | 45 |    46 | 15、由于用户将个人密码告知他人或与他人共享注册账户,由此导致的任何个人资料泄露,本程序不负任何责任。 47 | 48 |    49 | 16、本程序有部分内容来自互联网,如无意中侵犯了哪个媒体、公司、企业或个人等的知识产权,请来电或致函告之,本程序将在规定时间内给予删除等相关处理,若有涉及版权费等问题,请及时提供相关证明等材料并与我们联系,通过友好协商公平公正原则处理纠纷。 50 | --------------------------------------------------------------------------------