From f3705c43f0056b49da88fc381f43381d414c9b5b Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:30:17 +0200
Subject: [PATCH 01/33] Update sidebar.md
---
sidebar.md | 65 +++++++++++++++++++++++++++---------------------------
1 file changed, 32 insertions(+), 33 deletions(-)
diff --git a/sidebar.md b/sidebar.md
index d92a315..e3b4468 100644
--- a/sidebar.md
+++ b/sidebar.md
@@ -1,66 +1,65 @@
-* 前言
+* Preface
- * [项目介绍](README)
+* [Project Introduction](README)
- * [线上交流](md1)
+* [Online Communication](md1)
-* 快速入门
+* Quick Start
- * [安装](md6)
+* [Installation](md6)
- * [常见问题](md7)
+* [FAQ](md7)
- * [连接计算机](md8)
+* [Connect Computer](md8)
-* 自建仓库
+* Self-built Warehouse
- * [说明](md2)
+* [Instructions](md2)
* Frida
- * [快速入门](md4)
+* [Quick Start](md4)
-* API说明
+* API Instructions
- * [global](api/md0)
+* [global](api/md0)
- * [runtime](api/md1)
+* [runtime](api/md1)
- * [app](api/md2)
+* [app](api/md2)
- * [base64](api/md3)
+* [base64](api/md3)
- * [media](api/md4)
+* [media](api/md4)
- * [crypto](api/md5)
+* [crypto](api/md5)
- * [device](api/md6)
+* [device](api/md6)
- * [file](api/md7)
+* [file](api/md7)
- * [http](api/md8)
+* [http](api/md8)
- * [curl](api/md19)
+* [curl](api/md19)
- * [json](api/md9)
+* [json](api/md9)
- * [modmenu](api/md10)
+* [modmenu](api/md10)
- * [moddraw](api/md17)
+* [moddraw](api/md17)
- * [kernel](api/md18)
+* [kernel](api/md18)
- * [memory](api/md20)
+* [memory](api/md20)
- * [storage](api/md11)
+* [storage](api/md11)
- * [convert](api/md12)
+* [convert](api/md12)
- * [dialog](api/md13)
+* [dialog](api/md13)
- * [view](api/md14)
+* [view](api/md14)
- * [keys](api/md15)
+* [keys](api/md15)
- * [colors](api/md16)
-
\ No newline at end of file
+* [colors](api/md16)
From e9b1a8b2284e192022442e8044ce5c19d6e130df Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:31:02 +0200
Subject: [PATCH 02/33] Update navbar.md
---
navbar.md | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/navbar.md b/navbar.md
index 6ddb610..6c45b61 100644
--- a/navbar.md
+++ b/navbar.md
@@ -1,5 +1,4 @@
-* [官网首页](https://jshook.org)
+* [Official website](https://jshook.org)
-* 语言
- * [中文](/)
-
\ No newline at end of file
+* Language
+* [Chinese](/)
From 02751617230eeaeafa20b85bcc9d7684aa2d5431 Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:31:17 +0200
Subject: [PATCH 03/33] Update navbar.md
---
navbar.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/navbar.md b/navbar.md
index 6c45b61..6b86ef9 100644
--- a/navbar.md
+++ b/navbar.md
@@ -1,4 +1,4 @@
* [Official website](https://jshook.org)
* Language
-* [Chinese](/)
+* [English](/)
From 30b69ae5dc490c3eca6fbe2016120e2a52fd37fa Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:31:29 +0200
Subject: [PATCH 04/33] Update md8.md
---
md8.md | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/md8.md b/md8.md
index 5cba8b2..3f059b2 100644
--- a/md8.md
+++ b/md8.md
@@ -1,19 +1,19 @@
-# 连接计算机
+# Connect to computer
-可以使用`Visual Studio Code`实时推送脚本到手机,或者从手机获取脚本到电脑
+You can use `Visual Studio Code` to push scripts to your phone in real time, or get scripts from your phone to your computer
-在这里下载vscode插件: [https://marketplace.visualstudio.com/items?itemName=JsonET.jshook-vscode-extension](https://marketplace.visualstudio.com/items?itemName=JsonET.jshook-vscode-extension)
+Download the vscode plugin here: [https://marketplace.visualstudio.com/items?itemName=JsonET.jshook-vscode-extension](https://marketplace.visualstudio.com/items?itemName=JsonET.jshook-vscode-extension)
-安装后在`js`文件右键或者快捷键操作
+After installation, right-click on the `js` file or use shortcut keys
-`Shift+Alt+D`: 推送脚本
+`Shift+Alt+D`: Push script
-`Shift+Alt+C`: 获取脚本
+`Shift+Alt+C`: Get script
-`Shift+Alt+F`: 清空日志
+`Shift+Alt+F`: Clear log
-`Shift+Alt+G`: 查看日志,自动刷新
+`Shift+Alt+G`: View log, automatically refresh
-同步脚本时(脚本名+相对路径)与手机上一致即可,使用插件时需要jshook设置中启用服务端,使用快捷键后会出现输入ip的对话框,让电脑与手机在同一个wifi网络下。
+When synchronizing scripts (script name + relative path), just keep it the same as on the phone. When using the plugin, you need to enable the server in the jshook settings. After using the shortcut key, a dialog box for entering the ip will appear, so that the computer and the phone are on the same wifi network.
-**启用服务端可以关闭jshook,不用保持在后台运行**
+**Enabling the server can turn off jshook, and you don't need to keep it running in the background**
From c8f570a44616b134d61d844475d1b70222506d40 Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:31:44 +0200
Subject: [PATCH 05/33] Update md7.md
---
md7.md | 60 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/md7.md b/md7.md
index 69fc6c2..63e0bdd 100644
--- a/md7.md
+++ b/md7.md
@@ -1,29 +1,29 @@
-# 常见问题
+# Frequently Asked Questions
-常见的一些问题处理方案
+Some common problem-solving solutions
-## jshook相关文件在哪下载
+## Where to download jshook related files
-如果你想里离线下载一些文件,可以在这里找到
+If you want to download some files offline, you can find them here
-在这里下载: [https://github.com/JsHookApp/Download](https://github.com/JsHookApp/Download)
+Download here: [https://github.com/JsHookApp/Download](https://github.com/JsHookApp/Download)
-## 加密脚本如何支持
+## How to support encrypted scripts
-目前加密脚本只能使用`fridamod`框架运行
+Currently, encrypted scripts can only be run using the `fridamod` framework
-## 应用闪退
+## Application crash
-部分机型实时注入脚本会直接发生闪退情况,你可以先关闭hook服务,先启动应用,等待几秒后在开启hook服务会途中开始注入,在测试之前先取消勾选脚本,排除脚本原因
+Some models will crash directly when injecting scripts in real time. You can turn off the hook service first, start the application first, wait a few seconds, and then start the injection when the hook service is turned on. Uncheck the script before testing to eliminate the script cause
-## frida-server如何连接
+## How to connect to frida-server
-jshook提供的frida-server默认端口号为`28042/28043`
+The default port number of frida-server provided by jshook is `28042/28043`
-连接示例
+Connection example
```shell
-#端口转发
+#Port forwarding
adb forward tcp:28042 tcp:28042
#spawn
@@ -32,45 +32,45 @@ frida -H 127.0.0.1:28042 -f com.android.xxx -l test.js
frida -H 127.0.0.1:28042 -n com.android.xxx -l test.js
```
-## frida-gadget如何连接
+## How to connect frida-gadget
-与frida-server一样更改了端口
+The port has been changed like frida-server
-连接示例
+Connection example
```shell
-#端口转发
+#Port forwarding
adb forward tcp:28042 tcp:28042
#attach
frida -H 127.0.0.1:28042 Gadget -l test.js
```
-## 开启渲染掉激活
+## Turn on rendering and deactivate
-渲染增强默认是开启的,部分机型不支持,清理应用数据后在激活状态下先关闭渲染增强在开启渲染
+Rendering enhancement is enabled by default, but not supported on some models. After cleaning the application data, turn off rendering enhancement in the activated state and then turn on rendering
-## 什么是渲染增强
+## What is rendering enhancement
-渲染增强指不依赖android系统的情况下直接使用底层api进行渲染,android系统无法感知存在,所以在增强模式下性能最好,且屏幕录制和截屏无法获取到渲染数据
+Rendering enhancement means using the underlying API for rendering directly without relying on the Android system. The Android system cannot sense its existence, so the performance is best in enhanced mode, and screen recording and screenshots cannot obtain rendering data
-没有开启渲染增强则使用android系统的api创建渲染试图,性能会有损失,且受系统管控,屏幕录制和截屏可以获取到渲染数据
+If rendering enhancement is not enabled, the Android system API is used to create rendering views, which will result in performance loss and be controlled by the system. Screen recording and screenshots can obtain rendering data
-## 如何让我的机型支持渲染增强
+## How to make my model support rendering enhancement
-打开终端(例如mt管理器的终端)输入以下命令
+Open the terminal (such as the terminal of the mt manager) and enter the following command
```shell
su
logcat|grep ImGui
```
-命令的意思是在root用户下持续输出某个关键日志
+The command means to continuously output a key log under the root user
-然后开启渲染增强把终端输出的日志发给开发者,开发者会更新模块来兼容你的机型
+Then enable rendering enhancement and send the terminal output log to the developer, who will update the module to be compatible with your model
-## 在线服务出现服务器请求失败
+## Server request failure in online service
-内置的在线服务可能使用了`github`链接,对于中国大陆用户访问不友好,可以自行准备`vpn`访问
+The built-in online service may use the `github` link, which is not friendly to users in mainland China. You can prepare `vpn` access by yourself
-## 跨大版本更新导致jshook闪退
+## Cross-version update causes jshook to crash
-例如从1.0.x更新到1.1.x这种跨大版本更新因为调整过大导致不兼容闪退,清空应用数据,删除`/data/system/jshook`和`/data/adb/jshook`,重新安装激活模块,注意,做这些操作之前请先备份脚本和订阅
+For example, a cross-version update from 1.0.x to 1.1.x may cause incompatibility crashes due to large adjustments. Clear the application data, delete `/data/system/jshook` and `/data/adb/jshook`, and reinstall the activation module. Note that you should back up the script and subscription before doing these operations.
From 3290802386e8bc244cb3773f5a62a5dd0d804aa9 Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:31:56 +0200
Subject: [PATCH 06/33] Update md6.md
---
md6.md | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/md6.md b/md6.md
index 2b2b507..3b8fc29 100644
--- a/md6.md
+++ b/md6.md
@@ -1,10 +1,10 @@
-# 安装
+# Installation
-这里例举几个常见的安装激活方式
+Here are some common installation and activation methods
-## 真机root环境激活
+## Activation in real root environment
-你需要确保你的手机已经拥有root权限,并且已经安装以下任意一种root框架
+You need to make sure your phone has root permissions and has installed any of the following root frameworks
`magisk`[https://github.com/topjohnwu/Magisk](https://github.com/topjohnwu/Magisk)
@@ -12,22 +12,22 @@
`apatch`[https://github.com/bmax121/APatch](https://github.com/bmax121/APatch)
-模块依赖`zygisk/riru`,你需要安装以下任意模块用于支持激活jshook
+Module depends on `zygisk/riru`, You need to install any of the following modules to support the activation of jshook
`zygisk`[https://github.com/Dr-TSNG/ZygiskNext](https://github.com/Dr-TSNG/ZygiskNext)
`riru`[https://github.com/RikkaApps/Riru](https://github.com/RikkaApps/Riru)
-**这里推荐使用zygisk,riru已经不在更新维护**
+**It is recommended to use zygisk here, riru is no longer updated and maintained**
-以上准备就绪后打开jshook点击`安装Magisk/kernelSU模块`按钮选择,选择对应的`zygisk/riru`版本的jshook模块进行安装,安装后重启手机即可完成激活
+After the above preparations are ready, open jshook and click the `Install Magisk/kernelSU module` button to select the corresponding `zygisk/riru` version of jshook module to install. After installation, restart the phone to complete the activation
-## 虚拟机环境激活
+## Activate the virtual machine environment
-使用`vmos`或者`光速虚拟机`等类似产品进行安装激活操作,操作方式同root环境激活的方式流程一样
+Use `vmos` or `Lightspeed virtual machine` and other similar products to install and activate the operation. The operation method is the same as the root environment activation method.
-## 模拟器环境激活
+## Simulator environment activation
-下载`MagiskDelta`,在模拟器中直接安装,再按照上面root环境激活的方式继续操作
+Download `MagiskDelta`, install it directly in the simulator, and then continue to operate according to the above root environment activation method
[https://magiskdelta.com/](https://magiskdelta.com)
From 5047b91813bfbe2262072d8879637de22d9287cd Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:32:06 +0200
Subject: [PATCH 07/33] Update md4.md
---
md4.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/md4.md b/md4.md
index 10e305d..a5cb62e 100644
--- a/md4.md
+++ b/md4.md
@@ -1,3 +1,3 @@
-# 快速入门
+# Quick Start
-准备中...
+Preparing...
From dbf51b31ce0c281d11f475332794ec8b3e698dc8 Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:32:18 +0200
Subject: [PATCH 08/33] Update md2.md
---
md2.md | 127 +++++++++++++++++++++++++++++----------------------------
1 file changed, 64 insertions(+), 63 deletions(-)
diff --git a/md2.md b/md2.md
index e35b8c6..2d817cf 100644
--- a/md2.md
+++ b/md2.md
@@ -1,117 +1,118 @@
-# 自建仓库
+# Self-built warehouse
-需要搭建属于自己的脚本仓库,只需要提供以下格式的json文件地址即可,仓库界面右上角菜单中配置地址,`字段不需要的可以为null或者删除该字段`
+If you need to build your own script warehouse, you only need to provide the json file address in the following format. Configure the address in the menu in the upper right corner of the warehouse interface. `Fields that are not needed can be null or deleted`
-## 列表格式
+## List format
-列表格式下仓库只显示脚本列表信息,不会显示仓库其他信息,如果需要更多的功能,请参考下方的完整格式
+In the list format, the warehouse only displays the script list information, and will not display other warehouse information. If you need more functions, please refer to the complete format below
```json
[
- {
- "author": "",
- "markdown": "",
- "ctime": "",
- "source": "",
- "id": "",
- "title": "",
- "type": "",
- "version": "",
- "url": "",
- "desc": "",
- "down_count": 0
- }
+{
+"author": "",
+"markdown": "",
+"ctime": "",
+"source": "",
+"id": "",
+"title": "",
+"type": "",
+"version": "",
+"url": "",
+"desc": "",
+"down_count": 0
+}
]
```
-字段说明:
+Field description:
-`author`: string 显示脚本作者名称
+`author`: string Displays the name of the script author
-`markdown`: string 详细说明markdown文件url地址
+`markdown`: string Detailed description of the markdown file url address
-`ctime`: string 脚本创建时间,格式为:0000-00-00
+`ctime`: string Script creation time, format: 0000-00-00
-`source`: string 脚本来源url地址,比如脚本的开源github地址,非脚本的下载地址
+`source`: string Script source URL address, such as the script's open source github address, non-script download address
-`id`: string 脚本唯一标识,可以用uuid
+`id`: string Script unique identifier, can use uuid
-`title`: string 脚本名称
+`title`: string Script name
-`type`: string 两个值 rhino 或者 frida 告诉用户这是什么脚本
+`type`: string Two values rhino or frida Tell the user what script this is
-`version`: string 版本号 例如 1.0.0
+`version`: string Version number For example 1.0.0
-`url`: string 脚本的下载地址
+`url`: string Script download address
-`desc`: string 脚本描述,控制在30字以内,简单的描述,详细描述写到markdown中
+`desc`: string Script description, controlled within 30 words, simple description, detailed description written in markdown
-`down_count`: int 脚本下载数量
+`down_count`: int Script download count
-## 完整格式
+## Complete format
-完整格式下仓库可以用于更多的功能
+The warehouse in the complete format can be used for more functions
```json
{
- "name": "",
- "icon": "",
- "list": "",
- "push": "",
- "markdown": "",
- "group_qq": "",
- "group_tg": "",
- "user_count": 0
+"name": "",
+"icon": "",
+"list": "",
+"push": "",
+"markdown": "",
+"group_qq": "",
+"group_tg": "",
+"user_count": 0
}
```
-`name`: string 仓库名称
+`name`: string Warehouse name
-`icon`: string 仓库图标的url地址
+`icon`: string URL address of warehouse icon
-`list`: string 列表格式的url地址
+`list`: string URL address in list format
-`push`: string 推送配置url地址
+`push`: string URL address of push configuration
-`markdown`: string 仓库详细说明markdown文件url地址
+`markdown`: string URL address of markdown file with detailed warehouse information
-`group_qq`: string qq群的key 在这里获取 [https://qun.qq.com/join.html](https://qun.qq.com/join.html)
+`group_qq`: string QQ group key is available here [https://qun.qq.com/join.html](https://qun.qq.com/join.html)
-`group_tg`: string 例如群链接为 https://t.me/jshookgroup 填写jshookgroup即可
+`group_tg`: string For example, if the group link is https://t.me/jshookgroup, fill in jshookgroup
-`user_count`: int 仓库用户数量
+`user_count`: int Number of warehouse users
-### 推送配置
+### Push configuration
-如果仓库使用了完整格式,需要使用推送的话,push文件的json格式如下
+If the warehouse uses the full format and needs to use push, the json format of the push file is as follows
```json
[
- {
- "id": "",
- "title": "",
- "args": "",
- "action": ""
- }
+{
+"id": "",
+"title": "",
+"args": "",
+"action": ""
+}
]
```
-jshook的设置中允许接收消息通知才能收到推送内容
+Only when jshook settings allow receiving message notifications can push content be received
-为了不干扰用户,推送不会实时收到,有触发条件,当用户打开jshook或者其他注入jshook服务的应用时会开始拉取推送内容,通过id判断用户如果没有接收过开始消息通知
+In order not to interfere with users, pushes will not be received in real time. There are trigger conditions. When the user opens jshook or other applications that inject jshook services, push content will be pulled. If the user has not received the start message notification, the id will be used to determine if the user has not received it
-`id`: string 推送唯一标识
+`id`: string Push unique identifier
-`title`: string 消息标题
+`title`: string Message title
-`args`: string 当action为markdown时填写markdown文件url地址
+`args`: string When action is markdown, fill in the markdown file URL address
-`action`: string 跳转类型,固定值为markdown
+`action`: string Jump type, fixed value is markdown
## DeepLink
-在html中可以使用以下方式跳转jshook添加仓库订阅,其实url为仓库的订阅url地址
+In html, you can use the following method to jump to jshook to add warehouse subscriptions. In fact, the url is the subscription url address of the warehouse
```html
-添加仓库订阅>
+Add warehouse subscription>
+
```
From 15378800c67052ed1b77b80f704e5b3ffcfdfa9b Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:32:31 +0200
Subject: [PATCH 09/33] Update md1.md
---
md1.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/md1.md b/md1.md
index 3b8acd3..7e38bb4 100644
--- a/md1.md
+++ b/md1.md
@@ -1,15 +1,15 @@
-# 交流
+# Communication
-提供了`Telegram`沟通途径,非本页面提供的其它交流途径均非官方行为。
+Telegram is provided as a communication channel. Other communication channels not provided on this page are unofficial.
-## Telegram交流群
+## Telegram communication group
-交流群只提供jshook相关使用问题,脚本功能相关咨询请联系脚本作者
+The communication group only provides jshook-related usage issues. For script function related inquiries, please contact the script author
-频道:
+Channel:
[https://t.me/jshookapp](https://t.me/jshookapp)
-交流群:
+Communication group:
[https://t.me/jshookgroup](https://t.me/jshookgroup)
From 6cf4763161f22a896d7d6d49c3b18c1a51e54956 Mon Sep 17 00:00:00 2001
From: AndrexYT <120054040+AndrexYT@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:32:50 +0200
Subject: [PATCH 10/33] Update index.html
---
index.html | 72 +++++++++++++++++++++++++++---------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/index.html b/index.html
index fb33ba3..12cedd2 100644
--- a/index.html
+++ b/index.html
@@ -1,45 +1,45 @@
- JsHook Document
-
-
-
-
-
+JsHook Document
+
+
+
+
+
@@ -50,4 +50,4 @@
-
\ No newline at end of file
+