Comments (13)
@Attt 大佬给点思路?
from anyproxy-fgo-rule.
我分别拆了fgo1.20.2和1.21.0的包,发现多了一个MD5.class,我推测那个sign值就是用MD5算出来的。
接下来需要看哪些函数调用了MD5的计算。
from anyproxy-fgo-rule.
没有那么简单。。。fgo又加了一层壳。
B站做不成,请网易做得2333
from anyproxy-fgo-rule.
稍微继续看了一下才知道,我只是个弟中弟。。。
我上面说的都是狗屎!
from anyproxy-fgo-rule.
据说直接把sign删除就可以
某隔壁群看到的
本人代码萌新 还望大佬教下如何写成脚本
from anyproxy-fgo-rule.
很有道理,这样写的确可以。这是个百倍ATK的例子
module.exports = { * beforeSendResponse(requestDetail, responseDetail) {
if ((requestDetail.url.indexOf('ac.php') != -1) && (requestDetail.requestData.indexOf('key=battlesetup') != -1 || requestDetail.requestData.indexOf('key=battleresume') != -1)) {
const newResponse = responseDetail.response;
var newbodyString = newResponse.body.toString();
var dec = new Buffer(newbodyString.replace(/%3D/g, '='), 'base64').toString();
var decJson = JSON.parse(dec);
decJson['cache']['replaced']['battle'][0]['followerType'] = 1;
var svts = decJson['cache']['replaced']['battle'][0]['battleInfo']['userSvt'];
for (var i = 0; i < svts.length; i++) {
if (svts[i]['hpGaugeType'] != undefined) {
svts[i]['maxActNum'] = 1;
svts[i]['chargeTurn'] = 6;
}
if (svts[i]['status'] != undefined && svts[i]['userId'] != undefined && svts[i]['userId'] != '0' && svts[i]['userId'] != 0) {
var ohp = Number(svts[i]['hp']);
hp = 200000;
if (typeof svts[i]['hp'] === 'number') {
svts[i]['hp'] = String(hp);
} else {
svts[i]['hp'] = hp;
}
var oatk = Number(svts[i]['atk']);
atk = oatk * 100;
if (typeof svts[i]['atk'] === 'number') {
svts[i]['atk'] = String(atk);
} else {
svts[i]['atk'] = atk;
}
svts[i]['skillLv1'] = '10';
svts[i]['skillLv2'] = '10';
svts[i]['skillLv3'] = '10';
svts[i]['treasureDeviceLv'] = '5';
}
}
decJson['cache']['replaced']['battle'][0]['battleInfo']['userSvt'] = svts;
delete decJson['sign'];
var encStr = JSON.stringify(decJson);
var preStr = '\\u';
var cnReg = /[\u0391-\uFFE5]/gm;
if (cnReg.test(encStr)) {
var encStr = encStr.replace(cnReg,
function(str) {
return preStr + str.charCodeAt(0).toString(16)
});
}
encStr = encStr.replace(/\//g, '\\\/');
var enc = new Buffer(encStr).toString('base64');
enc = enc.replace(/=/g, '%3D');
var b = new Buffer(enc);
newResponse.body = b;
return {
response: newResponse
};
}
},
};
from anyproxy-fgo-rule.
delete decJson['sign'];
也就加了这句话2333
from anyproxy-fgo-rule.
感谢 大大 我就是不知道该怎么加那句话2333找表头什么的也没找到
from anyproxy-fgo-rule.
我也是现学的2333
我之前想的太复杂了,没想到直接删了就好。。。
from anyproxy-fgo-rule.
@ZizhuoWang 直接删除就行了吗。。
from anyproxy-fgo-rule.
@Chrischenx @ZizhuoWang 6666 -v-
今天刚想上线没想到竟然加了签名,然而B站程序员竟然没有对sign进行判空逻辑。。。
虽然感觉下个更新要gg...
from anyproxy-fgo-rule.
是啊,趁着能用赶快提高练度😂
from anyproxy-fgo-rule.
不会添加语句 绝望的眼神QAQ
from anyproxy-fgo-rule.
Related Issues (17)
- 大佬好强啊 HOT 3
- error 1.21 HOT 5
- fiddlerScript.js HOT 2
- 关于Fiddler中的%3D问题
- 且用且珍惜 HOT 3
- 自己研究的新功能 HOT 3
- 科技还没凉透,整合版genymotion专用ova包了解一下 HOT 8
- 从上一次更新之后貌似直接删掉sign就不行了。
- 修改了一下fgo.js, 使之能处理国服的新圣杯战线 HOT 1
- 留下使用方法,有缘人看到这里可以试试 HOT 7
- 是失效了吗还是我的配置问题? HOT 13
- 关于anyproxy缓存问题 HOT 1
- 撤退胜利科技示例 HOT 7
- 在安卓手机本机跑科技服务器 HOT 12
- IOS测试时永远跑芙芙 HOT 8
- 如何修改英灵携带的礼装 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anyproxy-fgo-rule.