Backtrack 5 on IPad/iPhone (VNC)

by Greg0reo in Circuits > Remote Control

44186 Views, 29 Favorites, 0 Comments

Backtrack 5 on IPad/iPhone (VNC)

Screenshot.png
In this tutorial you will learn how to get Backtrack 5 (or whatever version of Backtrack) onto your iDevice. This is tutorial will not require you to jailbreak your iDevice or install the OS on it. The whole setup will run off a VNC server which runs on Backtrack, then you connect your phone and then you can control the OS remotely. I just have a few assumptions before we begin:

MY ASSUMPTIONS:
##############################################################################

-You are running the Backtrack OS on either a Virtual Machine or on a host computer
-You have the OS and your iDevice connected to the same network
-I will not go over how to setup BT because there are a million other tutorials on how to do it

##############################################################################

Setup

index.jpg
res.jpg
Now that we are clear on requirements, we can begin setting up your iDevice....

Setup is very simple, all you will need is your iPhone or your iPad and download an application called "Mocha VNC Lite" (don't worry the app is free!) 

You will also need to know your screen resolution on your iPhone or iPad:

Screen Resolutions:

-iPad Mini: 1024x768
-iPad 2: 1024x768
-iPad(3): 2048x1536
-iPhone: 320x480
-iPhone 4: 640x960
-iPhone 5: 640x1136 

Installing the VNC Server

Screenshot-1.png
Screenshot-10.png
Screenshot-9.png
Screenshot-3.png
To install the VNC server on Backtrack here are the instructions: (There are also helpful photos of each step of installation)

1. Boot up Backtrack
2.Go to the BT bar and go to Internet > Network Manager: and connect to your network 
3.Open up "Terminal"
4. Type in: "apt-get install tightvncserver" (without quotation marks) (WARNING: You may see some errors while it installs, you'll be OK! There is noting to worry about...)
5. Once it is done installing type in: "vncserver" and hit enter
6. You will now see a list of controls for the program! It installed successfully!

Making the Connection

Screenshot-4.png
Screenshot-5.png
Screenshot-7.png
Screenshot-8.png
IMG_1202.PNG
IMG_1204.PNG
IMG_1203.PNG
IMG_1205.PNG
IMG_1206.PNG
IMG_1207.PNG
So, once everything is installed correctly, you will then need to connect your iDevice to the server. I will have instructional photos on how to connect and start up the server and there are photos of the OS actually working with the VNC connection on my iPad:

Booting up the Server:

1. After you have successfully installed the tightvncserver open a new Terminal window
2. In here type as follows:

     vncserver -geometry [your iDevice screen resolution] -httpport [port# (I used 5901)] -name BT5 [or whatever you want to call it!]

3. Then hit ENTER and you will be prompted to put in a password
4. Put in any password (I used: backtrack)
5. It will then ask you to repeat the password, so do as it says
6. Then it will ask you if you want to enter a "view-only" password, just say NO (for the sake of time!)
7.Once you have finished it will say the server is up and there are some log files (don't worry about the log files, we don't need them...)
8.Now move your eyeballs over to your iDevice!

Connecting from your iDevice:

1. Once that's done, open up your VNC app
2. Go to the "Configure" tab
3. Make a new connection by putting in your BT5 IP Address (to obtain it type in "ifconfig" in the terminal, and look at wlan0)
4. Then put in the server port you gave it (5901)
5. Then type in the password you gave the server
6. Don't worry about the rest of the stuff below in the app, we don't need to it!
7. Finally click on the "Connect" tab and tap on your server!
8. In a couple seconds you should be connected! Yay!

Taking It a Step Further!

uyfhjuh.jpg
So, yeah you connected to BT, but the connection will only work from your home network..... So lets say you want to access your OS from anywhere in the world! Just enable port forwarding (again, there are a million tutorials out there to do this) so you can have access from enywhere!

Other than this, YOU ARE DONE! ENJOY!