某乎接口zse96解析(附带可直接运行js)

某乎接口zse96解析

  • 下面是作者呕心沥血,观看各路大神和某乎js拼接在一起的js,附带浏览器环境,可以直接运行
  • 示例

在这里插入图片描述
接口多请求几次发现,出来zse96在变化之外,其余的基本不变,那么源码中直接搜索x-zse-96,得出下面2个函数

var tE = eo(te, tp.body, {xUDId: tv,zse93: tT,xAppVersion: tm,authId: tw,xZst81: ty}, td), tS = tE.source, tk = tE.signature;tA = tS,Object.keys(tC).forEach(function(tt) {return th.set(tt, tC[tt])}),tv && th.set("x-ac-udid", tv),th.set(tO, tT),th.set("x-zse-96", t2 + "_" + tk)
  var tS = er(), tT = ed(te, tf.body, {zse93: tb,dc0: tS,xZst81: tC}, tA), tO = tT.signature;tE = tT.source,tC && tp.set("x-zst-81", tC),tp.set(tw, tb),tp.set("x-zse-96", t2 + "_" + tO)

在这里插入图片描述
数据来源于ed函数中返回的signature,并传递了大约5个参数
te, tf.body, tb, ts, tc
从源中分析可知
te 路由
在这里插入图片描述
tf.body 为空这里猜测是请求体 ,所以get请求这里为空
tb应该是固定的
TS 是本html源代码中的一个xUDID值 加上 | 时间戳
在这里插入图片描述
tc比较可疑,header中存在,但是tc也是空
在看一下ed函数,将上面这几个用+连接起来
在这里插入图片描述
开始调试
在这里插入图片描述
signture调用了 (0,tJ(ti).encrypt)(ty()(tp))
在这里插入图片描述
在这里插入图片描述
这似乎是一个md5值那么就是说,用encrypt函数来加密MD5就行,那么开始直接下载js吧

下面是作者呕心沥血,观看各路大神和某乎js拼接在一起的js,附带浏览器环境,可以直接运行

