Skip to content

Ahref-Group/SS-Panel-smarty-Edition

 
 

Repository files navigation

A simple front-end of Shadowsocks manyuser. This Version is based on xuanhuan's SS-Panel-smarty.

*最后更新于2019年11月12日,该更新完整实现用户自定义SSR的协议与混淆。

Great thanks to kot4ri xiaoxin and others for their help with fixing bugs and updating functions.

炒鸡感谢 kot4ri xiaoxin 两位大佬不停的给我们这个版本修复Bug和更新内容!! SS-Panel-smarty-Edition

重要/Important!

This edition requires Chrome or FireFox for compatible functioning and surfing.
为保证兼容性,请使用 Chrome 或 FireFox。

Please edit the file /lib/config-sample.php upon your own need, when you finished, rename the file to /lib/config.php. Set $site_url as your website address, and be sure that it contains a / at the end of your URL.
请按需修改 /lib/config-sample.php 的设置,然后把文件重命名成 /lib/config.php。注意在填写网站网址$site_url的时候在结尾加一个 /

Please rename the /lib/Ss/Code/config-sample.php to /lib/Ss/Code/config.php. 请重命名 /lib/Ss/Code/config-sample.php/lib/Ss/Code/config.php

Please make sure that /lib/Ss has the permission to read & write. If not, please set it for convenience.
请确保目录 /lib/Ss 有读写权限,如果没有请改一下。

Please rename the/tools, or you may be reset to another malicious.
请重命名/tools,否则可能被他人恶意重置流量。

Add SSR support,It can now be confused with manyuser protocol/obfs/method.Function has been implemented.The default configuration is auth_chain_a/tls1.2_ticket_auth/none.
添加了SSR支持,现在可以使用多用户多协议混淆和加密了。功能已经完整实现。默认配置是auth_chain_a/tls1.2_ticket_auth/none *请务必将服务端下的apiconfig.py中API_INTERFACE修改为legendsockssr。

when the node is added if the agreement and confusion for the original or not, then the output SS QRCode.
添加节点时若协议和混淆为原版或不填写,则输出SS二维码。

========

AdminSystem

Please use the invite code to register and set your account as admin in your database.

新版密码加密方式说明

Please change the encrypted salt in /lib/config.php. We offer「salt sha256」encrytion.

注意/Attention!:

  • The $salt value can not be changed after it has been set!
    $salt在被设置以后不能再次修改!

  • If you are upgrading from v2.4 or earlier version, you have to change pass to 64. 如果原来为 2.4 之前的版本,需要将pass字段的长度修改为64

  • 增加 Nginx 的配置文件 tpl.conf,用于防止直接访问模板文件。 放在当前网站Nginx 配置文件相同目录,然后打开原来的配置文件,找到当前域名的server { } 在里面粘贴:include tpl.conf;

  • 增加Apache 的配置文件 .htaccess,用于防止直接访问模板文件,放在当前目录。

需求/Requirements

  • PHP >= 5.4
  • PDO Extension
  • MCrypt Extension
  • Mysql >= 5.1

安装/Install

  • Import sql/*.sql to your MySQL Database
    sql/*.sql 导入到 MySQL。

  • Rename lib/config-sample.php && lib/Ss/Code/config-sample.php to config.php, and edit the infomation in lib/config.php.

  • IMPORTANT:DON'T MANUALLY change lib/Ss/Code/config.php after doing above!

  • IMPORTANT:DON'T MANUALLY change lib/Ss/Code/config.php after doing above!

  • IMPORTANT:DON'T MANUALLY change lib/Ss/Code/config.php after doing above!

  • Enjoy it.

管理员/Admin

  • The user whose uid is 1 is the admin by default.
    UID 为 1 的用户默认为管理员
  • You can Add User ID into table ss_user_admin
    你可以在 ss_user_admin 表里添加管理员。

节点负载/Load status in Node List

节点列表查看节点负载等信息 The following helps you to show load status in Node List page.

  • For Ubuntu/Debian:
$ apt-get install gcc python-dev
$ pip install psutil
  • For Centos:
$ yum install gcc python-devel
$ pip install psutil
  • /admin/中添加节点
    Add node information in /admin
  • serverinfo.py上传至节点服务器
    Upload serverinfo.py on to your server.
  • 修改serverinfo.pyposturl为你的站点地址,server_id为当前节点对应的ID(/admin/node.php第一列)
    In serverinfo.py, use your website's url as posturl, and use node ID (First column in /admin/node.php) as server_id.
  • 运行
    Run.
$ python serverinfo.py //本脚本可独立于Shadowsocks服务端运行/The script can be used independently of Shadowsocks server.
  • 如运行没有问题,请使用nohup/supervisor/screen等后台守护运行,此处不再详述 If there are no problem running the process, please use nohup/supervisor/screen or similar tools to keep the process running in the background.

到期时间与套餐等相关/Information about plan_end_time && plans (and so on)

参阅:/See:

https://github.com/Ahref-Group/SS-Panel-smarty-Edition/issues/26

使用 mail-gun 发邮件/Send mail using mail-gun

运行/Run:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar  install

感谢/Thanks

About

Forked from https://github.com/xuanhuan/ss-panel . 加了兑换码功能、商城系统还有服务器信息新界面等等等等。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 66.8%
  • CSS 14.2%
  • Smarty 10.0%
  • JavaScript 8.4%
  • TSQL 0.4%
  • Python 0.2%