← 返回技术雷达
Hacker News tech

Reverse Engineering my cat's litter box

Hacker News 热议:Reverse Engineering my cat's litter box(10 赞 / 6 评论,来源 master--ytulsiani.netlify.app)

一句话概要

Decompiling an Android app, recreating signed HTTP requests, and packing four bytes into several layers of binary messages.

原文开头节选

Maisie likes to touch the litter box while it is running. I would prefer that she find something else to do during that time.

My idea was to bring the litter box into Home Assistant, add some buttons, and eventually use presence sensors to start a cleaning cycle when she is in another room and distracted. There are probably many more automations I will come up with once I have that working. First, I needed a way to talk to the box.

The phone app already knew how to do everything I needed. I started by watching its traffic with Wireshark and inspecting HTTP requests with HTTP Toolkit, then decompiled the Android app to understand the parts I could not reproduce from the traffic alone.

This turned into two related projects. I needed to reproduce the signed HTTP requests used to access account and device data, then rebuild the binary messages used to operate the box over MQTT.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(10 赞 / 6 评论,来源 master—ytulsiani.netlify.app)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News

相关服务