Skip to content

Extract .proto files from mach-o binaries using protobuf-c library.

License

Notifications You must be signed in to change notification settings

p1tsi/protobuf-c-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

protobuf-c-extractor

If for some strange reason you need to get the .proto files embedded in mach-o binaries using protobuf-c library, let's have a try with this script.

NB: this script does not work with fat binaries. Extract the binary for one architecture before using it.

Usage

python3 protobuf-c-extractor.py -i/--input <binary_file> -o/--output <path_to_dir>

Example

Inside samples folder there are a few .proto files extracted from Telegram macOS application.

About

Extract .proto files from mach-o binaries using protobuf-c library.

Topics

Resources

License

Stars

Watchers

Forks

Languages