Theos. Originally developed by Dhowett, Adam Demasi (KIRB) took over his work and added a lot of new features as Dhwoett went to Microsoft and no longer had time to maintain it. So, the installation method in the previous book "IOS App Reverse Engineering" is no longer applicable, now let's talk about the latest installation method.
ox.01 Installing dpkg and Ldid
Dpkg is a Debian package.
Ldid is a binary authorization management software developed by Jailbreak Huang Saurik that can generate authorization for SHA1 operations on jailbreak applications, allowing packages to be executed on iphone.
Here we use homebrew to install them. Homebrew is a ruby-based package Manager on a Mac that can be understood to be similar to Yum, Apt, and Pecman.
Installing the above software with homebrew requires only a sentence:
brew install dpkg ldid
If you don't have homebrew installed, it's just a word to install it (you might need a VPN environment, and GitHub's recent instability is also known):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
ox.02 installation Thoes
Before we installed the Theos in/opt/theos, we are still installing it in this folder.
sudo Git clone --recursive https://github.com/theos/theos.git /opt/theos
Then change the/opt/theos authority to your own:
sudo chown $(id -u):$(id -g) /opt/theos
This last step is also important, to add the Theos execution path to the environment variables, add the two sentences in the ~./bash_profile:
Export Theos=/opt/theos
Export path=/opt/theos/bin/: $PATH
Eventually the ~./bash_profile President:
1.png697x562 75.1 KB
ox.03 test whether the installation was successful
CD to any executable directory,
Perform:
nic.pl
New Instance Creator has been installed successfully since it was executed.
0x.04 upgrade from the old Theos to the latest version
Directly on the code:
git submodule update –recursive
Remember to join the recursive (-recursive) option. Is it much simpler than the original?
0x.05 precautions
-
If there is no bash_profile in the ~ directory, then you can create a new one, Mac os belongs to Unix-like system, the ~./bash_profile function is the same as Linux.
-
Old version of the installation method, there is such a sentence: sudo/opt/theos/bin/bootstrap.sh substrate, the new version has been removed bootstrap boot, skip directly.
Reference Links:
Https://github.com/theos/theos/wiki/Installation
Original link: http://bbs.iosre.com/t/theos/4928
ios-Reverse Hand Install the latest version Theos