陈公子的话 发表于 2021-3-28 09:44:16

问卷星协议

突然看到自己电脑的某个小角落 有前段时间写的一个半成品的问卷星自动提交为什么说是半成品.主要是因为提交多了会出验证。大概人机验证那种,阿里的 过不了 一点招也没,换IP换ua什么的没啥用。不过提交的所有参数已经分析出来分享一下⑧

!(data/attachment/forum/202103/28/093724xsyb6y96oej4ih9b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

这是我们所需要的参数 大部分都可以固定 或者直接取的

这里有点意思的是两个js

jsign的JS很简单 里面我记得涉及到ktimes,太懒了 直接写死值了



function dataenc(a) {
var c, d, e, b = 128 % 10;
for (0 == b && (b = 1), c = [], d = 0; d0) {
_0x5050a2 = _0x5050a2["split"]()["reverse"]()["join"]();
}

var _0xd16fcc = parseInt(_0x5050a2 + "89123");

var _0x149db2 = (_0xd16fcc + "" + (_0x4aaf4a + ""))["split"]();

var _0x1b3de6 = abcd4(_0x149db2, "kgESOLJUbB2fCteoQdYmXvF8j9IZs3K0i6w75VcDnG14WAyaxNqPuRlpTHMrhz");

var _0x3a5cf2 = _0xd16fcc + _0x4aaf4a + parseInt(activityId);

jqParam = abcd3(_0x3a5cf2, _0x1b3de6);

var _0x5d90fd = abcd5(jqParam);

jqParam = _0x5d90fd;
return jqParam

}



效果图:

!(data/attachment/forum/202103/28/094255q7asndanesx4fbdb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")


emmm...直接出验证了 之前是提交十来次才会出验证为啥会这样咱也不清楚 主要分享下加密的两个参数

陈公子的话 发表于 2021-3-28 09:44:56

jsignjs
function dataenc(a) {
var c, d, e, b = 128 % 10;
for (0 == b && (b = 1), c = [], d = 0; d < a.length; d++) e = a.charCodeAt(d) ^ b,
c.push(String.fromCharCode(e));
return c.join("")
}

function get(jqnonce) {
return encodeURIComponent(dataenc(jqnonce))
}

陈公子的话 发表于 2021-3-28 09:45:18

jqparmjs
function abcd1(_0x17164c) {
return abcd2(_0x17164c, 3597397);
}

function abcd2(_0x1b1e02, _0x23f273) {
if (!abcdx()) {
    return;
}

var _0x1f9ba1 = 2147483648;
var _0x3b83ae = 2147483647;

var _0x4ad458 = ~~ (_0x1b1e02 / _0x1f9ba1);

var _0x470088 = ~~ (_0x23f273 / _0x1f9ba1);

var _0x5bc159 = _0x1b1e02 & _0x3b83ae;

var _0x35dfa5 = _0x23f273 & _0x3b83ae;

var _0x353774 = _0x4ad458 ^ _0x470088;

var _0x4a742c = _0x5bc159 ^ _0x35dfa5;

return _0x353774 * _0x1f9ba1 + _0x4a742c;
}
function abcd3(_0x420610, _0x1b425f) {
if (_0x420610 - 62 < 0) {
    var _0xea36a8 = _0x1b425f["substr"](_0x420610, 1);

    return _0xea36a8;
}

var _0x45571c = _0x420610 % 62;

var _0x4e6181 = parseInt(_0x420610 / 62);

return abcd3(_0x4e6181, _0x1b425f) + _0x1b425f["substr"](_0x45571c, 1);
}
function abcd4(_0x11dbf0, _0x1558df) {
if (!abcdx()) {
    return;
}

var _0x556c7b = _0x1558df["split"]("");

var _0x27312b = _0x1558df["length"];

for (var _0x107cfb = 0; _0x107cfb < _0x11dbf0["length"]; _0x107cfb++) {
    var _0x410c33 = parseInt(_0x11dbf0);

    var _0x43a652 = _0x556c7b;
    var _0x433a77 = _0x556c7b;
    _0x556c7b = _0x433a77;
    _0x556c7b = _0x43a652;
}

_0x1558df = _0x556c7b["join"]("");
return _0x1558df;
}
function abcd5(_0x5565b6) {
if (!abcdx()) {
    return;
}

var _0x546e81 = 0;

var _0x5ed7b1 = _0x5565b6["split"]("");

for (var _0x28a6c3 = 0; _0x28a6c3 < _0x5ed7b1["length"]; _0x28a6c3++) {
    _0x546e81 += _0x5ed7b1["charCodeAt"]();
}

var _0x5af006 = _0x5565b6["length"];

var _0x5258e0 = _0x546e81 % _0x5af006;

var _0x2b24c5 = [];

for (var _0x28a6c3 = _0x5258e0; _0x28a6c3 < _0x5af006; _0x28a6c3++) {
    _0x2b24c5["push"](_0x5ed7b1);
}

for (var _0x28a6c3 = 0; _0x28a6c3 < _0x5258e0; _0x28a6c3++) {
    _0x2b24c5["push"](_0x5ed7b1);
}

return _0x2b24c5["join"]("");
}
function abcdu(_0x92722d) {
var _0x2eb3ad = -480;

var _0x3a4ef4 = new Date()["getTimezoneOffset"]();

var _0x58cdae = _0x2eb3ad - _0x3a4ef4;

return _0x92722d["getTime"]() / 1000 + _0x58cdae * 60;
}

function abcdx() {

return true;
}
function _0x3ef545(rndnum,time,activityId) {

var _0x3098bf = rndnum["split"](".");

var _0x4aaf4a = abcd1(parseInt(_0x3098bf));

var _0x149db2 = (_0x4aaf4a + "")["split"]("");

var _0x5b9ae2 = time;

var _0x4eae39 = abcdu(new Date(_0x5b9ae2["replace"](new RegExp("-", "gm"), "/")));

var _0x5050a2 = _0x4eae39 + "";

if (_0x4eae39 % 10 > 0) {
    _0x5050a2 = _0x5050a2["split"]("")["reverse"]()["join"]("");
}

var _0xd16fcc = parseInt(_0x5050a2 + "89123");

var _0x149db2 = (_0xd16fcc + "" + (_0x4aaf4a + ""))["split"]("");

var _0x1b3de6 = abcd4(_0x149db2, "kgESOLJUbB2fCteoQdYmXvF8j9IZs3K0i6w75VcDnG14WAyaxNqPuRlpTHMrhz");

var _0x3a5cf2 = _0xd16fcc + _0x4aaf4a + parseInt(activityId);

jqParam = abcd3(_0x3a5cf2, _0x1b3de6);

var _0x5d90fd = abcd5(jqParam);

jqParam = _0x5d90fd;
return jqParam

}

王一之 发表于 2021-3-28 10:02:38

可以用md编辑器放代码的

陈公子的话 发表于 2021-3-28 11:22:39

王一之 发表于 2021-3-28 10:02
可以用md编辑器放代码的

了解了哥哥!
页: [1]
查看完整版本: 问卷星协议