8000 GitHub - twb725/protod: Decode protobuf without proto definition
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ protod Public
forked from aj3423/protod

Decode protobuf without proto definition

License

Notifications You must be signed in to change notification settings

twb725/protod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)) # ConsoleRenderer is used by default
  • For html:
html_tag = protod.dump(proto, protod.HtmlRenderer())
# send the html_tag to client browser
 $('#div').text(html_tag)
  • For other format:
    This example demonstrates how to implemente custom Renderer, it's an addon for mitmproxy

    image

About

Decode protobuf without proto definition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0