This is a migrated thread and some comments may be shown as answers.

Call intercepted, but no trace of values

1 Answer 56 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
AndKer
Top achievements
Rank 1
AndKer asked on 19 Apr 2021, 01:29 PM

Hi everyone. I'm using Fiddler Everywhere on mac to intercept calls from the smartphone app to the vaccum robot, so i can use those commands to integrate the robot into my home automation system (Home Assistant).
so I set up Fiddler Everywhere, set up the proxy in the ios wifi and installed the certificates, and correctly intercepted the commands sent.
however, there are some "parameters" that i can't intercept, let me explain with one of the cases as an example: the robot obviously drains the battery when it's working. when it finishes cleaning, it goes back to the charging base. keeping the mobile phone active during the robot charging process, I see that for every percentage point of charge acquired, a post call is sent, of which I see url, headers and payload, but there's absolutely no trace of that percentage value (or any other info related to the battery). however, obviously on the smartphone I see that variation, so somehow the information has to go through.
so the question is: what can be the case that I can't catch THAT particular detail? what tests can i perform?
I hope I've explained it well enough, if necessary I can provide screenshots (app screen and details of the intercepted traffic).

Thanks

1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 21 Apr 2021, 10:15 AM

Hello AndKer,

That is a really interesting usage of Fiddler Everywhere and thanks for sharing the details. Using the product for a reverse engineering a specific communication is definitely one of our goals.
So, for your question - I've found a colleague of mine, who has done something similar before with their own vacuum cleaner. The information I got was that the communication happens in multiple ways - some data is shared between the application on your device and the cloud servers. But there's also UDP communication between your device and the vacuum cleaner. So I'm not sure where the percentages will be sent. What you can try is search for existing implementations of the communication. For example, for Xiaomi devices, there are various resources in GitHub. Maybe the protocol for communication is already reverse engineered somewhere. Also, keep in mind UDP communication cannot be captured with Fiddler Everywhere.
Apart from that, I've asked my colleague how to get the percentages of the battery and they mentioned a separate info request is sent to the vacuum cleaner to get this data. Maybe you need to do something similar.

Hope this helps and thanks again for sharing your scenario.

Regards,
Rosen Vladimirov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Fiddler Classic
Asked by
AndKer
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or