吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 421|回复: 0
收起左侧

[经验求助] js逆向遇到的数据库问题

[复制链接]
shiyier 发表于 2024-5-5 12:53
25吾爱币
小程序请求链接:aHR0cHM6Ly9zMy5teWNsb3Vkc3R1ZHkuY29tLw==
小程序名称:我的云学习
请求接口返回值加密:
请求链接:aHR0cHM6Ly9kMy5teWNsb3Vkc3R1ZHkuY29tL20vZXgvZXhlcmNpc2UvZ2V0Q2hhcHRlclN1bS84OTI4NjIxP190PTkwNTk=
返回值:TOphRmluZzIwMpzetBBqKFLvjot3t0A/EPvaxSWEZZXiv3olECOadyQKGEnsfGqCcKNOz6dxejhAtXOECAFEjb52ByUpMeoEbwfQ1ZDdEb/HJfBND3d0fSYvC0EAFEk2Qr9WS0kCEiXRqFevv8nB77xTIvXP8v4w3RbdpID2l3jWg5WONxypqBY9ekh8MiQ8lqI7eWT+SphifL32mCFKu9uoeByDi78sidISRLFL4E/qvhm3G4y/ypF8S6w/xVFHyIC7CepctdwtJVh+wLbAmklLACJ3YupRV8M5EekxOxYMJfKCOhD/zcX/WKPLwcpoZ44yDe86Jco6ka76eGtRXVm+JjWcIRc8qmHkpT9YXqTm8BRWMi/M6AlbFCfcYRSMiwVZ9LYo/63 ALGejcyLFeGfm2YP/IgsAYqKHcrggHh28XtxBoN9a6d/guBvUYMTRt6E2OVdFQYYtRZIsU75JdqD/X6J4xqerQ5oVRhAor5Me9/croKUtXh+4 phX08WdRaayeakat2ReREDYwTA==

改链接请求后返回加密的值,经过处理已经可以解密第一层:
[Python] 纯文本查看 复制代码
{
  options: { chunkSize: 65536, windowBits: 47, to: 'string' },
  err: 0,
  msg: '',
  ended: true,
  chunks: [],
  strm: DS {
    input: Uint8Array(358) [
       31, 139,   8,   0,   0,   0,   0,   0,   0,   0, 100, 148,
       77,  78, 196,  48,  12, 133, 239, 146, 117,  22, 249, 113,
      ... 258 more items
    ],
    next_in: 358,
    avail_in: 0,
    total_in: 358,
    output: Uint8Array(65536) [
      123,  34,  99, 111, 100, 101,  34,  58,  48,  44,  34, 100,
      ... 65436 more items
    ],
    next_out: 0,
    avail_out: 65536,
    total_out: 1159,
    msg: '',
    state: null,
    data_type: 64,
    adler: 329845548
  },
  header: MS {
    text: 0,
    time: 0,
    xflags: 0,
    os: 0,
    extra: null,
    extra_len: 0,
    name: null,
    comment: null,
    hcrc: 0,
    done: true
  },
  result: '{"code":0,"data":{"cardId":8928621,"cardNum":37013810,"chapterId":317657,"choiceLines":"1318,50350515,1,,,,,,
                                                                                                                       ,,,,,0|1319,50350516,1,,,,,,,,,,0|1320,50350517,1,,,,,,,,,,0|1321,50350521,1,,,,,,,,,,0|1322,50350523,1,,,,,,,,,,0|1338,5
                                                                                                                       50350541,1,,,,,,,,,,0|1339,50350542,1,,,,,,,,,,0|1340,50350543,1,,,,,,,,,,0|1341,50350544,1,,,,,,,,,,0|1342,50350547,1,,,
                                                                                                                       ,,,,,,,,0|1343,50350558,1,,,,,,,,,,0|1344,50350559,1,,,,,,,,,,0|1345,50350561,1,,,,,,,,,,0|1346,50350563,1,,,,,,,,,,0|134
                                                                                                                       47,50350564,1,,,,,,,,,,0|1348,50350565,1,,,,,,,,,,0|1349,50350566,1,,,,,,,,,,0|2060,50350518,2,,,,,,,,,,0|2061,50350519,2
                                                                                                                       2,,,,,,,,,,0|2062,50350520,2,,,,,,,,,,0|2063,50350522,2,,,,,,,,,,0|2066,50350545,2,,,,,,,,,,0|2067,50350546,2,,,,,,,,,,0|
                                                                                                                       |2068,50350548,2,,,,,,,,,,0|2069,50350549,2,,,,,,,,,,0|2070,50350550,2,,,,,,,,,,0|2071,50350551,2,,,,,,,,,,0|2072,5035055
                                                                                                                       52,2,,,,,,,,,,0|2073,50350553,2,,,,,,,,,,0|2074,50350554,2,,,,,,,,,,0|2075,50350555,2,,,,,,,,,,0|2076,50350556,2,,,,,,,,,
                                                                                                                       ,,0|2077,50350557,2,,,,,,,,,,0|2078,50350560,2,,,,,,,,,,0|2079,50350562,2,,,,,,,,,,0|2080,50350567,2,,,,,,,,,,0","examMin
                                                                                                                       nutes":45,"exerciseId":235669402,"exerciseStatus":5,"exerciseType":11,"trainingSeconds":0}}'
}




他的result编码成了类似于数据库id的形式,每次翻页都会从数据库中抽取一部分进行再解密,然后才能显示内容。
我现在想的是还原这个过程或者是直接解密返回值。

这是我的解密文件:https://f.ws59.cn/f/e1bdovmnchh 复制链接到浏览器打开

函数调用位置:


发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-15 19:56

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表