├── requirements.txt
├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── README.md
├── tiktok-ssl-pinning-bypass.js
├── patch_apk.py
└── LICENSE
/requirements.txt:
--------------------------------------------------------------------------------
1 | lief~=0.12.3
2 | requests~=2.28.2
3 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Bug report
4 | title: "[BUG]"
5 | labels: ''
6 | assignees: Eltion
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **Method**
14 | Patched APK or Frida
15 |
16 | **App info**
17 | - Version: tiktok-v25.9.4
18 | - Arch: x86, x86_64, armeabi-v7a, arm64-v8a
19 |
20 | **Device info**
21 | - Model: Samsung SM-A525F, Nox Emulator
22 | - Android Version: 12
23 |
24 | **Proxy tool**
25 | mitmproxy: v8.1.1
26 | brup: v2022.5.2
27 |
28 | **Logs**
29 | Frida or logcat logs, screenshots, mitmproxy event logs, Brup event log.
30 |
31 | **Additional context**
32 | Add any other context about the problem here.
33 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Tiktok SSL Pinning Bypass
2 |
3 | Bypass TikTok SSL pinning on Android devices.
4 | Supported ABIs: `armeabi-v7a`, `arm64-v8a`, `x86`
5 | The Latest version: `v26.7.5`
6 |
7 | If you like this project:
8 | [](https://www.buymeacoffee.com/eltimusa4q)
9 |
10 | **Bitcoin**: bc1q6kvvun3cfm5kadesxflntszp8z9lqesra35law
11 | **Ethereum**: 0x47633Ef59b0F765b7f8047b0A56230cfeBB34027
12 |
13 | ## Patched APK (No Root)
14 |
15 | Download the latest patched APK:
16 | + [tiktok-v28.6.5.apk](https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass/releases/download/v28.6.5/tiktok-v28.6.5.apk)
17 | + [tiktok-v26.7.5-x86-arm-translation.apk](https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass/releases/download/v26.7.5/tiktok-v26.7.5-x86-arm-translation.apk) (Tested on Nox emulator 32bit Android 7.0)
18 | + [douyin-v23.0.0.apk](https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass/releases/download/v26.7.5/douyin-v23.0.0.apk)
19 | [See all versions](https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass/releases/)
20 |
21 | ## Run using Frida (Requires Root)
22 |
23 | This method requires frida-tools and also frida-server running in the device
24 | ```
25 | frida -U -l .\tiktok-ssl-pinning-bypass.js -f com.zhiliaoapp.musically --no-pause
26 | ```
27 |
28 | ## Patch APK
29 |
30 | You can create your own patched APK.
31 |
32 |
33 | ### Requirements Linux (Ubuntu):
34 | 1. Install java JRE: `sudo apt install default-jre`
35 | 2. Install apksigner: `sudo apt install apksigner`
36 | 3. Install zipalign: `sudo apt install zipalign`
37 |
38 | Note: apksigner and zipalign can also be found in android sdk [build-tools](https://dl.google.com/android/repository/build-tools_r30.0.1-linux.zip)
39 |
40 | ### Requirements Windows:
41 | 1. Install java JRE
42 | 2. Download [build-tools](https://dl.google.com/android/repository/build-tools_r30.0.1-windows.zip) and unzip
43 | 3. Add unzip folder to path variable
44 |
45 | ### Instructions
46 |
47 | 1. Download tiktok apk file.
48 | 2. Install requirements > `pip install -r requirements.txt`
49 | 3. Run script > `python patch_apk.py -i -o