https://github.com/bluematthew/protobufinspector
A Fiddler extension for decoding Google Protocol-buffers Data
https://github.com/bluematthew/protobufinspector
add-on csharp extension fiddler parser plugin protobuf protocol-buffers
Last synced: about 1 year ago
JSON representation
A Fiddler extension for decoding Google Protocol-buffers Data
- Host: GitHub
- URL: https://github.com/bluematthew/protobufinspector
- Owner: BlueMatthew
- License: apache-2.0
- Created: 2020-06-19T13:00:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-16T23:57:35.000Z (over 4 years ago)
- Last Synced: 2025-04-19T13:46:35.748Z (about 1 year ago)
- Topics: add-on, csharp, extension, fiddler, parser, plugin, protobuf, protocol-buffers
- Language: C++
- Homepage:
- Size: 22.6 MB
- Stars: 55
- Watchers: 4
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProtobufInspector
A Fiddler extension for decoding Google Protobuf Data in requests and responses.
## Files
Protobuf2Json.dll
Inspectors/ProtobufInspector.dll
## Usage:
Copy two released files into Fiddler installation folder.
Once the extension is loaded by Fiddler, it will output a log as follows:

## How to parse the protobuf data:
1. If Content-Type in request/response headers is "application/x-protobuf" or "application/x-google-protobuf", the extension will regard the contents as "Protobuf" data.
2. The token value of "messageType" in "Content-Type" will be regarded as message type name.
3. The token value of "desc" or "Desc" in "Content-Type" will be regarded as url of descriptorset of the protos.
4. If message type or descriptorset url doesn't exist, the message type name and local proto folder can be provides in Protobuf Inspector View manually and then try to parse the data.
5. Finally, this extension try to decode as raw message just like "protoc --decode-raw" and show it in json-tree view.
## References:
https://www.telerik.com/fiddler/add-ons
https://github.com/protocolbuffers/protobuf
https://www.charlesproxy.com/documentation/using-charles/protocol-buffers/
https://github.com/maomaozgw/Protobuf2Fiddler
https://github.com/JonathanJoelBoyd/ProtoMiddler