All Projects → mangledbottles → Musically-API

mangledbottles / Musically-API

Licence: MIT License
TikTok Reverse Engineered Private API (Previously Musically App)

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Musically-API

douyin2youtube
Download hot video from douyin and upload the video to Youtube automatic.
Stars: ✭ 28 (+27.27%)
Mutual labels:  tiktok
TikTokAPI-Python
TikTok API Python Wrapper
Stars: ✭ 285 (+1195.45%)
Mutual labels:  tiktok
ProxiTok
Open source alternative frontend for TikTok made using PHP
Stars: ✭ 256 (+1063.64%)
Mutual labels:  tiktok
tiktok-scraper-php
Tiktok (Musically) PHP scraper
Stars: ✭ 65 (+195.45%)
Mutual labels:  tiktok
Tiktok-API-Python
TIKTOK API IN PYTHON , GET TRENDING VIDEO, GET VIDEO BY CHALLENGE, GET VIDEO BY MUSIC, GET VIDEO BY USER, DOWNLOAD VIDEO NO WATERMARK
Stars: ✭ 70 (+218.18%)
Mutual labels:  tiktok
Unicorn
Tweak for TikTok 🦄
Stars: ✭ 59 (+168.18%)
Mutual labels:  tiktok
TikTokForWindows
This is an attempt to make a desktop software for TikTok
Stars: ✭ 19 (-13.64%)
Mutual labels:  tiktok
tiktik
📱🥴 TikTok terminal client for browsing & downloading videos
Stars: ✭ 68 (+209.09%)
Mutual labels:  tiktok
douyin-go
抖音SDK
Stars: ✭ 73 (+231.82%)
Mutual labels:  tiktok
TikTokDownloader
Download your liked TikTok videos.
Stars: ✭ 16 (-27.27%)
Mutual labels:  tiktok
Tiktok-Video-No-Watermark
Tiktok Video Without Watermark.Tiktok短视频去水印。
Stars: ✭ 49 (+122.73%)
Mutual labels:  tiktok
tiktok-gorgon-bridge
Express server with a Frida bridge to sign TikTok API requests
Stars: ✭ 83 (+277.27%)
Mutual labels:  tiktok
a-soul
Full-featured social media monitor that extracts data from a variety of services and pushes updates to Telegram or other platforms
Stars: ✭ 39 (+77.27%)
Mutual labels:  tiktok
TikTok
Download public videos on TikTok using Python with Selenium
Stars: ✭ 37 (+68.18%)
Mutual labels:  tiktok
TiktokClone
TIKTOK Clone React Native Tutorial 2021 👨‍💻 I'll show you how you can do this in the simplest way and terms possible. By the end of this series you'll have learned how the big companies do it and will be able to do the same, you not only will be able to do this app, but you'll be able to put what you learn into your very own projects! In this se…
Stars: ✭ 69 (+213.64%)
Mutual labels:  tiktok
tiktok-download-userscript
Browser userscripts to download TikTok videos without watermark and get livestream URLs (to play in VLC).
Stars: ✭ 42 (+90.91%)
Mutual labels:  tiktok
VKRdownloader
Vkrdownloader: All in one Video Downloader - Download videos from facebook twitter youtube tiktok and 1000+ other sites . YouTube downloader , facebook downloader . made by Vijay Kumar
Stars: ✭ 25 (+13.64%)
Mutual labels:  tiktok
tiktok-downloader
Tiktok Downloader/Scraper using requests & bs4
Stars: ✭ 47 (+113.64%)
Mutual labels:  tiktok
glink
Short video direct link acquisition 短视频直连去水印工具(支持抖音、快手、TikTok、皮皮虾、火山、开眼、陌陌等十几种)
Stars: ✭ 112 (+409.09%)
Mutual labels:  tiktok
TikTok-FLP
Tik Tok FLP is a Perfect CPA landing page coded in HTML, PHP, JS, and CSS, provided free of charge by Re-skinning Group
Stars: ✭ 37 (+68.18%)
Mutual labels:  tiktok

TikTok Private API (Musically API)

TikTok Logo Reverse engineered TikTok (previously Musically) Private API written in PHP, this project is no longer maintained.

Background

This API was reverse engineered using MITM (Man in the middle) Attacks to intercept encrypted API requests between the TikTok iOS Application and the TikTok API Server.

The tools used to capture the endpoints were Charles Proxy, SSL Proxying, and SSL Kill Switch for SSL Certificate Pinning.

Charles Proxy

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. Charles allows you to set up a local VPN connection that monitors any devices traffic including sockets.

SSL Proxying

Transport Layer Security (TLS) which has replaced Secure Socket Layer (SSL) creates an E2EE (end-to-end encrypted) connection between a client and a server (eg your phone and a website). TikTok's API used TLS encryption, so any data send between the TikTok App and the TikTok servers through Charles Proxy is completely encrypted and cannot be read. However, SSL Proxying can be used to surcumvent this protection.

By installing a custom SSL Certificate on your device, you hold the decryption keys to the encrypted data and can view all requests in plain text.

SSL Certificate Pinning

The strongest protection developers take to secure their APIs from being intercepted is SSL Certificate Pinning. This article explains Certificate Pinning in greater detail however it is a checker built into the application. It ensures that the SSL/TLS Certificate is one approved by a certificate authority (CA). This causes all requests where Charles Proxy is attempting to intercept requests using SSL Proxying as the device trusted SSL/TLS Certificate is invalid.

This can be circumvented on a Jailbroken iOS Device by installing SSL Kill Switch. This software provides the ability to patch low-level functions responsible for handling SSL/TLS connections in order to override and disable the system's default certificate validation, as well as any kind of custom certificate validation (such as certificate pinning).

TikToks Progressive Steps to Prevent API Monitoring

Security through ambiguity does not work. However, TikTok now send a unique ID header with every single request that comprised of many factors. This header is verified by the server and if the unique ID is incorrect, the request is rejected. The unique ID is assumed to contain details such as Timestamp, Device ID and API endpoints. This unique ID algorithm can be reverse engineered. The difficulty is reverse engineering the whole iOS application. There have been many projects that have succesfully reverse engineered these unique IDs.

How to use

See examples in /examples Most API endpoints are depreciated at this point, proof of concept testing may occur.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].