{"id":13337774,"url":"https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass","last_synced_at":"2025-03-11T07:30:53.681Z","repository":{"id":60012506,"uuid":"529691383","full_name":"Eltion/Tiktok-SSL-Pinning-Bypass","owner":"Eltion","description":"Bypass Tiktok SSL pinning on Android devices.","archived":false,"fork":false,"pushed_at":"2024-11-03T15:11:55.000Z","size":51,"stargazers_count":631,"open_issues_count":20,"forks_count":159,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-11-03T15:28:02.444Z","etag":null,"topics":["android","frida","mitmproxy","reverse-engineering","ssl-pinning","tiktok"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eltion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-27T20:35:33.000Z","updated_at":"2024-11-03T15:11:59.000Z","dependencies_parsed_at":"2023-02-19T06:31:17.163Z","dependency_job_id":"3a273f41-2c57-4d84-9083-b62ba00eb2bb","html_url":"https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eltion%2FTiktok-SSL-Pinning-Bypass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eltion%2FTiktok-SSL-Pinning-Bypass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eltion%2FTiktok-SSL-Pinning-Bypass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eltion%2FTiktok-SSL-Pinning-Bypass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eltion","download_url":"https://codeload.github.com/Eltion/Tiktok-SSL-Pinning-Bypass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242991148,"owners_count":20218108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","frida","mitmproxy","reverse-engineering","ssl-pinning","tiktok"],"created_at":"2024-07-29T19:15:02.416Z","updated_at":"2025-03-11T07:30:53.675Z","avatar_url":"https://github.com/Eltion.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiktok SSL Pinning Bypass\n\nBypass TikTok SSL pinning on Android devices.  \nSupported ABIs: `armeabi-v7a`, `arm64-v8a`  \nThe latest version: `v37.0.4`\n\nIf you like this project:  \n\n**Bitcoin**: bc1q6kvvun3cfm5kadesxflntszp8z9lqesra35law  \n**Ethereum**: 0x47633Ef59b0F765b7f8047b0A56230cfeBB34027  \n**USDC**: 0x47633Ef59b0F765b7f8047b0A56230cfeBB34027  \n**USDT**: 0x47633Ef59b0F765b7f8047b0A56230cfeBB34027  \n\n## Patched APK (No Root)\n\nDownload the latest patched APK: \n+ [tiktok-v37.0.4.apk](https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass/releases/download/v37.0.4/tiktok-v37.0.4.apk)  \n[See all versions](https://github.com/Eltion/Tiktok-SSL-Pinning-Bypass/releases/)\n\n## Run using Frida (Requires Root)\n\nRequires frida-tools\n```\nfrida -U -l .\\tiktok-ssl-pinning-bypass.js -f com.zhiliaoapp.musically\n```\n\n## Patch APK (with frida-gadget)\n\nYou can create your own patched APK. \n\n### Requirements Linux (Ubuntu):\n1. Install java JRE: `sudo apt install default-jre`\n2. Install apksigner: `sudo apt install apksigner`\n3. Install zipalign: `sudo apt install zipalign`  \n\nNote: 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)\n\n### Requirements Windows:\n1. Install java JRE\n2. Download [build-tools](https://dl.google.com/android/repository/build-tools_r30.0.1-windows.zip) and unzip\n3. Add unzip folder to path variable\n\n\n### Instructions\n\n1. Download tiktok apk file.\n2. Install requirements \u003e `pip install -r requirements.txt`\n3. Run script \u003e `python patch_apk.py -i \u003cinput apk\u003e -o \u003coutput apk\u003e`\n\nAfter that a patched apk file should be generated.\n\n## Intercept network traffic\n\nYou can use a tool like mitmproxy or Burp Suite to intercept the network.\n\n1. Install patched APK in the device\n2. Install [mitmproxy](https://mitmproxy.org/) or [Burp Suite](https://portswigger.net/burp)\n3. Set up proxy for wifi settings or run: `adb shell settings put global http_proxy \u003cproxy\u003e`\n\nNow you should be able to see the network traffic.\n\n## View script logs\nTo view the logcat run:\n```\nadb logcat -s \"TIKTOK_SSL_PINNING_BYPASS:V\"\n```\n\n[#leftenter](#leftenter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEltion%2FTiktok-SSL-Pinning-Bypass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEltion%2FTiktok-SSL-Pinning-Bypass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEltion%2FTiktok-SSL-Pinning-Bypass/lists"}