Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
SecurityCompass edited this page Sep 1, 2011 · 3 revisions

LabServer

Our ExploitMe Android application is a client server app, very similar to a real android application. It will give you the opportunity to hack both an Android and an iPhone app that will look and feel very similar to real applications you may see in your testing.

When you are using our labs, keep this server running in the background so that the device can talk to the server, otherwise you may be wondering why things aren’t quite working!

Setup

Before you begin, you’ll have to do a small bit of setup, we promise it’ll be harmless. Here are a couple things you’ll need: Python - install a version of python, we recommend 2.7 for this server, try installing it to C:\Python27. You’ll also need the following Python modules. We’ve included some helpful instructions.

First make sure you have setuptools installed, it helps easily manage packages. http://pypi.python.org/pypi/setuptools#files

Now we’re going to install the Python 2.7 modules needed to run the server:

After downloading each of the files below, extract them to separate folders and within each folder run “python setup.py install” to install the libraries into your python installation.

Flask http://pypi.python.org/pypi/Flask/0.7.2#downloads

Flask-sqlalchemy http://pypi.python.org/pypi/Flask-SQLAlchemy

Simplejson http://pypi.python.org/pypi/simplejson/#downloads

CherryPy http://download.cherrypy.org/cherrypy/3.2.1/ if you’re on windows, we recommend the .exe installation file. Ok, you’re all done!

LabServer - the server itself can be found on GitHub. If you aren’t sure how to use GitHub, don’t worry, we’ve prepackaged a zip file here with all you’ll need to get started. You should know that the version of LabServer on github will always be the latest and greatest, so you may want to learn how to use git if you want to be bleeding edge.

After downloading the server, launch it:

python app.py

The server will run on port 8080 if you don’t tell it otherwise, but you can use —ssl —port options to configure those settings.

Now that you have the server running, the labs should be able to connect to the server.

Clone this wiki locally