Hack the iPhone





[ DEPRECATED ]

Step 3 for hacking the iPhone:
Setting up Fugu and changing the passwords for SSH

(intel / PPC Mac)

What I used: OS X (10.4.10 & 10.5)

iPhone


Once you have installed an SSH server on the iPhone (which you did with AppSnapp Installer back in the Step 2 tutorial), you need a good way to communicate with that server. The Terminal, while useful, is limiting. Perhaps Homer Simpson said it best, years ago: Fugu me! I'll show you how to install Fugu, which is going to make hacking the iPhone a lot easier.

Fugu is a graphical frontend to Mac OS X's command-line Secure File Transfer application (SFTP). SFTP is similar to FTP, but unlike FTP, the entire session is encrypted, meaning no passwords are sent in cleartext form, and is thus much less vulnerable to third-party interception.

Then I will show you how easy it is to change the passwords for the SSH accounts "root" and "mobile". It's just not safe to run around with cell phone hackers knowing the default passwords to your iPhone.







Step 1.

On your iPhone, press Home, "Settings", "General", "Auto-Lock", then select "Never". This will keep the iPhone from disconnecting the SSH connection while using Fugu. Don't forget to set this back to 1 minute when you are done or your screen will never shut off, and your battery will run down very quickly.

iPhone




Step 2.

Before we can continue, we need to know what IP address is being assigned to your iPhone by your router. Press the Home button, Settings, Wi-Fi, select the name of your network by pressing the blue arrow on the right, then look where it says "IP Address". On my iPhone it is 10.0.1.12.

iPhone    iPhone







Step 3.

Download Fugu here.   Note: many FTP programs can be used to make this connection as well. I know Transmit is another popular application used to connect to the iPhone.

iPhone



Launch Fugu. In the Connect to: field enter your iPhone's IP. In the Username field enter root. In the Port: field enter 22. In the Directory: field enter /. Click "Connect". It could take up to 1 minute to login to Fugu on your first attempt.

iPhone








You will get this pop up. Just click "Continue".

iPhone



At this screen enter your password. If you haven't already changed the password, then the default one is "dottie". Some have reported that their default root account password is "alpine". Enter your password and click "Authenticate".

iPhone



You should be at this screen. Your computer is on the left, your iPhone on the right. You can now transfer files between the two, install programs, make folders, set permissions, and delete anything you want with Fugu. I'll cover more of its functions as I need them in other tutorials. This is a drag and drop method of transferring files which is nice.

iPhone



Step 4.

Download the iNdependence 1.3 Beta program here. This program is updated frequently so the newest version should work for you. Plug your iPhone into your Mac. Close iTunes if it opens. Launch iNdependence and click the SSH tab at the top, then click the Change Password. button.

iPhone



In the drop down box that appears, enter root in the Account name field. Then enter your new password and confirm it. Click OK.

iPhone



You should then see a Success message. Click OK.

iPhone



Click the Change Password button again. This time enter mobile in the Account name field. Then enter your password and confirm it. Click OK.

iPhone



You should then see a Success message. Click OK. You are done.


Return to top of page.

Free how to videos on WonderHowTo
Instructional videos, DIY, tutorials & hacks.
Callcentric - internet phone service for your home or office. iPhone
My other cell phone modding sites:   Hack the L7, Hack the V3 and Hack the V3i.   Copyright © 2008, MCJ