Saturday, November 3, 2012

iphonetunnel-windows +++ an usbmuxd proxy


Last week i came over that post on marcan's blog:
http://marcansoft.com/blog/iphonelinux/usbmuxd/



What is usbmuxd?


As already described on marcan's blog, usbmuxd stands for "USB multiplex daemon".
By connecting to your iDevice, this library provides a powerful gateway to the iPhone's TCP ports and is able to talk over USB to them.


As you may already know, the SSH service (can be installed on iPhone with OpenSSH) uses port 22.
With libusbmuxd this connection can be relayed to any port on the local computer.



Okay, sounds nice, but why are you writing about that?


Recently I had to use the OpenSSH connection on my iPhone, but my iPhone does not always recognize my home WiFi (and disconnects randomly) and my carrier plan does not allow tethering.
The only solution I found was libusbmuxd, but its python client is a pain in the ass! (just the client. the whole library is AWESOME!).

So I wrote a new, c#.NET based client with a (hopefully) nice UI and stuff.


Cool, but why should I ever need this?

Well, having access to SSH on a jailbroken iDevice is never bad.
It can be really useful and saved my iPhone from a complete restore. 

For instance, if your iDevice gets stuck in an endless respring loop after installing an unsupported mobilesubstrate addon (and substrate's safe mode does not trigger), you'll still have SSH access to your device over USB. With this, you gain root access and you are able to remove the recently installed package from Cydia.

This was just an example. With SSH there are loads of more possibilities to do with your iPhone from your PC. (Just google iPhone SSH ;-) )



iPhoneTunnel-win

The interface of the program. For more pictures, scroll down.



Requirements

  • AppleMobileDevice drivers must be installed (they are usually installed with iTunes).
  • dotNet Framework 4


Description

Not much to say, just enables iPhone TCP relaying.
Start the tool, select the desired destination port of your local computer, connect with PuTTY (or another SSH tool) to 127.0.0.1:<port number>, login to your iPhone and have fun!

IMPORTANT: 
Make sure, that there is always only ONE DEVICE connected to your PC. Otherwise this tool may fail and argue like a stupid hooligan.

And as always:
I DO NOT TAKE ANY RESPONSIBILITY THIS SOFTWARE MAY DO TO YOUR EQUIPMENT. USE AT YOUR OWN RISK. (whatever risk there is.)
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.



Download:



Donations:

Donations are always greatly appreciated & support future development. :-)
Just use the paypal donate button on the right side.



Moar Screenshots:


The main program can be minimized.
Port relaying will still be alive. Cool huh?

1 comment:

  1. I have just jail broken my ipodtouch, im am trying to untether it, i tryed using this software to support redsn0w and it failed to work theres something wrong with the program, is it not supported on 64 bit machines?

    ReplyDelete