Skip to content

Commit 63d7dd7

Browse files
authored
Merge pull request #27 from JSREI/dev
feat: add readme,待完善详细功能文档
2 parents 33bea1d + 1c3516d commit 63d7dd7

File tree

4 files changed

+64
-29
lines changed

4 files changed

+64
-29
lines changed
900 KB
Loading
98.8 KB
Loading

README.md

Lines changed: 64 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,88 @@
1-
# js-script-hook
1+
# Script Hook
22

3-
# 开发中,敬请期待!
3+
![Greasy Fork Downloads](https://img.shields.io/greasyfork/dt/523208) ![Greasy Fork Rating](https://img.shields.io/greasyfork/rating-count/523208) ![GitHub Created At](https://img.shields.io/github/created-at/JSREI/js-script-hook) ![GitHub contributors](https://img.shields.io/github/contributors-anon/JSREI/js-script-hook) ![GitHub top language](https://img.shields.io/github/languages/top/JSREI/js-script-hook) ![GitHub commit activity](https://img.shields.io/github/commit-activity/t/JSREI/js-script-hook) ![GitHub Release](https://img.shields.io/github/v/release/JSREI/js-script-hook) ![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/JSREI/js-script-hook) ![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-closed/JSREI/js-script-hook) ![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr/JSREI/js-script-hook) ![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr-closed/JSREI/js-script-hook) ![GitHub License](https://img.shields.io/github/license/JSREI/js-script-hook) ![GitHub Repo stars](https://img.shields.io/github/stars/JSREI/js-script-hook) ![GitHub forks](https://img.shields.io/github/forks/JSREI/js-script-hook) ![GitHub watchers](https://img.shields.io/github/watchers/JSREI/js-script-hook)
44

5-
## 一、脚本简介
5+
# 一、解决了什么问题?
66

7-
为什么有这个东西?
7+
我们在进行JS逆向的时候,经常碰到请求是JS类型的:
88

9-
在进行JS逆向的时候,经常碰到请求是JS类型的,实际上是使用script标签发出的请求,比如一些跨域的请求,一些jsonp请求,
10-
Chrome目前(2024-12-20)没有支持对script类型的请求打条件断点之类的,而这个脚本就是填补这块儿的空白的。
9+
![image-20250109023632545](./README.assets/image-20250109023632545.png)
1110

12-
优势:
13-
- 支持对script类型的请求打断点
14-
- script请求之前进入断点
15-
- 直接把断点打到script jsonp回调函数里
11+
实际上是使用script标签发出的请求,比如一些跨域的请求,一些jsonp请求,Chrome目前(2024-12-20)没有支持对script类型的请求打条件断点之类的,而这个脚本就是填补这块儿的空白的。
1612

17-
## 二、安装
18-
开发中,敬请期待!
13+
功能一栏:
1914

20-
实战系列文章:
21-
- [潇湘书院登录](https://github.com/JSREP/www.xxsypro.com-RE)
22-
- [一淘网](https://github.com/JSREP/www.etao.com-RE)
23-
- [叮当快药sign逆向练习](https://github.com/JSREP/www.ddky.com-RE)
24-
- [365玩游戏平台](https://github.com/JSREP/minilogin.sgty.com-RE)
25-
- [G妹游戏登录](https://github.com/JSREP/www.gm99.com-RE)
26-
- [空中网登录](https://github.com/JSREP/passport.kongzhong.com-RE)
15+
![JSREI Script Hook](./README.assets/JSREI%20Script%20Hook.png)
2716

28-
## 三、在script类型的请求发送之前打断点
29-
TODO
30-
## 四、在script类型的请求接收到响应之后打断点
31-
TODO
32-
### 何为jsonp?
3317

34-
在介绍本部分之前,希望读者能够对jsonp有几个基本的概念,
35-
说白了就是xhr发送请求时会涉及到跨域问题,但是script不会,
36-
于是
3718

38-
### 打jsonp响应断点
39-
TODO
19+
# 二、安装
4020

21+
本项目为油猴脚本,要使用的话需要你先安装了Chrome的油猴插件:
4122

23+
```
24+
https://chromewebstore.google.com/detail/dhdgffkkebhmkfjojejmpbldmpobfkfo
25+
```
4226

27+
然后在油猴商店安装即可:
4328

29+
```
30+
https://greasyfork.org/zh-CN/scripts/523208-js-script-hook
31+
```
4432

33+
如果您对油猴脚本不信任,可Review本仓库下的代码自行编译:
4534

35+
```bash
36+
yarn build
37+
```
4638

39+
然后从`dist/index.js`文件创建一个新的油猴脚本即可:
4740

41+
```
42+
dist/index.js
43+
```
4844

45+
# 三、功能详细解释
4946

47+
TODO
5048

49+
# 四、问题反馈
50+
51+
当您遇到了问题,可以在仓库新建一个issue反馈:
52+
53+
```
54+
https://github.com/JSREI/js-script-hook/issues/new
55+
```
56+
57+
建议您优先以新建issue的方式反馈问题,issue是可记录可追溯的,也方便后来者遇到同一个问题时有参考。
58+
59+
60+
# 五、感谢支持
61+
暂无。
62+
63+
当您提issue或者pr时,将您的GitHub账号放在此处感谢您为产品迭代做出的贡献!
64+
65+
# 六、Contributors
66+
67+
<img src="https://contrib.nn.ci/api?repo=JSREI/js-script-hook" />
68+
69+
# 七、Star History
70+
71+
<img src="https://starchart.cc/JSREI/js-script-hook.svg" />
72+
73+
# 八、逆向技术交流群
74+
75+
扫码加入逆向技术交流群:
76+
77+
<img src="https://github.com/JSREI/.github/raw/main/profile/README.assets/image-20241016230653669.png" style="width: 200px">
78+
79+
如群二维码过期,可以加我个人微信,发送【逆向群】拉你进群:
80+
81+
<img src="https://github.com/JSREI/.github/raw/main/profile/README.assets/image-20231030132026541-7614065.png" style="width: 200px">
82+
83+
[点此](https://t.me/jsreijsrei)或扫码加入TG交流群:
84+
85+
<img src="https://github.com/JSREI/.github/raw/main/profile/README.assets/image-20241016231143315.png" style="width: 200px">
5186

5287

5388

docs/Script Hook.xmind

359 KB
Binary file not shown.

0 commit comments

Comments
 (0)