Worlds first iphone localshell

So today myself and my friend paul at work got the worlds first local shell running on the iphone (that i know of). Anyway, Earlier this week, some people in #iphone-dev got a working cross-compiler toolchain. Thanks nightwatch for that. Then NerveGas compiled python for the iphone as well as apache and ssh (dropbear ssh server). Well, at that point, I had remembered seeing a WebApp used for SSH. This webapp called webshell was written in python... score.



So I spent the last two nights blindly installing python, ssh, and getting webshell to run locally on the iphone. I had to do all that by modifying iphone launchd plist scripts to do all my work, and then reboot the phone to run the script. took foreverrrr. But the end result today was that i can open Safari on the phone, and have a local shell on the iphone. :]



The picture below sucks cause it was taken with another phone here at work. so not the best quality. I'll take a better one later tonight. But the last command in that picture is `uname -a`, and the output is:


"Darwin Anthony's iPhone 9.0.0d1 Darwin Kernel Version 0.0.0d1: Tue May 22 22:15:55 PDT 2007; root:xnu-933.0.0.178.obj~3/RELEASE_ARM_S5L8900XRB iPhone1,1 Darwin"



------------------------------------------------------

Comments

Albert says:
Nerd.

------------------------------------------------------

happyMac says:
nice job. how do you enter commands? is there a way to connect a keyboard at the dock-connector? would be nice… :)

------------------------------------------------------

Mo says:
Is this on 1.0 (1A543a), or 1.0.1 (1C25)? I'm trying to figure out if the build of XNU is actually different between the two!

------------------------------------------------------

Leave a Comment

Name (optional)

Website (optional)




(c) Copyleft 1999-2008, Anthony Lineberry > dtors.org