lua-rebel-license-server
Jrebel & XRebel License Server for Lua(support Jrebel,JRebel for Android,XRebel Local)
$ opm get anjia0532/lua-rebel-license-server
介绍(introduce)
Jrebel & XRebel License Server for Lua(support Jrebel,JRebel for Android,XRebel Local)
> Lua 版的 Jrebel 和 XRebel 授权服务器(支持 Jrebel,Jrebel for Android,Xrebel Local)
鸣谢(Thanks)
Thanks for ilanyu and gsls200808 and yu-xiaoyao
NOTE: This is provided for educational purposes only. Please support genuine.
> 非常感谢 ilanyu 和 gsls200808 (本项目逻辑部分全部移植自https://gitee.com/gsls200808/JrebelLicenseServerforJava ,本项目只做了java to lua工作) 和 yu-xiaoyao/jrebel-license-active-server
> 注意: 本项目仅适用于教育用途,请支持正版
依赖(Prerequisites)
install openresty > 安装openresty
安装(Install)
# opm install
# opm get anjia0532/lua-rebel-license-server
# or luarocks install
# luarocks config lua_modules_path "" && luarocks install --tree /usr/local/openresty/site/lualib/ lua-rebel-license-server
# or wget install
wget -P /path/to/lualib/resty/ https://raw.githubusercontent.com/spacewander/lua-resty-rsa/refs/heads/master/lib/resty/rsa.lua
wget -P /path/to/lualib/resty/ https://raw.githubusercontent.com/anjia0532/lua-rebel-license-server/master/lib/resty/jrebel-license.lua
用法(Synopsis)
-- nginx.conf
lua_package_path "/usr/local/openresty/site/lualib/?.lua;;"; -- include resty/rsa.lua resty/jrebel-license.lua
server {
location = / {
content_by_lua_block{
local cjson = require 'cjson'
local jrebel = require 'resty.jrebel-license.lua'
ngx.print(jrebel.handler())
}
}
}
docker run -d -p80:80 --name openresty --rm -v $(pwd)/docker/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf openresty/openresty:alpine-fat
docker exec openresty opm get anjia0532/lua-rebel-license-server
docker exec openresty openresty -s reload
JRebel 7.1 and earlier version Activation address was: $scheme://$host[:$port]/{tokenname}, with any email.
> JRebel 7.1 以及更早的版本激活地址 $scheme://$host[:$port]/{tokenname}
以及任意的email地址(可以是不存在的)
JRebel 2018.1 and later version Activation address was: $scheme://$host[:$port]/{guid}
(eg: $scheme://$host[:$port]/dd5f6ce0-8ed9-11e8-9eb6-529269fb1459
), with any email.
> JRebel 2018.1 以及更高版本激活地址 $scheme://$host[:$port]/{guid}
例如 http://8.8.8.8/dd5f6ce0-8ed9-11e8-9eb6-529269fb1459
以及任意的email地址 (uuid在线生成 https://www.uuidgenerator.net/)
支持产品(Support)
注意事项(Note)
Thanks for ilanyu and gsls200808 and yu-xiaoyao
NOTE: This is provided for educational purposes only. Please support genuine.
> 非常感谢 ilanyu 和 gsls200808 (本项目逻辑部分全部移植自https://gitee.com/gsls200808/JrebelLicenseServerforJava ,本项目只做了java to lua工作) 和 yu-xiaoyao/jrebel-license-active-server
> 注意: 本项目仅适用于教育用途,请支持正版
反馈(Feedback)
如果有问题,欢迎提 [issues][]
Copyright and License
This module is licensed under the BSD license.
Copyright (C) 2017-, by AnJia <anjia0532@gmail.com>.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[issues]: https://github.com/anjia0532/lua-rebel-license-server/issues/new
Authors
AnJia(anjia0532@gmail.com)
License
2bsd
Dependencies
likun123687/lua-resty-rsa >= 1.1.1
Versions
-
Jrebel & XRebel License Server for Lua(support Jrebel,JRebel for Android,XRebel Local) 2025-09-11 09:33:21
-
Jrebel & XRebel License Server for Lua(support Jrebel,JRebel for Android,XRebel Local) 2025-09-09 03:58:31