start.sh 490 B

12345678910111213141516
  1. echo "CONNECT YOUR DEVICE TO YOUR PC"
  2. read -p "Press enter to continue"
  3. echo "starting php web server"
  4. # check for php
  5. if ! [ -x "$(command -v php)" ]; then
  6. echo 'Error: php is not installed.' >&2
  7. echo 'install php'
  8. sudo apt install php
  9. else
  10. echo "php is installed"
  11. fi
  12. screen -d -m php -S localhost:8000 -t ./source/scripts/phpbypass/
  13. sudo apt-get install screen usbmuxd libimobiledevice6 libimobiledevice-utils
  14. ideviceactivation activate -s http://localhost:8000/activator.php