Better HN
topnewbestaskshowjobs
Log inSign up

rsc-dev

354 karma · joined Jun 22, 2015 (11y ago) · 44 submissions

Submissions

31.

Hacking the Polar Loop activity tracker(rm2084.blogspot.com ↗)

7 points · by rsc-dev · 10y ago · discuss

comment 10y ago · link · parent

This project is under development. New release soon with bunch of additional features. Looking forward for comments.

33.

Polar devices Python API and cli (v0.2)(github.com ↗)

1 points · by rsc-dev · 10y ago · 1 comment

34.

Show HN: Loophole – Polar devices API (ver. 0.2)(github.com ↗)

2 points · by rsc-dev · 10y ago · discuss

35.

Show HN: Loophole – Polar devices API (ver. 0.1)(github.com ↗)

3 points · by rsc-dev · 10y ago · discuss

comment 10y ago · link · parent

Thanks - I will take a look.

comment 10y ago · link · parent

Hi,

Thank you very much for all comments.

I am very suprised for the feedback. I need to clarify my intentions for this project.

This tool is a side effect of my main project. I am working on hacking embedded device. During my work, I found out, that device is using Google Protocol Buffers to communicate with Android app and windows C/C++ application. It was my first time with protocol buffers. I was looking for any tool, which would help me analyze protobuf messages. It seems there is none, so I had to learn it by myself :P.

"Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler."

How it works: 1. Developer wants to exchange data between different applications/systems. 2. One describes data in human readable form in proto file: message Person { required string name = 1; required int32 id = 2; optional string email = 3; } 3. This file can now be compiled by protoc. 4. Generated code (Java, C++, Python) is then imported to an application. 5. Develoepr can use this code to decode serialized stream.

Now - the most important thing. Protoc output code contains serialized descritor of proto file. This descriptor (in serialized way) is included in every application using protobuffs.

Once extracted (strings, debugger, any other tool), one can run pbd to disassemble it.

In short: Pbd allows to go from point 4. to point 2. Once descriptors are disassembled, one can rerun pbd to generate code and deserialize protobuffs messages.

Hope it clarifies it a bit.

This project is in beta. Further work depends on interest and needs. I am very happy to hear more comments and ideas. Thank you for your interest.

PS. Pbd name was chosen with premeditaion. It is a bit confusing, but hey - hackers need to be focused :P.

BR Rsc

38.

Show HN: Pbd – Protocol Buffers Disassembler(github.com ↗)

36 points · by rsc-dev · 10y ago · 11 comments

comment 10y ago · link · parent

Pbd is a Python module to disassemble serialized protocol buffers descriptors (https://developers.google.com/protocol-buffers/).

40.

Pbd – Protocol Buffers Disassembler(github.com ↗)

2 points · by rsc-dev · 10y ago · 1 comment

41.

Protocol buffers disassembler(pypi.python.org ↗)

3 points · by rsc-dev · 10y ago · discuss

42.

Greek in the Shell

1 points · by rsc-dev · 11y ago · discuss

43.

Polish trains real-time positions API (Python)(pypi.python.org ↗)

1 points · by rsc-dev · 11y ago · discuss

12