Having fun with crypto

I don’t write much in my blog because I don’t have some interesting stories to share. Today I am kind a bored and want to talk about some old story. I want to talk about some crypto, security and Gangnam style in a single post. As you know, Gangnam style video was my inspiration to prank students. After I have pranked them in their presentation, I was looking something big. It had to be something that should affect everybody in the school and yet it shouldn’t be tracked back to me. Challenge accepted!

Read More »

Adding PIN to Evernote

I like Evernote. It is multi-platform, convenient and supported by many software. However there is one feature that bugs me a lot. It has almost zero security.Tech savvy user can open your database and see your notes if they are sitting on your computer. Any simple sqlite reader can read the database. You can protect yourself against these attacks by encrypting your notes. However after you logged in and minimized Evernote, it doesn’t ask you password again when you try to open it again. Evernote has a PIN feature in its mobile clients. I just can’t understand the logic why they don’t add PIN feature to Windows version. I at least want to have some kind of security. Therefore I added PIN feature to Evernote.
Read More »

LG TV Hack

I always wanted to control all my devices with single remote control. Actually remote control of my satellite receiver, Dreambox DM800, is an universal remote control. However mine is old one so it doesn’t have the code of my LG TV. Actually remote can be programmed with JP1 cable. However the cable itself is more expensive than my remote control. During my holiday I was working with my receiver. I installed couple of iPhone applications to remotely control the receiver. It is actually very cool to control your receiver with the phone. However one thing was missing; controlling the TV.
Read More »

Subtitles of Beni Böyle Sev (Love me as I am)

Recently, I have started to translate one of the Turkish TV series. If I find a time, I will try to translate all episodes. It takes long time to translate and synchronize subtitles. Therefore I am not sure, whether I will continue or not. However, for now, I translated first two episodes. There could be some errors in the text, I hope you don’t mind. Because it was exhausting to finish it.

In order to use subtitles, download following YouTube videos and use attached subtitles. Enjoy.

Episode 1

Subtitle

Episode 2

Subtitle

Note: I added Episode 3 as a separate post. I will add next episodes as separate posts from now on. Enjoy.

EZ430-Chronos watch

I have acquired a brand new EZ430-Chronos watch. It has a 96 segment LCD display and provides an integrated pressure sensor and 3-axis accelerometer for motion sensitive control.

I tried to use different programs that were advertised on Chronos wiki site. However, my favorite app Chronos Flying Mouse didn’t work as I had expected. I had trouble calibrating and using it as it is shown in the video. My efforts to contact the authors were fruitless. So today, I downloaded source code of the programs and started working with the libraries. My C++ skills suck, therefore I had to change libraries to work with masm32. Finally I managed to connect the watch and get accelerometer data.

I thought how can i use this watch for something useful, something meaningful, something for the sake of humanity. Finally I found my answer, I would prank my students. I wrote a small software which sits in the background and checks for pressed keys of Chronos. For example if ^ key is pressed, program runs a music video called “Gangnam Style”, * button terminates the music video and # button plays a short clip from “Gangnam Style”. In order to add extra evil, software also disables the mouse and keyboard during video playback. I had a couple of problems during this prank. First of all, the range of the watch is extremely limited. I have tried several times to find the optimal position for executing the prank. In order to hide the watch, I always wore long sleeved shirt. My last victim class was extremely cautious therefore I wore a black shirt and pretended to use phone for the remote control. It was all mostly fun to watch their faces.

If I get permission from students I will update this post with videos. Stay tuned! Oppa Gangnam Style 🙂

Update: I got permission from two three classes. Here are their videos. Enjoy 🙂

12-C Class

12-B Class

12-A Class

I also uploaded source code and binary of my programs. You can download from here. Because this was a quick and dirty hack, I hard coded paths. Prank assumes that you have Media Player Classic installed at

“C:\Program Files\MPC-HC\mpc-hc64.exe”

All the files must be located at C:\g folder. Inside the folder following files should exist;

gangnam.mp3 Short MP3 from Gangnam style
g.avi Music Video of Gangnam style
ComProject.exe Main executable
eZ430_Chronos_CC.dll DLL to communicate with Chronos watch

You can change the hardcoded paths by compiling the source code with MASM32 or by doing some hex-editing.

If you have any question feel free to leave a comment.