https://github.com/cyanchanges/xyks_bro
小猿<神><找Hook接>口算<法和逆向反编译混淆>, 小子
https://github.com/cyanchanges/xyks_bro
Last synced: 4 months ago
JSON representation
小猿<神><找Hook接>口算<法和逆向反编译混淆>, 小子
- Host: GitHub
- URL: https://github.com/cyanchanges/xyks_bro
- Owner: CyanChanges
- Created: 2024-10-17T10:47:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-22T04:37:28.000Z (over 1 year ago)
- Last Synced: 2025-05-09T00:16:59.622Z (about 1 year ago)
- Language: Python
- Size: 56.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 小猿<神>
All rights reserved by Cyan Changes (c) 2024.
You are not allowed to use any content of this repository in yours,
unless you have explict authorization.
<找Hook接>口算<法和逆向反编译混淆>, 小子
[中文README](./README_cn.md)
## How
Inspired by
[Hawcett/XiaoYuanKouSuan_Frida_hook](https://github.com/Hawcett/XiaoYuanKouSuan_Frida_hook/).
Thanks for hook point, some logic and anti-debug target.
There is a method that do encryption to data.
Which the score and time costs are pass to this method
before it goes to the server.
We hook the method,
and modify the cost time right before it goes to the method
and get encrypted.
## Usage
### Requirements
- A Rooted Android
- A Linux Computer with Python(>=3.11, with Poetry)
- In Same Network
- An Android Terminal emulator (with Root-access) (else, ADB(`adb root` or have `su`) & Data Cable)
### Configure Frida Server on your Android
Download `frida-server` from
https://github.com/frida/frida/releases.
In my case, it is
```frida-server-16.5.6-android-arm64.xz```
> [!NOTE]
> If you're using a Android with different architecture,
> you may need replace `arm64` with your architecture.
Download and decompress the `frida-server`.
Example decompress command
xz --decompress frida-server-16.5.6-android-arm64.xz
Move the file to your Android.
Open a Terminal (with Termux, or MT File Manager, etc.),
Run:
```shell
chmod +x /data/adb/frida-server
/data/adb/frida-server -l 0.0.0.0:1145
```
May use your `frida-server` path instead of `/data/adb/frida-server`,
Change `0.0.0.0:1145` with your host and port.
### Clone the repository
```shell
git clone CyanChanges/xyks_bro
```
### Install the dependencies
```shell
cd xyks_bro
poetry install
```
### Run the script
```shell
poetry run python -m xyks_bro :1145
```
Replace `` with yours,
Replace `1145` with your port set before.