window=global;
var xx={};
delete global;
delete Buffer;
Math.random=function(){return 0.1}
window.name=''
window.alert=function(){}
navigator={userAgent:'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36',toString:function(){return '[object Navigator]'},webdriver:false
}
document={toString:function(){return '[object HTMLDocument]'},createElement:function(){return canvas},getElementById:function(){},getElementsByClassName:function(){}}
canvas={getContext:function(){ return CanvasRenderingContext2D }
}
CanvasRenderingContext2D ={toString:function(){return 'function CanvasRenderingContext2D() { [native code] }'}
}location={toString:function(){return  'https://www.zhihu.com/'},href:'https://www.zhihu.com/'
}history={toString:function(){return  '[object History]'}
}
screen={toString:function(){return  '[object Screen]'}
}function getEnvs(proxyObjs) {for (let i = 0; i < proxyObjs.length; i++) {const handler = `{// get: function(target, property, receiver) {//   console.log("方法:", "get  ", "对象:", "${proxyObjs[i]}", "  属性:", property, "  属性类型:", typeof property, ", 属性值:", target[property], ", 属性值类型:", typeof target[property]);//   return target[property];// },// set: function(target, property, value, receiver) {//   console.log("方法:", "set  ", "对象:", "${proxyObjs[i]}", "  属性:", property, "  属性类型:", typeof property, ", 属性值:", value, ", 属性值类型:", typeof target[property]);//   return Reflect.set(...arguments);// }}`;eval(`try {${proxyObjs[i]};${proxyObjs[i]} = new Proxy(${proxyObjs[i]}, ${handler});} catch (e) {${proxyObjs[i]} = {};${proxyObjs[i]} = new Proxy(${proxyObjs[i]}, ${handler});}`);}
}proxyObjs = ['window', 'document', 'location', 'navigator', 'history', 'screen','canvas','CanvasRenderingContext2D']
getEnvs(proxyObjs);!function() {"use strict";var e, a, c, d, f, t, r, b, o, n, i, s, l, u = {}, m = {};function p(e) {var a = m[e];if (void 0 !== a)return a.exports;var c = m[e] = {id: e,loaded: !1,exports: {}};return u[e].call(c.exports, c, c.exports, p),c.loaded = !0,c.exports}xx = pp.m = u,p.c = m,p.amdD = function() {throw Error("define cannot be used indirect")},p.amdO = {},e = [],p.O = function(a, c, d, f) {if (c) {f = f || 0;for (var t = e.length; t > 0 && e[t - 1][2] > f; t--)e[t] = e[t - 1];e[t] = [c, d, f];return}for (var r = 1 / 0, t = 0; t < e.length; t++) {for (var c = e[t][0], d = e[t][1], f = e[t][2], b = !0, o = 0; o < c.length; o++)r >= f && Object.keys(p.O).every(function(e) {return p.O[e](c[o])}) ? c.splice(o--, 1) : (b = !1,f < r && (r = f));if (b) {e.splice(t--, 1);var n = d();void 0 !== n && (a = n)}}return a},p.n = function(e) {var a = e && e.__esModule ? function() {return e.default}: function() {return e};return p.d(a, {a: a}),a},c = Object.getPrototypeOf ? function(e) {return Object.getPrototypeOf(e)}: function(e) {return e.__proto__},p.t = function(e, d) {if (1 & d && (e = this(e)),8 & d || "object" == typeof e && e && (4 & d && e.__esModule || 16 & d && "function" == typeof e.then))return e;var f = Object.create(null);p.r(f);var t = {};a = a || [null, c({}), c([]), c(c)];for (var r = 2 & d && e; "object" == typeof r && !~a.indexOf(r); r = c(r))Object.getOwnPropertyNames(r).forEach(function(a) {t[a] = function() {return e[a]}});return t.default = function() {return e},p.d(f, t),f},p.d = function(e, a) {for (var c in a)p.o(a, c) && !p.o(e, c) && Object.defineProperty(e, c, {enumerable: !0,get: a[c]})},p.f = {},p.e = function(e) {return Promise.all(Object.keys(p.f).reduce(function(a, c) {return p.f[c](e, a),a}, []))},p.u = function(e) {return "chunks/" + (({101: "main-search-routes",213: "comments-v3",222: "flv.js",317: "shared-a82b31939292150a315895fb7cae7441d516f926",358: "navbar-notifications",430: "GoodsRecommendGoodsCardList",450: "gaokao-pray-kanshan-animation-data",615: "EmptyViewNormalNoWorksDark",620: "lib-2ec050f6",876: "report_modals",887: "lib-0e5ce61e",961: "shared-2ea0ca79748a747dd313ea2d7da73715418c93a8",987: "comment-richtext",1128: "Chart",1167: "shared-707a11ebc868d394defdec5e3c9c3bd627194a5c",1243: "zswsdid",1306: "main-messages-routes",1339: "shared-b6476ad5d46ee24825cb8ed41ab2c0e5874b34d9",1353: "main-roundtable-routes",1416: "EmptyViewCompactNoNetworkDark",1520: "player-vendors",1632: "main-signin-routes",1801: "EmptyViewNormalLoadingError",1951: "VideoUploadCoverEditor",2033: "Labels",2096: "EmptyViewCompactNoBalance",2121: "main-notifications-routes",2156: "EditableV2",2330: "lib-6efc30be",2433: "shared-0b43bf3e67dbb6b623fe8ec6c5d091d1b549b2dc",2492: "main-special-routes",2520: "main-question-routes",2607: "lib-5c8e84aa",2749: "statsc-deflateAsync",2850: "lib-29107295",3026: "FeeConsultCard",3084: "gaokao-pray-cheer-animation-data",3199: "writePinV2RichInput",3232: "EmptyViewNormalNoCollectionDark",3550: "lib-330004dc",3562: "EmptyViewCompactContentErrorDark",3584: "VideoAnswerLabel",3591: "shared-d0bb0dc86392a7e972798467f9dd20ba179b044b",3634: "main-creator-routes",3764: "EmptyViewCompactNoWorks",3775: "react-id-swiper",3786: "navbar-messages",3795: "shared-a3708c7e8c84cce0a3b8da43db0c3cd735be2320",4055: "KnowledgeForm",4117: "lib-0de40faf",4167: "VideoController",4173: "EmptyViewNormalDefault",4202: "EmptyViewNormalNoBalanceDark",4260: "lib-fae4f1f9",4306: "shared-1dc039f938b8c8c82c4a01096928ebdb708d2ad3",4361: "main-topic-routes",4408: "mqtt",4418: "theater-player",4428: "shared-7df56d9846d5f71fc0428c60463f36496d768b20",4691: "collection-Scroller",4708: "EmptyViewCompactNoNetwork",4713: "main-knowledge-plan-routes",4813: "shared-c28a9bf3464dd32af4306520d44ac7bcef62e866",4814: "EmptyViewCompactNoWorksDark",4837: "EmptyViewCompactLoadingError",4862: "shared-11cdd05708e8231a679e46442ff0ae122532f1bc",4995: "shared-33741370830005be76ce2de074412d202d48915c",5039: "shared-715e2b94686611ad1cbbf4b818f02aac0714ea33",5052: "EditorHelpDocMoveableWrapper",5100: "EmptyViewNormalContentErrorDark",5117: "main-email-register-routes",5221: "EmptyViewCompactNoCollection",5290: "main-collections-routes",5316: "main-host-routes",5327: "EmptyViewNormalNoNetwork",5344: "lib-026acc69",5373: "EmptyViewNormalNoNetworkDark",5389: "react-draggable-tags",5423: "lib-223e7b1c",5518: "lib-a4c92b5b",5546: "lib-4b14521a",5560: "richinput",5634: "WriteShieldModalComp",5640: "globalOrgReport",5667: "main-settings-routes",5829: "shared-30b2a91d27f48fa9c977462bb1d69791a88a1110",5857: "main-org-routes",5898: "main-topstory-routes",5954: "shared-c1b26e28f9af848665b4dda36429ffbbc02ba722",6018: "lib-ea88be26",6034: "EmptyViewNormalNoBalance",6131: "creation-manage-action-list",6186: "shared-295135e8c88ceb7996dada75fdffe2d75463933b",6246: "VideoCoverEditorNew",6248: "lib-cf230269",6272: "lib-83b0f42f",6308: "shared-01887f90d4209a665c4490216b4fe93291dfcb16",6414: "main-collection-routes",6478: "main-campaign-routes",6559: "ECharts",6567: "lib-0bf4e2b2",6649: "lib-74f62c79",6668: "main-mcn-routes",6670: "lib-9b20c40c",6754: "lib-75fc9c18",6763: "ScoreLineChart",6765: "contribution-modal",6815: "PcCommentFollowPlugin",6869: "main-explore-routes",6972: "EmptyViewCompactContentError",7050: "lib-38cf5c11",7137: "shared-faeff54b296b1c154036fc9f6ca9c13ea6d336f2",7190: "InlineVideo",7223: "EmptyViewCompactNoCollectionDark",7232: "shared-e5fb4baf7f81913234c8ae38d77981ef34c5b741",7556: "EmptyViewNormalNoWorks",7590: "EmptyViewCompactDefault",7629: "EmptyViewNormalContentError",7749: "lib-f3572862",7774: "shared-fc98d85e67c72da9b93c445f739859b1dd44194e",7848: "EcommerceAdCard",7856: "comment-manage-footer",7926: "EmptyViewCompactDefaultDark",7936: "richinputV2",7970: "biz-co-creation",8084: "EmptyViewNormalNoCollection",8089: "shared-2f02f8a08f7b763946110f65e90e828646e7116d",8128: "main-ai-routes",8214: "main-help-center-routes",8368: "shared-1dffcf43329e08de9bcf385e1895bae6667163e6",8400: "ECommerceAd",8438: "EmptyViewCompactLoadingErrorDark",8484: "shared-ff6488b53b31e2f26005da423c1542f5a34ce2b9",8608: "shared-299e64daabd85e596c68c7164ca822525e0cb130",8671: "shared-344960c9bb3f9e501026d17224a6974d3281f1a3",8689: "shared-cd15ca5c27a51a9fad00d5093a6db111400bed7c",8691: "shared-073eac630e6836c1bbd6d77c60c691ecb2181c24",8816: "EmptyViewCompactNoBalanceDark",8885: "lib-79b5cf47",9202: "main-wiki-routes",9247: "image-editor",9252: "EmptyViewNormalDefaultDark",9361: "Carousel",9378: "EmptyViewNormalLoadingErrorDark",9381: "shared-bf75e5e55bf5fea7a3c8e646095af08c94e53059",9597: "user-hover-card",9768: "main-creator-salt-routes",9956: "main-signup-routes"})[e] || e) + "." + ({101: "4451673656ebceba1b10",213: "e1fed6d817167920c13c",222: "e63aba2416353b28e558",317: "284073078efe94d56a0d",358: "92ab66d0a0a17a554807",413: "817f44466bf02a01eb4b",430: "7fa3756821cc952e8e15",450: "4cd352d1f17a617786e7",588: "1211249f72a4ef62e880",615: "c791e3e3806ecc419fc7",620: "bae6b6ead4ca63bf1980",712: "7a6de9bf170adfc4ca57",876: "38a4610c511d109a07f0",887: "6f403c36b8dea6c9a61c",961: "95f66518893b69b9f2d6",987: "5490a0daf1508a160390",1057: "43cd0f1697dfb611a25f",1128: "a0a6af99f370a45c39cf",1167: "e3c484e37ee00062188e",1243: "993bf3e63383befd3ad6",1306: "248ba7aeb2daf69610c4",1339: "ed56cad7730d5b8e2f0d",1353: "49bae6e0878ab45264d1",1379: "3f4baf3b8bbf727edb3d",1416: "fdf2f9be95a2fa77ae8f",1520: "80461ab2f296110cbc22",1580: "09e02ff7bd6ca17e38d8",1599: "0c909a92fd3ffe3aa34e",1632: "22e35b497e7140843b69",1801: "1f992dc2aa95c229faef",1951: "7ef612eb189bd5ee1dc5",2033: "3f51936b7c6243022af1",2057: "fd907bcae8e7e193dd3e",2096: "ebf74c7ecd3823049135",2121: "678cbb939669c590def9",2156: "9f60cf148cb60a4c8cda"

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/448056.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

IO编程--拷贝文件、文件总行数输出、时间打印

一、使用fread和fwrite完成两个文件的拷贝&#xff0c;要求源文件和目标文件由外界输入 代码如下: #include <myhead.h> int main(int argc, const char *argv[]) {//判断是否输入两个文件名if(argc!3){fprintf(stderr,"文件个数错误");return -1;}//以读形式打…

【去哪儿-注册安全分析报告-缺少轨迹的滑动条】

前言 由于网站注册入口容易被黑客攻击&#xff0c;存在如下安全问题&#xff1a; 1. 暴力破解密码&#xff0c;造成用户信息泄露 2. 短信盗刷的安全问题&#xff0c;影响业务及导致用户投诉 3. 带来经济损失&#xff0c;尤其是后付费客户&#xff0c;风险巨大&#xff0c;造…

Linux系统——lvm逻辑卷

Linux系统——lvm逻辑卷 一、lvm逻辑卷1、lvm操作流程2、操作指令 二、逻辑卷操作1、创建逻辑卷1.1 /dev/cloud/openstack 5G xfs /cloud/openstack1.2 /dev/cloud/docker 10G ext4 /cloud/docker 2、逻辑卷扩容2.1 扩容流程2.2 需求一&#xff1a;扩容ext4文件系统的逻辑卷2.3…

4款高效电脑录屏软件推荐:高清、不卡顿、无水印

在当今这个数字化时代&#xff0c;屏幕录制技术已经成为教育工作者、游戏玩家以及各类数字内容创作者不可或缺的工具。一款高效、稳定的录屏软件不仅能够帮你轻松捕捉屏幕上的精彩瞬间&#xff0c;还能提升你的内容创作效率。今天&#xff0c;我们就为大家推荐5款高清、不卡顿、…

斯坦福大学提出电影剧本可视化工具ScriptViz:能够根据剧本中的文本和对话自动检索相关的电影画面,帮助剧作家更好地构思和调整剧情

title:斯坦福大学提出电影剧本可视化工具ScriptViz&#xff1a;能够根据剧本中的文本和对话自动检索相关的电影画面&#xff0c;帮助剧作家更好地构思和调整剧情 斯坦福大学的研究者们开发了一个电影剧本可视化工具ScriptViz工具&#xff0c;ScriptViz的工作原理可以简单地理解…

oceanbase的日志量太大,撑爆磁盘,修改下日志级别

oceanbase的日志量太大&#xff0c;撑爆磁盘&#xff0c;修改下日志级别&#xff1a; [adminlnpg ~]$ obclient -h127.0.0.1 -uroot -P2881 -plinux123 Welcome to the OceanBase. Commands end with ; or \g. Your OceanBase connection id is 3221561020 Server version: O…

echarts显示隐藏柱状图柱子的背景色

showBackground: true, //控制是否显示背景色backgroundStyle: {// color: rgba(180, 180, 180, 0.4) //背景色的颜色color: red} 关键代码是 showBackground: true, //控制是否显示背景色 设置为false或者直接而不写就是不显示背景色&#xff0c;默认是不显示背景色 true的时…

IO作业代码

问题 通过 fwrite和 fread去拷贝 文件到另外一个文件上 #include<myhead.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include<errno.h> #include<time.h> int main(int argc, const char *argv[]) { FILE *fp fo…

ES 全文检索完全匹配高亮查询

我们ES会将数据文字进行拆词操作&#xff0c;并将拆解之后的数据保存到倒排索引当中几十使用文字的一部分也能查询到数据&#xff0c;这种检索方式我们就称之为全文检索&#xff0c;ES的查询结果也会倒排索引中去查询匹配 下面的查询结果中输入的词&#xff0c;就是输入小也可…

【量化交易】聚宽安装

安装JQData 更换源&#xff1a; 如果使用的是pip默认的PyPI源&#xff0c;可以尝试更换为一个更快的国内镜像源。例如阿里云、豆瓣等提供的PyPI镜像。 更改方法可以通过设置环境变量或者在pip命令中直接指定&#xff1a; PS C:\Users\bilirjs\Documents> pip config set …

第100+28步 ChatGPT学习:概率校准 Bayesian Calibration

基于Python 3.9版本演示 一、写在前面 最近看了一篇在Lancet子刊《eClinicalMedicine》上发表的机器学习分类的文章&#xff1a;《Development of a novel dementia risk prediction model in the general population: A large, longitudinal, population-based machine-learn…

Qt-窗口对话框相关操作(50)

目录 描述 创建 使用 点击弹出对话框 内存泄漏问题 自定义对话框 纯代码 界面操作 模态和非模态对话框 描述 对话框是 GUI 程序中不可或缺的组成部分。⼀些不适合在主窗⼝实现的功能组件可以设置在对话框中。对话框通常是⼀个顶层窗⼝&#xff0c;出现在程序最上层&am…

2024年腾讯外包面试题(微创公司)

笔试&#xff1a; 1、判断异步执行顺序 console.log(1);setTimeout(()>{Promise.resolve().then(()>{console.log(2);})console.log(3);},0);new Promise ((resolve)>{for(let i0; i<1000;i ){if(i1000){resolve();}}console.log(4);}).then(()>{console.log(5…

高可用之限流 08-leaky bucket漏桶算法

限流系列 开源组件 rate-limit: 限流 高可用之限流-01-入门介绍 高可用之限流-02-如何设计限流框架 高可用之限流-03-Semaphore 信号量做限流 高可用之限流-04-fixed window 固定窗口 高可用之限流-05-slide window 滑动窗口 高可用之限流-06-slide window 滑动窗口 sen…

SCALABLEANDEFFECTIVE IMPLICIT GRAPH NEURALNETWORKS ON LARGEGRAPHS

ICLR24 推荐指数&#xff1a; #paper/⭐⭐ 领域&#xff1a; 大图&#xff0c;图扩展 大概的工作&#xff1a;提出了针对子图的虚拟节点&#xff0c;让所有点都与其相连 相关工作&#xff1a; 传统GNN与Inplicit gnn 传统GNN的传播函数&#xff1a; Z ( l 1 ) ϕ ( W ( …

Karmada核心概念

以下内容为翻译&#xff0c;原文地址 Karmada 是什么&#xff1f; | karmada 一、Karmada核心概念 一&#xff09;什么是Karmada 1、Karmada&#xff1a;开放&#xff0c;多云&#xff0c;多集群Kubernetes业务流程 Karmada (Kubernetes Armada)是一个Kubernetes管理系统&…

【OpenCV】(六)—— 阈值处理

阈值处理&#xff08;Thresholding&#xff09;用于将灰度图像转换为二值图像。通过设定一个或多个阈值&#xff0c;可以将图像中的像素分为不同的类别&#xff0c;通常用于分割前景和背景、简化图像、去除噪声等任务。OpenCV 提供了多种阈值处理方法&#xff0c;下面介绍基本阈…

让AI像人一样思考和使用工具,reAct机制详解

reAct机制详解 reAct是什么reAct的关键要素reAct的思维过程reAct的代码实现查看效果引入依赖&#xff0c;定义模型定义相关工具集合工具创建代理启动测试完整代码 思考 reAct是什么 reAct的核心思想是将**推理&#xff08;Reasoning&#xff09;和行动&#xff08;Acting&…

探索人工智能:深度解析未来科技的核心驱动力

目录 &#x1f354; 人工智能的应用方向 &#x1f354; 人工智能的发展历史 &#x1f354; 人工智能、机器学习、深度学习关系 &#x1f354; 为什么学习机器学习&#xff1f; &#x1f354; 小节 学习目标 &#x1f340; 了解人工智能的应用方向 &#x1f340; 了解人工智…

【千库网-注册安全分析报告】

前言 由于网站注册入口容易被黑客攻击&#xff0c;存在如下安全问题&#xff1a; 暴力破解密码&#xff0c;造成用户信息泄露短信盗刷的安全问题&#xff0c;影响业务及导致用户投诉带来经济损失&#xff0c;尤其是后付费客户&#xff0c;风险巨大&#xff0c;造成亏损无底洞…