protod icon indicating copy to clipboard operation
protod copied to clipboard

Decode protobuf without proto definition

Decode protobuf without proto.

Try it online

http://168.138.55.177/

Screenshot

protod

Install

pip install protod

The command line tool

  • protod 080102...
  • protod '08 01 02...' (with space/tab/newline)
  • protod --b64 CAEIAQ==
  • protod --file ~/pb.bin
  • protod for help

library protod

It uses different Renderer to generate different output:

  • For console:
print(protod.dump(proto_bytes)) # ConsoleRenderer is used by default

There are examples demonstrate how to write custom Renderers:

  • json

image

  • html

image

  • Mitmproxy addon:

image