Okay, if you have been following along all week I have showed you how to obtain your Magicjack username and password by doing a memory dump, and I showed you how to use that information to connect a softphone in Windows. What about you Linux users? Well, I am a Linux user myself, so I will show you guys how to do it too.
Like I said before, using other methods to connect to you Magicjack service other than the way magicjack wants you to (USB dongle in Windows) violates their TOS. I accept no responsibility if you lose your account because you want to hack your Magicjack. The following is for educational purposes only, and if you do this, you do so at your own risk.
Ok, lets get what we need:
- Install gcc so you can compile the source code
>sudo apt-get install gcc
- Create a directory called mjproxy
- Change into the newly extracted directory
- Download the mjproxy source
- Extract it
>tar -xzvf mjproxy.c.tgz
- Compile the source code into a program
>sudo gcc -o mjproxy md5.c mjproxy.c
- Give everyone full permissions
>sudo chmod 777 mjproxy
- Make the program file executable
>sudo chmod +x mjproxy
- Run the following to start the proxy authentication process and leave it running
>./mjproxy 0.0.0.0 5070 proxy01.<yourcity>
.talk4free.com 5070< MagicjackPassword>
Now that we have our MD5 proxy running, we are ready to setup our SIP softphone! For this I used Twinkle which is available in the repositories. To get it working, do the following:
- Install Twinkle
>sudo apt-get install twinkle
- After installation open Twinkle from Menu > Internet > Twinkle
- Setup your account information with the following:
- Your name: Whatever you want
- Username: Your Magicjack Username (E<YourPhoneNumber>01)
- Domain: 127.0.0.1:5070
- Realm: Blank
- Authentication Name: Your Magicjack Username (E<YourPhoneNumber>01)
- Password: Your Magicjack Password
- AKA OP: Leave Deafault
- AKA AMF: Leave Default
- Click OK and you are ready to go!
Now you can make Magicjack calls from your Linux machine! Make sure you have a good USB microphone headset though. When I tried it on my laptop with the internal mic there were a lot of echoes.
The cool part of this setup is that you could configure mjproxy to run as a service by adding it to init.d… Hmmmm, with that you could configure say…. Asterisk or 3CX to authenticate with Magicjack, and share out that number with a bunch of users using extensions.