本程序压制资源,资源更新列表接口制作方法

八神 5月前 401

公布本程序资源更新接口列表以及只做方法,以安民心,

不像某狮更新跳转代码进去。


本程序更新资源接口地址:

http://gx.naichaapi.me/


内容如下:

{"version": "2021-12-20", "zip": ["http:\/\/gx.naichaapi.me\/2021-12-20\/1.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/2.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/3.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/4.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/5.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/6.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/7.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/8.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/9.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/10.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/11.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/12.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/13.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/14.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/15.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/16.zip", "http:\/\/gx.naichaapi.me\/2021-12-20\/17.zip"], "bug": "", "Statistics": "http:\/\/tj.naichaapi.me\/boos\/20190928.js", "zhiboapi": "http:\/\/live.9ccmsapi.com1\/zhibo1.0", "txtapi": "https:\/\/js.dw522.com1\/Js-", "imgapi": "https:\/\/js.dw522.com1\/Js-"}



version": "2021-12-20",

本行与NCSQL.NCSQL对应,

如NCSQL.NCSQL里的日期小于version,将会按照列表更新zip(解压后是txt)



其中,zip部分为/NCSQL/Home下的txt打包,

修改接口在本程序的/NCSQL目录下的API.KEY

目前本程序的加密方式是base64循环10次,

即:


http://gx.naichaapi.me/ 经过base64编码10次,得出结果:

Vm0wd2VHUXhTWGhpUm1SWVYwZDRWVll3Wkc5WFJsbDNXa1pPVlUxV2NIcFhhMk0xVmpKS1NHVkdXbFppVkVaSVdWZDRTMk14VG5OWGJGcHBWa1phZVZadGVHdFRNVWw0Vkc1T2FWSnNXbGhaYTJoRFZGWmFjbHBFVWxSTmF6RTBWa2MxUzJGV1NuTlhiR2hYWWxoU00xVXhXbXRXTVZwMFVteFNhVlpyV1RCV01uUnZWREpHVjFOdVVsWmlSa3BvVm1wT1UxSXhjRlpYYlVacVZtczFlRlpYZUc5aFZscHlWMVJDVjAxdVVuWlZha1poVjBaT2NtSkdTbWxTTW1ob1ZtcENiMUV4U2tkVmJrcFlZbGhTY1ZsclduZE5SbFowVFZSQ1ZXSkdjREZWVjNSdlZqRktSbGR0YUZwbGExcFlXa1ZhVDJNeVJraGxSbEpUVmxoQ1dsWXhaRFJpTVZWM1RVaG9hbEp0YUhOVmFrNVRZMVpTVjFkdVpHeFdiRXA2Vm14U1IxWXdNVVZTYkdSWFRWWktTRlpxUm1GT2JFcFpXa1p3YkdFeGNGbFhXSEJIWVRKT2MxZHVUbFJpUjFKVVZGUkJkMDFSUFQwPQ==



PHP转码相关代码如下:

JURL.php文件


<?php

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);

$jurl=base64_decode($jurl);




最新回复 (0)
返回
发新帖