Monday, October 10, 2016

This Programmer Hacked His Coffee Machine To Brew Coffee Using Command Line

programmer-coffee-to-code Smart programmers love to play with code and make their lives (and lives of others) easier. One such nerd, Simone Margaritelli, decided to hack his smart coffee machine and control the coffee-making process from his Terminal. He has even shared the client code on GitHub.
For many programmers, coffee acts as the favorite caffeine delivery system. One such programmer, Simone Margaritelli, who is a researcher at Zimperium, hacked his coffee machine to brew coffee using the command line. This might remind you of another lazy programmer who wrote some hacker scripts to get his jobs done.
Margaritelli calls himself a coffee-loving nerd and hacker who drinks liters of it during the week. So, to make things smoother and grab a better cup of coffee, he bought a smart coffee machine on Amazon. Being an IoT device, he could control the machine over his home network using a mobile application.
Being a programmer, Margaritelli spent most of his hours on a computer. That’s why he felt the need for a console client, something that wasn’t made available by the machine maker.
So, Margaritelli worked to reverse the Android application and understand the communication protocol. This helped him write his own client implementation that lets him make coffee using the terminal.
terminal-coffee
“I decided to reverse the Android application since it’s usually way easier than reversing iOS ones ( java vs assembly 😀 ), once I downloaded the APK I started studying the various classes and methods,” he writes.
He has even shared his code in GitHub and it can be found here.
While writing the Terminal application for his coffee machine, he also discovered some minor security peculiarities. You can read about them and his complete blog post here.
Have something to add? Don’t forget to drop your feedback in the comments section below.

No comments:
Write comments

Recent Trend

Recent Posts Widget