当前位置:网站首页>【JS逆向分享】某个网站社区信息
【JS逆向分享】某个网站社区信息
2022-06-24 09:47:00 【秋无之地】
目录
声明:下方都是基于chrome浏览器操作
一、查找数据接口:
打开网页,找到数据所在的接口:

二、筛选出目标关键字:
查看接口上的参数,多次请求看那些不变,那些变化的(关键字):
多次请求发现,timestamp和nonce字段会变化,而timestamp为时间戳,nonce为加密函数结果,而且跟timestamp相关,因此,只要找到nonce的加密函数就能模拟生成这个关键字

三、找到关键字所在js文件:
搜索框输入“nonce” 找到对应的js文件:https://community-front-static.vivo.com.cn/static/js/chunk-vendors.99e78f6f.js

四、破解js中生成关键字的函数:
根据上面找到的js文件,在Sources中找到对应文件,并查找到关键字所在的函数,打上断点,跟踪进入。发现执行的是一个md5()的函数,能看到nodejs的可以自己用代码复写一遍,不懂的话直接把函数扣出来,复制到自己创建的js文件中

五、结果输出与完整代码:
结果输出:

完整代码请 下载
边栏推荐
- Machine learning perceptron and k-nearest neighbor
- The great charm of cookies
- Web site development, lazy image loading
- numpy.logical_or
- dedecms模板文件讲解以及首页标签替换
- [input method] so far, there are so many Chinese character input methods!
- 4.分类管理业务开发
- 411 stack and queue (20. valid parentheses, 1047. delete all adjacent duplicates in the string, 150. inverse Polish expression evaluation, 239. sliding window maximum, 347. the first k high-frequency
- 如何在一个页面上使用多个KindEditor编辑器并将值传递到服务器端
- Uniapp develops a wechat applet to display the map function, and click it to open Gaode or Tencent map.
猜你喜欢

Machine learning perceptron and k-nearest neighbor

415 binary tree (144. preorder traversal of binary tree, 145. postorder traversal of binary tree, 94. inorder traversal of binary tree)

numpy. linspace()

Status of the thread pool

SQL Server AVG函数取整问题

2022全网最全最细的jmeter接口测试教程以及接口测试流程详解— JMeter测试计划元件(线程<用户>)

线程池的执行流程

How can I solve the problem that the swiper animation animation fails when switching between left and right rotations of the swiper?

Using pandas to read SQL server data table

Groovy obtains Jenkins credentials through withcredentials
随机推荐
解决Deprecated: Methods with the same name as their class will not be constructors in报错方案
2.登陆退出功能开发
Cookie encryption 4 RPC method determines cookie encryption
What are the characteristics of EDI local deployment and cloud hosting solutions?
JMeter接口测试工具基础— 使用Badboy录制JMeter脚本
2022-06-23: given a nonnegative array, select any number to make the maximum cumulative sum a multiple of 7, and return the maximum cumulative sum. N is larger, to the 5th power of 10. From meituan. 3
【资源分享】2022年第五届土木,建筑与环境工程国际会议(ICCAEE 2022)
【资源分享】2022年环境工程与生物技术国际会议(CoEEB 2022)
自定义kindeditor编辑器的工具栏,items即去除不必要的工具栏或者保留部分工具栏
413 binary tree Foundation
5. dish management business development
uniapp 开发微信公众号,下拉框默认选中列表第一个
leetCode-498: 對角線遍曆
记录一下MySql update会锁定哪些范围的数据
H5网页如何在微信中自定义分享链接
线程池的执行流程
【IEEE出版】2022年服务机器人国际研讨会(IWoSR 2022)
Groovy obtains Jenkins credentials through withcredentials
利用pandas读取SQL Sever数据表
机器学习——感知机及K近邻