wildstray / meian-client

Shenzhen Meian Technology safety alarm systems TCP client
GNU General Public License v3.0
9 stars 4 forks source link

Help with decoding #3

Open digibum opened 2 years ago

digibum commented 2 years ago

How did you get the HEX keys for encoding? I have a newer panel that uses different encoding key. Thank you!

wildstray commented 1 year ago

Hello, I get these keys doing reverse engineering on the Android App. I decompiled it, extracted the dynamic library libComCore.so and analyzed it with Binary Ninja (Free version, you have only 25min free for session). I found the functions EncodePci and DecodePci and the keys them use ;-) I have screenshots and all saved, but it would be difficult to explain in a comment to an issue, maybe I'll write a gist about this... follow me here: https://gist.github.com/wildstray

wildstray commented 1 year ago

I wasn't able to accomodate images in a gist, so here is another repo with screenshots: https://github.com/wildstray/meian-hacking