827 Commits

Author SHA1 Message Date
xiaomlove 5c4c2ccf8f fix rss download link + migrate bencode to rhilip/bencode 2021-06-09 02:23:09 +08:00
xiaomlove bf49c8c298 add seeders and migrations + rhilip/bencode 2021-06-08 20:43:47 +08:00
xiaomlove 6361f96d62 rename: 2021-06-08 10:42:39 +08:00
xiaomlove 0e05e6c061 details.php add magic 2021-06-08 02:01:35 +08:00
xiaomlove 25db588c95 log not register torrent info_hash 2021-06-06 01:30:59 +08:00
xiaomlove 97d3de5e59 improve announce log, add current user 2021-06-06 01:03:33 +08:00
xiaomlove 4953674077 improve announce log, add $_GET 2021-06-06 00:51:48 +08:00
xiaomlove 781333e901 improve announce log 2021-06-06 00:40:28 +08:00
xiaomlove 6b7fb5000e fix https_announce_url 2021-06-05 22:41:27 +08:00
xiaomlove 2ce9f5105f sticky background color 2021-06-05 15:50:23 +08:00
xiaomlove 34a6c2e1f4 prepare for beta8 2021-06-04 21:04:12 +08:00
xiaomlove 96f78f6dd8 fix offers.php + update support enum 2021-06-04 10:26:34 +08:00
xiaomlove cf4479ebea reset authkey + rss download link use downhash 2021-06-04 02:18:34 +08:00
xiaomlove e25fddcbe0 fix message: invalid authkey 2021-06-03 21:18:36 +08:00
xiaomlove ed68efeeea tracker support authkey 2021-06-03 21:13:59 +08:00
xiaomlove 5c77741e90 fix: reprot.php 2021-06-03 09:52:07 +08:00
xiaomlove 5fdeaafd9e torrent downhash encrypt by hashids 2021-06-02 19:01:28 +08:00
xiaomlove 1985585e22 downhash 2021-06-02 08:44:22 +08:00
xiaomlove 5760adc0c4 change torrent pos_state to varchar, support more sticky level 2021-06-01 01:28:46 +08:00
xiaomlove 3a54de8be7 add special section 2021-05-29 18:26:04 +08:00
xiaomlove 48259ab387 Merge branch 'promotion' into php8 2021-05-28 16:59:28 +08:00
xiaomlove 4e85c48c70 userdetails show vip until 2021-05-28 16:50:17 +08:00
xiaomlove 4cde957edb Merge branch 'promotion' into php8 2021-05-28 00:53:12 +08:00
xiaomlove f45196c556 fix: cleanup 2021-05-27 14:11:44 +08:00
xiaomlove 5c4c1ddb92 Merge branch 'promotion' into php8 2021-05-27 00:23:49 +08:00
xiaomlove d7690b45fd fix staff.php undefined constant 2021-05-27 00:21:14 +08:00
xiaomlove a840633ff2 Merge branch 'promotion' into php8 2021-05-26 21:46:01 +08:00
xiaomlove a4c9a40cdd increase main width to 1200 2021-05-26 21:38:39 +08:00
xiaomlove f0e5ad5b6c add promotion 2021-05-26 20:56:03 +08:00
xiaomlove 51b3582090 searchbox model 2021-05-20 17:14:38 +08:00
CZ ce05680219 修复3个安全漏洞 (#15)
* 修复趣味盒未授权访问漏洞

趣味盒页面未做鉴权游客可以任意查看或发送内容

* 修复sql注入漏洞

* 修复sql注入 详见描述

代码第19行		if (!is_valid_id($class) && $class != 0)
如果class 为"sleep(5)" 虽然过不了is_valid_id校验 但是由于php 弱类型 非数字开头的字符串 最终会判断为 $class = 0 绕过了校验
另外建议is_valid_id 改为更直接的intval 将用户输入的的数据强制转换成int 防止sql注入
2021-05-19 13:49:41 +08:00
xiaomlove 33e99516b6 torrent api + swip constants 2021-05-15 19:29:44 +08:00
xiaomlove 73f9920e1f enable user handle leechwarn 2021-05-15 12:59:59 +08:00
xiaomlove 682cf806d7 migrate disable&enable user basic 2021-05-15 03:21:06 +08:00
xiaomlove 6c85176e2f fix warning 2021-05-14 11:04:03 +08:00
xiaomlove 0742ed33f8 fix torrent_info.php 404 2021-05-14 01:20:41 +08:00
xiaomlove 514294530c fix warning: Undefined array key 2021-05-14 01:00:59 +08:00
xiaomlove 12b370f2e8 db structure add table user_ban_logs 2021-05-14 00:31:37 +08:00
xiaomlove 8963058463 add user ban log from cleanup.php 2021-05-13 21:31:09 +08:00
xiaomlove 70f1f31dcc user ban log 2021-05-12 13:45:00 +08:00
xiaomlove 0aa0d7afa7 invite after signup do not delete 2021-05-11 02:44:43 +08:00
xiaomlove fa57e78c74 backup add feature: upload to google drive 2021-05-11 01:41:58 +08:00
xiaomlove 3e4471f533 add-filesystem-google-drive 2021-05-10 20:05:52 +08:00
xiaomlove 3853b95adc fix location.php config() error 2021-05-07 02:33:17 +08:00
xiaomlove ca07078415 update exam progress seed bonus 2021-05-05 22:28:19 +08:00
xiaomlove 9be4043031 invite signup check code's owner 2021-05-04 14:21:18 +08:00
xiaomlove a46256e019 tracker support ipv6 2021-05-01 02:02:01 +08:00
xiaomlove a1972ea288 [exam] add progress 2021-04-29 02:52:22 +08:00
xiaomlove 959db3cff2 reset-admin 2021-04-21 19:54:50 +08:00
xiaomlove c7a6616618 nexus clients 2021-04-21 00:07:32 +08:00