这款源码有一个文件有加密,其他的都是开源的,不影响二开,功能也满足日常所需,前端挺简洁美观,支持查询授权、卡密兑换授权、程序下载,更换授权等,自适应手机/电脑端
测试环境:MySQL5.6,PHP7.0
授权支持自定义设置到期时间
支持盗版入库,程序没有授权被使用,会在后台自动生成一个域名访问记录
支持卡密授权
提供授权验证代码,可以直接插入需要授权的程序里
目前支持卡密兑换和后台手动增加,有代理功能,独立代理后台,代理可以无限生成卡密
前台支持自助更换授权,可批量生成,支持自定义设置到期时间
支持代理功能
更新记录:
1.2.0:
6.29更新
1.新增盗版入库功能
1.2.1
7.13更新
1.新增绑定IP功能,双重验证
2.新增验证域名,文件下载功能
3.优化UI
4.修复部分已知bug
1.2.2
8.2更新
1.支持IP或者域名单独授权
![图片[1]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202157807-image-1024x677.png)
![图片[2]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202203104-image-1024x678.png)
![图片[3]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202209345-image-1024x767.png)
![图片[4]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202215232-image-1024x504.png)
![图片[5]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202220852-image-1024x504.png)
![图片[6]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202226407-image-1024x504.png)
![图片[7]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202231922-image-1024x504.png)
![图片[8]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202236143-image-1024x504.png)
![图片[9]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202242482-image.png)
![图片[10]-PHP域名授权验证系统1.2开源版-狗窝源码站](https://gwrj6.cn/wp-content/uploads/2025/08/20250822202249251-image.png)
define('AUTH_SERVER', 'http://域名/auth_server.php');
define('AUTH_KEY', '113300');
function check_auth() {
$domain = str_replace('www.', '', $_SERVER['HTTP_HOST']);
$auth = json_decode(@file_get_contents(AUTH_SERVER.'?domain='.urlencode($domain)), true) ?: [];
return $auth['status'] === 'success'
&& hash_equals(hash_hmac('sha256', $auth['token'], AUTH_KEY), $auth['signature'])
&& ($data = json_decode(base64_decode($auth['token']), true))
&& $data['domain'] === $domain
&& $data['expires'] > time();
}
if (!check_auth()) {
http_response_code(403);
exit('<h1>授权验证失败</h1><p>请访问狗窝源码站</p>');
}
© 版权声明
THE END


















暂无评论内容