-
Notifications
You must be signed in to change notification settings - Fork 25
Running DiOS
The following steps are required to run your DiOS system:
- Start the database
- Start the DiOS backend
- Run the DiOS worker
- Connect your iOS devices to workers (you may also connect them before starting the worker)
- Schedule jobs
- Start mongoDB by executing
mongod
. - Start the backend with
python backend.py
Check the output and verify that the backend is up and running by accessing its web interface at http://localhost:8080/.
All Apple IDs need to be added to all analysis devices manually before using DiOS the first time. This can be done by opening the App Store App and authenticating to each account once.
Afterwards, it is required to also add all AppleID passwords to the DiOS database to allow automatic App Store purchases. This can be easily done by executing:
python setAppleIDPassword.py --backend http://<hostname.local>:8080/ --appleId <appleID> --password <password>
Warning: Passwords will be stored in clear text and will be transmitted unencrypted!
Warning: DiOS may automatically make purchases! Use AppleIDs with payment credentials at your own risk!
- Start the worker:
python worker.py --backend http://<hostname.local>:8080/
- replace
<hostname.local>
with the backend hostname or IP - Note: The given hostname/IP must be reachable from all iOS devices!
- Connect iOS devices to the worker
- Install all pilot packages. See [DiOS Pilot] for more detailed information.
- Reboot
- Verify that SBTweak (client compoenent that extends SpringBoard with additional functionality) is running by accessing http://<iphone.local>:8080/status
- Check syslog for executor status
- Install any analyzer modules. See [DiOS Analyzer] for a sample analyzer tweak.
- Schedule analysis jobs using the web-based scheduler
http://<hostname.local>:8080/scheduler.html
or the python-basedscheduler.py
within [DiOS Worker]