From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Thrift compact protocol" |
|---|
| claim | "A Thrift compact protocol message starts with protocol id 0x82 followed by a byte with message type in the top 3 bits and version 1 in the low 5 bits. The id is a single byte (1 in 256 random data starts with it): weak on its own, check the version/type byte and the varint fields." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Thrift compact protocol" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "82" |
|---|
| offset | 0 |
|---|
| meaning | "compact protocol id; next byte mmmvvvvv, version 00001, type 1 call 2 reply 3 exception 4 oneway" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Message section: pppppppp fixed to 1000 0010, mmm type, vvvvv version fixed 00001" |
|---|
| repo | "https://github.com/apache/thrift" |
|---|
| commit | "926dcc971c97aa935f00bc98848352e905c4c755" |
|---|
| path | "doc/specs/thrift-compact-protocol.md" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "message protocol id 0x82" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:02:56.945Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:54:47.551Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read thrift-compact-protocol.md message section: pppppppp fixed to 1000 0010 (0x82), mmm type, vvvvv version fixed to 00001" |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:46:41.261Z" |
|---|
| summary | "Say the protocol id is a single byte, so it is a weak signature." |
|---|
| changed | |
|---|
|
|
|---|